This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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...


 
jQuery in Action, 2nd edition
 
subject: SAAJ client to simple hello world method