A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
web service client
Joined: Apr 08, 2008
Nov 08, 2011 03:38:57
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
I have to invoke web service from a
Please let me know if anything else i need to share.
Joined: Sep 21, 2011
Nov 08, 2011 03:44:12
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.
It is sorta covered in the
JavaRanch Style Guide
subject: web service client
How to generate a correct WSDL for a service with overloaded methods ?
problem with Axis1.4 web service
RMI to SOAP conversion
Web service client implementation (Connection refused error)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014