File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service client

 
Kumar Gaurav
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have to to act as webservice client and have to invoke method exposed by web service.
I know the wsdl url . Also in wsdl

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />

that is it uses rpc-encoded style.
Also it requires BASIC authentication for which i know the userid and password.

Can anyone please suggest me how to generate client and use this web service using the client.
My application will be deployed in Jboss.
I have to invoke web service from a java class

Please let me know if anything else i need to share.
 
Tim Moores
Bartender
Pie
Posts: 2495
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All major SOAP stacks have tools for creating client code; check the documentation of whichever one you intend to use (Axis2, JAX-WS RI, etc.). The tool could be called wsdl2java or something like that.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic