File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes SOAP with other protocols other than HTTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "SOAP with other protocols other than HTTP" Watch "SOAP with other protocols other than HTTP" New topic

SOAP with other protocols other than HTTP

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1850

Can we use SOAP protocol with protocols other than HTTP like FTP,TCP/IP,etc.

Krishna Srinivasan
OCAJP 7/8 Exam, 400+ OCPJP Mock Questions
cheenu Dev
Ranch Hand

Joined: Nov 13, 2005
Posts: 276
i think..currently..they dont have facilities for it.
might be in the future..
thats..upto my knowledge..might be wrong too..
Anuj Singhal

Joined: Oct 17, 2003
Posts: 25
Basic profile limits the underlying transport protocol to HTTP.
See this link:-

Although SOAP specification allows other protocol like SMTP etc.

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1850

But in the RMH book it mentioned that SOAP can be used with any type of protocols. I think it is well supported with only HTTP protocol.
Chintan Rajyaguru
Ranch Hand

Joined: Aug 19, 2001
Posts: 341
Yes. You can use SOAP with other protocols. For example, you can use SOAP over JMS in IBM WebSphere server. However, at this point, the basic profile only supports SOAP over http. So, if your application uses SOAP over (say) JMS, it won't be interoperable. In other words, you can use other protocols for internal communication between your applictaions but for external exposure, you should always use soap over http to remain interoperable.

C - Coming soon!
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
HTTP is a transport-level protocols and SOAP is a messaging-layer (communication) protocol. SOAP can be used in combination with a variety of transport protocols - including SMTP, JMS, and other protocols in addition to HTTP - and does not depend on any particular network protocol. Although HTTP is a widely used protocol for SOAP, SOAP toolkit vendors have also started providing support for other protocols, like SMTP. SOAP messages may travel across several different transport-layer protocols before they reach their ultimate destination.
Consider Paul's rocket mass heater.
subject: SOAP with other protocols other than HTTP
jQuery in Action, 3rd edition