使用 axiom 从 WSDL 创建 SOAP 消息
我正在启动一个项目,其中包括向网络服务(已经可用)发送请求并解析响应。我有 WSDL 和 URL 端点。有人有关于如何从那里构建东西的启动教程吗?
我想使用 Axis2 + Axiom 发送服务请求并接收和处理响应。我使用 eclipse 作为开发环境。我一直在寻找如何做到这一点的方法,但没有成功。
任何建议将不胜感激!
I'm a starting a project which consist in sending a request to a web-service (which is already available) and parsing the response. I have the WSDL and URL endpoints. Does anyone have a startup tutorial on how to build something from there?
I would like to use Axis2 + Axiom to send the service request and receive and process the response. I'm using eclipse as dev env. I've been search for a tut on how to do this but with no success.
Any suggestion would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这可能会帮助您
使用 eclipse 创建 Web 服务客户端
this might help you
creating a webservice client using eclipse
我不了解 Axiom,但是 SOAP UI 是一个很棒的工具,可以按照您的方式测试 Web 服务描述。
不知道Eclipse有没有插件。 (它们适用于其他所有事情。)IntelliJ 支持它,所以这就是我使用它的方式。
I don't know about Axiom, but SOAP UI is a terrific tool for testing web services in just the manner you describe.
I don't know if Eclipse has a plug-in for it. (They do for everything else.) IntelliJ supports it, so that's how I use it.
总而言之,我确实找到了 Apache axis2 项目的两个非常有用的链接,很快就可以使用了!
使用 Apache Axis2 调用 Web 服务的深入解释:
http:// /today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html
对于从 WSDL 生成代码:
http://axis.apache.org/axis2/java /core/tools/eclipse/wsdl2java-plugin.html
Well in conclusion, I did find two very useful links for the Apache axis2 project, got it working in no time!
A deep explanation Invoking Web Services using Apache Axis2:
http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html
For code generation from WSDL:
http://axis.apache.org/axis2/java/core/tools/eclipse/wsdl2java-plugin.html