jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes web service client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service client" Watch "web service client" New topic

web service client

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
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

Joined: Sep 21, 2011
Posts: 2413
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
subject: web service client
jQuery in Action, 3rd edition