A simple java SOAP client

2019-02-06 19:01发布

问题:

I'm new to web services and I've been breaking my head trying to find a simple java SOAP client program on the Internet.
All I want to do is send a SOAP message and receive back some response.
There is a website which offers free web-services.

http://www.webservicex.net/ws/WSDetails.aspx?WSID=17&CATID=7

You feed in the country name and it gives you the country's ISD code. It's as simple as that.

I want to send the country name to the web service and get back its ISD code using only Javaand without any external jars.

回答1:

Try SoapUI - it's quite awesome and covers almost all aspects of working w/ web-services..



回答2:

If you're looking for a tool to test web-services, most people I know use Soap-UI: http://www.soapui.org/