Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SAAJ client to simple hello world method

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer to this:

You add the following code to the...


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic