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
  • 63,812
  • 29
  • 142
  • 238
OscarRyz
  • 190,799
  • 110
  • 376
  • 555

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,243
  • 6
  • 26
  • 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,243
  • 6
  • 26
  • 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
  • 19,345
  • 8
  • 53
  • 90
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
  • 181,534
  • 169
  • 555
  • 808
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,321
  • 13
  • 47
  • 55