This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes SAAJ client to simple hello world method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SAAJ client to simple hello world method" Watch "SAAJ client to simple hello world method" New topic
Author

SAAJ client to simple hello world method

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
I am just trying to put together a few SAAJ API's to make a call to a simple hello world service. I am half way there but stuck and would appreciate any help.

Here is my WSDL:


And here is my client code:


Obviously I need to full out the SOAP body, but I am confused as to what API's I need to do this so there is a simple call to the sayHello() service which takes a string and returns a string.

Any help appreciated.

Thanks.

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Answer to this:

You add the following code to the...


 
wood burning stoves
 
subject: SAAJ client to simple hello world method
 
Similar Threads
Web service handler could not registered/called in client web service
WSDL with overloaded Operations
SOAP Fault for SOAP Action property
Create WEbService from WSDL ? Is it possible JAX-WS
Exception: java.rmi.RemoteException: Call invocation failed;