0 Replies Latest reply on Oct 10, 2006 4:31 AM by Srinivas Desirazu

    wsdlLocation and jaxrpc-mapping.xml

    Srinivas Desirazu Newbie

      We are building some webservices using JBOSS-WS. We have pre-existing
      wsdl files which we specify using wsdlLocation attribute on
      @WebService annotation.

      e.g

      @WebService(wsdlLocation="META-INF/wsdl/hello.wsdl")

      However on deployment of the webservice we see the following error
      messages

      17:18:15,832 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http:
      //stockroom.services.isis.fxa.com.au/jaws}hello
      17:18:15,832 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http:
      //stockroom.services.isis.fxa.com.au/jaws}helloResponse
      17:18:15,848 WARN [SchemaBindingBuilder] Type definition not found in schema: {
      http://stockroom.services.isis.fxa.com.au/jaws}Sys21StockroomDTO
      17:18:15,848 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http:
      //stockroom.services.isis.fxa.com.au/jaws}Sys21StockroomDTO


      If we do not specify a wsdlLocation and let the deployer generate the WSDL the error messages disappear, suggesting that the deployer creates a mapping at runtime.

      Should one have to deploy jaxrpc-mapping.xml files when deploying
      webservices that use a pre-existing WSDL ?

      Is there an annotation or attribute that we can specify in our Java file to point to a jaxrpc-mapping.xml file ?

      Does jaxrpc-mapping.xml get used when deploying a web service that has
      a wsdlLocation attribute specified.


      Thanks for any help.