Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access method from wsdl file

 
Kannan Baludaiyan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<definitions targetnamespace="http://simple/" name="WebServiceImplService">
<types><xsd:schema>
<xsd:import namespace="http://simple/" schemalocation="http://192.168.8.103:8020/SOAP/hello?xsd=1">
<message name="List">
<message name="ListResponse">
<part name="return" type="tns:arrayList">
<porttype name="WebServiceInterface">
<operation name="List"><input wsam:Action="http://simple/WebServiceInterface/ListRequest" message="tns:List"/>
<binding name="WebServiceImplPortBinding" type="tns:WebServiceInterface">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc">
<operation name="List">
<soapperation soapaction=""><input><soap:body use="literal" namespace="http://simple/"></input>
<soap:body use="literal" namespace="http://simple/">
<service name="WebServiceImplService">
<port name="WebServiceImplPort" binding="tns:WebServiceImplPortBinding">
<soap:address location="http://192.168.8.103:8020/SOAP/hello">
</port>
</service>
</definitions>

How to get the methods and its functions from wsdl file in the client class by using jax-ws?
 
Tim Moores
Bartender
Posts: 3137
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All major JAX-WS implementations come with command line tools to create Java client code given A WSDL. Check the documentation of whichever implementation you're using; it might be called wsdl2java or something like that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic