[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1008) @WebService wsdlLocation doesn't locate wsdl properly

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Fri Jul 6 07:40:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBWS-1008?page=comments#action_12368018 ] 
            
Darran Lofthouse commented on JBWS-1008:
----------------------------------------

1 - This issue was regarding JAX-WS / annotated endpoints, your deployment is JAX-RPC based so not related to this issue.

2 - This issue was raised against JBossWS 1.0.1 which is a very old version, there have also been three releases of JBossWS since JBossWS 1.0.3.SP1 which is the version included with JBossAS 4.0.5.GA.

Please upgrade to the latest version of JBossWS and if you still have problems please raise this on the JBossWS user forums, if appropriate you may then be asked to create an issue against JAX-RPC.



> @WebService wsdlLocation doesn't locate wsdl properly
> -----------------------------------------------------
>
>                 Key: JBWS-1008
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1008
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-jaxws
>    Affects Versions:  jbossws-1.0.1
>            Reporter: Jason T. Greene
>         Assigned To: Darran Lofthouse
>         Attachments: ws.war
>
>
> I am attempting to build a JSR-181 POJO using an existing WSDL.
> I specify wsdlLocation in my annotation:
> @WebService(wsdlLocation="META-INF/wsdl/MyService.wsdl")
> I package everything as a WAR and on deployment I get this:
> 10:33:03,695 ERROR [MainDeployer] Could not start deployment: file:/C:/dev/jboss-4.0.4.GA/server/all/deploy/MyApp.war
> org.jboss.ws.WSException: Invalid wsdlFile 'META-INF/wsdl/MyService.wsdl', expected in: WEB-INF/wsdl/
> at org.jboss.ws.server.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:323)
> Moving my WSDL to the WEB-INF directory also fails:
> 10:25:27,140 ERROR [MainDeployer] Could not create deployment: file:/C:/dev/jboss-4.0.4.GA/server/all/deploy/MyApp.war
> java.lang.IllegalArgumentException: Cannot find wsdl in deployment: META-INF/wsdl/MyService.wsdl
> at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:270)
> Has anyone else been able to get this to work?
> I am using jbossws-1.0.1. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list