java webservice client
Asked Answered
M

5

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?

Millicentmillie answered 16/10, 2008 at 16:45 Comment(2)
@Matt, try asking Google about "stfw"....Stationmaster
@Thorbjørn Ravn Andersen....lmao...how ironic!Exaggeration
K
1

How about using Axis2?

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

Here is another more descriptive guide

Knotts answered 16/10, 2008 at 16:53 Comment(2)
Is not Axis2 a webservice - "server"? ... I'll take a look at the quick start you sent. :)Millicentmillie
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 :)Verticillaster
K
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.

Knotts answered 16/10, 2008 at 16:56 Comment(0)
K
1

How about using Axis2?

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

Here is another more descriptive guide

Knotts answered 16/10, 2008 at 16:53 Comment(2)
Is not Axis2 a webservice - "server"? ... I'll take a look at the quick start you sent. :)Millicentmillie
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 :)Verticillaster
R
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!

Rebuttal answered 16/10, 2008 at 22:25 Comment(0)
P
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.

Pacorro answered 16/10, 2008 at 16:59 Comment(0)
A
0

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

Also, you can program using the SAAJ.

Amoebocyte answered 27/8, 2010 at 22:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.