Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

access method from wsdl file

 
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">
<soap:operation 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?
 
Saloon Keeper
Posts: 6508
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic