一个简单的 java SOAP 客户端 [英] A simple java SOAP client

查看:34
本文介绍了一个简单的 java SOAP 客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Web 服务的新手,我一直在努力在 Internet 上找到一个简单的 Java SOAP 客户端程序.
我想要做的就是发送一条 SOAP 消息并收到一些响应.
有一个提供免费网络服务的网站.

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

您输入国家/地区名称,它会为您提供该国家/地区的 ISD 代码.就这么简单.

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

我想将国家/地区名称发送到 Web 服务并仅使用 Java 而不使用任何外部 jar 来取回其 ISD 代码.

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

推荐答案

尝试 SoapUI - 它非常棒而且几乎涵盖了使用网络服务工作的所有方面..

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

这篇关于一个简单的 java SOAP 客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆