java webservice client

筅森魡賤 提交于 2019-12-01 11:54:32

问题


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?


回答1:


How about using Axis2?

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

Here is another more descriptive guide




回答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.




回答3:


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!




回答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.




回答5:


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

Also, you can program using the SAAJ.



来源:https://stackoverflow.com/questions/209385/java-webservice-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!