views:

344

answers:

5

Hello.

I have stfw but I cannot find a simple / standalone way to create a webservice client in java.

Does anyone have a link/sample into this?

Thank you.

+1  A: 

How about using Axis2?

Just follow the quickstart guide and you should be on your way.

Here is another more descriptive guide

Kristian
Is not Axis2 a webservice - "server"? ... I'll take a look at the quick start you sent. :)
OscarRyz
No, Axis does both clients and server side webservice generation.Remember to use the ANT wsdl2java task rather than messing about with the Wsdl2Java command line prompt :)
JeeBee
Great.. that's what I'm reading now.
OscarRyz
+2  A: 

soapUI is a great tool to test a Web Service. It is really simple to either create a server stub to test your client or just send client request to any Web Service.

Kristian
Thanks that is a great tool - saved me some time.
unintentionally left blank
A: 

I presume you're referring to a SOAP web service? For a RESTful web service in which requests are submitted via HTTP GET, you really don't need anything more than a web browser.

Don
A: 

One of the most simple ways is to use apache cxf. There is a good documentation to create a client here. You will need java 5, not 1.4!

Arne Burmeister
A: 

You can use the AXIS WSDL2JAVA to generate the client stubs from the WSDL.

Also, you can program using the SAAJ.

Java Guy