aspose file tools
The moose likes Web Services and the fly likes SAAJ client to simple hello world method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply 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: 299
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: 299
Answer to this:

You add the following code to the...


 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: SAAJ client to simple hello world method
 
Similar Threads
WSDL with overloaded Operations
SOAP Fault for SOAP Action property
Create WEbService from WSDL ? Is it possible JAX-WS
Web service handler could not registered/called in client web service
Exception: java.rmi.RemoteException: Call invocation failed;