1

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?

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
OscarRyz
  • 196,001
  • 113
  • 385
  • 569

5 Answers5

2

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
  • 6,443
  • 6
  • 27
  • 29
1

How about using Axis2?

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

Here is another more descriptive guide

Kristian
  • 6,443
  • 6
  • 27
  • 29
  • Is not Axis2 a webservice - "server"? ... I'll take a look at the quick start you sent. :) – OscarRyz Oct 16 '08 at 16:57
  • 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 Oct 16 '08 at 17:04
1

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
  • 20,046
  • 8
  • 53
  • 94
0

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.

Dónal
  • 185,044
  • 174
  • 569
  • 824
0

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

Also, you can program using the SAAJ.

Java Guy
  • 3,391
  • 14
  • 49
  • 55