1 Reply Latest reply on Nov 5, 2004 10:21 AM by Andre Simon

    deployment problem

    msakho Newbie

      I'm simply trying to deploy my webservice app.
      I'm getting the error message below.
      Can someone tells what could be the reason of such a message.
      It seems the server can't see the jobprovider file...

      14:37:24,247 ERROR [ServiceDeployer] Cannot startup webservice for: sampleWebservice.war
      java.lang.IllegalArgumentException: Cannot find wsdl in deployment: WEB-INF/wsdl/jobprovider
      at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.getWsdlDefinition(WebserviceDescriptionMetaData.java:201)
      at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.java:224)
      at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:181)
      at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

        • 1. Re: deployment problem
          Andre Simon Newbie

          Hi

          Have you create a WSDL File with the JAVA2WSDL Too
          coming with Jboss or another WSDL Generator?

          If so you have to copy the file under

          /META-INF/wsdl/someServiceName.wsdl

          If not you had to do this


          and you must specify this WSDL File in your
          webservice.xml

          <webservice-description>
           <webservice-description-name>someService</webservice-description-name>
           <wsdl-file>META-INF/wsdl/someServiceName.wsdl</wsdl-file>
           <jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>


          bye