什么是与查询不服务相关的最佳和最全面的SOAP库 [英] Whats the best and most comprehencive SOAP library available with relation to querying not serving

查看:192
本文介绍了什么是与查询不服务相关的最佳和最全面的SOAP库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的google-fu并没有为java中的SOAP库提供非常有希望的结果,主要是用于设置SOAP服务,因为我需要与这样的服务进行通信。

My google-fu is not turning up very promising results for a SOAP library in java, mostly they are for setting up SOAP services where as I need to communicate WITH such a service.

我意识到SOAP只是构建和解析XML的问题,但理想情况下我希望透明地完成对象映射和处理。

I realise that SOAP is just a matter of building and parsing XML but ideally I would like object mapping and handling done transparently.

到目前为止我看了在Apache Axis和X-Fire(现在是Apache CXF)上,两者似乎都更多地处理SOAP服务,而不是实际使用SOAP服务。

So far I have looked at Apache Axis and X-Fire (now Apache CXF) and both seem to deal more with serving SOAP services than actually working with SOAP services.

任何人都可以指导我用于处理SOAP的宝石或具有使用Java处理SOAP服务的个人经验。

Could anyone guide me to any gems for dealing with SOAP or have personal experience dealing with SOAP services in Java.

推荐答案

对于查询SOAP服务,您可以使用 JAX-WS 标准的实现,例如 Project Kenai 或JDK 6 +中包含的默认版本。

For querying a SOAP service, you can use an implementation of the JAX-WS standard such as Project Kenai or the default version included in JDK 6+.

本文展示了设置SOAP的示例使用标准的客户端(而不是服务器)。给定WSDL,您应该能够为客户端这是另一个例子。

This article shows a sample of setting up a SOAP client (as opposed to a server) using the standard. Given a WSDL, you should be able to use standard tools for your client. This is another example.

这篇关于什么是与查询不服务相关的最佳和最全面的SOAP库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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