简体   繁体   中英

java webservice client

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?

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.

How about using Axis2 ?

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

Here is another more descriptive guide

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!

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.

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

Also, you can program using the SAAJ.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM