1 Reply Latest reply on Jan 13, 2008 5:52 PM by asoldano

    JBossWS JAX-WS ?wsdl doesnt return a wsdl

    bradmarshall

      When I enter:

      http://www.mydomain.com:8080/mycontext/services/MyWebService?wsdl

      for a JAX-RPC Web service into a browser, the service returns it's wsdl to the browser. This doesn't happen when I do the same for a JAX-WS Web service.

      When I enter:
      http://www.mydomain.com:8080/mycontext/services/MyService?wsdl&resource=MyService_PortType33461.wsdl

      I get this for my new service:
      - <definitions name="MyServiceImplService" targetNamespace="http://MyService.webservice.xyz.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:co.xyz:qikreq" xmlns:ns10="urn:co.xyz:cp" xmlns:ns11="urn:co.xyz:fin" xmlns:ns12="urn:co.xyz:fn" xmlns:ns13="urn:co.xyz:ci" xmlns:ns14="urn:co.xyz:cis" xmlns:ns15="http://www.ocse.gov/jit/wsdl/MyService.wsdl" xmlns:ns2="urn:co.xyz:cse" xmlns:ns3="http://www.ocse.gov/jit/wsdl/MyService.xsd" xmlns:ns4="urn:co.xyz:qikrsp" xmlns:ns5="urn:co.xyz:idy" xmlns:ns6="urn:co.xyz:csact" xmlns:ns7="urn:co.xyz:ca" xmlns:ns8="urn:co.xyz:chdr" xmlns:ns9="urn:co.xyz:cspt" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://MyService.webservice.xyz.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <import location="http://www.mydomain.com:8080/mycontext/services/MyService?wsdl&resource=MyService_PortType27171.wsdl" namespace="http://www.xyz.com/MyService.wsdl" />
      - <service name="MyServiceImplService">
      - <port binding="ns15:MyServiceBinding" name="MyServiceImplPort">
       <soap:address location="http://www.mydomain.com:8080/mycontext/services/MyService" />
       </port>
       </service>
       </definitions>

      And when I enter:
      http://www.mydomain.com:8080/quickca/services/MyService?wsdl&resource=MyService_PortType33461.wsdl
      I do get the WSDL.

      I'am looking for the JAX-WS or JBoss-WS specification which describes this behavior. Can anyone help me?