[jboss-user] [JBossWS] - Re: JBossWS JAX-WS ?wsdl doesnt return a wsdl

alessio.soldano@jboss.com do-not-reply at jboss.com
Sun Jan 13 17:52:58 EST 2008


"BradleyMarshall" wrote : 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.wsdlI do get the WSDL.
  | 

Maybe you would like to write http://www.mydomain.com:8080/mycontext/services/MyService?wsdl&resource=MyService_PortType27171.wsdl .
Anyway, the first one is simple a wsdl having a wsdl import. You might (for example) get this when you use a contract-first development strategy. This is 100% legal anyway, see http://www.w3.org/TR/wsdl

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119472#4119472

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119472



More information about the jboss-user mailing list