简体   繁体   English

一个简单的Java SOAP客户端

[英]A simple java SOAP client

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. 我是Web服务的新手,我一直在设法在Internet上找到一个简单的Java SOAP客户端程序。
All I want to do is send a SOAP message and receive back some response. 我要做的就是发送SOAP消息并收到一些响应。
There is a website which offers free web-services. 有一个提供免费网络服务的网站。

http://www.webservicex.net/ws/WSDetails.aspx?WSID=17&CATID=7 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. 您输入国家名称,它会为您提供国家的ISD代码。 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. 我想将国家/地区名称发送到Web服务,并仅使用Java而不使用任何外部jar来获取其ISD代码。

尝试SoapUI-非常棒,涵盖了几乎所有使用Web服务的方面。

如果您正在寻找一种测试Web服务的工具,我认识的大多数人都会使用Soap-UI: http : //www.soapui.org/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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