简体   繁体   English

非HTTP协议上的SOAP

[英]SOAP over non-HTTP protocol

I just wondered if there are any libraries in Java or any other language implementing SOAP over protocol that is not HTTP? 我只是想知道是否有Java或其他任何语言的库通过非HTTP协议实现SOAP? I've heard that some project had implemented SOAP over SMTP. 我听说有些项目已经在SMTP上实现了SOAP。 Are there any other experiences? 还有其他经验吗?

This may be a good starting point . 这可能是一个很好的起点 I know it's from 2003 but seems to be dead on the mark in regards to what you're asking for. 我知道那是从2003年开始的,但是就您所要的东西而言似乎已经死了。

One of the main features of SOAP 1.2 was the removal of the dependency on HTTP, allowing other transports to be used. SOAP 1.2的主要功能之一是消除了对HTTP的依赖,从而允许使用其他传输方式。

As for java implementations, Spring WebServices supports SOAP 1.2 over HTTP, JMS and SMTP. 对于Java实现, Spring WebServices支持基于HTTP,JMS和SMTP的SOAP 1.2。 See section 5.3 of the docs . 参见文档的 5.3节。

You should use Apache CXF with Apache Camel as transport. 您应该将Apache CXFApache Camel一起使用作为传输。 Such approach will give you good abstraction from transport layer. 这种方法将为您提供良好的传输层抽象。 For example, my app allow soap calls via netty/TCP, JMS queue, jetty/HTTP and even netty/udp. 例如,我的应用程序允许通过netty / TCP,JMS队列,jetty / HTTP甚至netty / udp进行肥皂呼叫。

Axis 1.4 has transport handlers not just for HTTP, but also for JMS and SMTP/POP3 . Axis 1.4不仅具有用于HTTP的传输处理程序,还具有针对JMSSMTP / POP3的传输处理程序。 If you look carefully, the Mail protocol is not recommended for production. 如果仔细看,不建议将Mail协议用于生产。

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

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