cancel
Showing results for 
Search instead for 
Did you mean: 

Difference b/w SOAP and HTTP

Former Member
0 Kudos

Hi all,

Can anyone please tell me the difference between SOAP and HTTP protocol.

If I have an external system which supports both SOAP and HTTP , then which will be the better adapter to use .

what will be the difference in the URL which will be provided to the external system in case of sender SOAP/HTTP.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

>>Can anyone please tell me the difference between SOAP and HTTP protocol.

HTTP protocol consist of HTTP header and HTTP body. If http body consist of pure xml document(ur bussines data) only then it is referred as Plain HTTP however in case of SOAP format the HTTP Body contains "SOAP header with soap body" (collectively know as SOAP envelope, it support attachments also) .

HTTP URL:

http://host:port/sap/xi/adapter_plain?service=BS_A&namepsace=http_test&interface=SI_A

SOAP URL:

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

monicabhosale
Active Participant
0 Kudos

Hello,

Use of HTTP: communication between website and XI, for example you are sending information from webpage forms via post method.

Use of SOAP: With many sophisticated web application and services and even between two XI system.

HTTP Adatpter Vs Soap Adapter

Difference between SOAP and Http Sender

Plain HTTP Adapter vs SOAP Adapter with regards to SSL

Difference between SOAP and HTTP:

SOAP in background uses XML + http

you expose outbound interface as a webservice and create a SOAP request to access it.

you send http request to ping a integration scenario directly at the integration engine

You can use HTTP adapter for interacting with HTML pages.

SOAP adapter is used for exposing an interface as Web service.

Thanks,

Monica

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Only difference is in message structure. Soap uses HTTP as transport protocol. Soap supports web service security features such as Reliable messaging, assertion and so and http wont. REST webservice (light form) supports HTTP. Webservices uses soap message protocol and http transport protocol. If your requirement is so simple or complex and want to consume or host webservices, use soap protocol. If the requirement is to post message on application server or simple webservice(dont require soap header and more) go for http.