Skip to Content
author's profile photo Former Member
Former Member

SOAP and HTTP adapter

Hi,

I want to clear my basic queries on SOAP and HTTP adapters.

1. What is the difference between SOAP and HTTP adapters, and in which scenario do we choose what.

2. My scenario is HTTP(HTTPs without client authentication) to File scenario, in my sender HTTP url which port is to be considered, HTTP port or PI port?

PI version is 7.0

3. Also in the url-query string do we have to replace special characters with escape characters?

If yes why do we have to do this?

Please help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 09, 2014 at 08:00 AM

    Hi Riya,

    1. What is the difference between SOAP and HTTP adapters, and in which scenario do we choose what.

    The main difference is that SOAP adapter has more tags to define parts of a XML. SOAP is a message protocol that generally uses HTTP like transport protocol, in other way you can see it like evolutioned http. SOAP is a wide-used protocol, if you want to consume/expose WSDL you should use SOAP adapter. One nice analogy, HTTP is the truck which carry the package (SOAP), http itself has sense to be use when you dont want an extra tags and you want a simpler communication, however you want a nice package to assure and track better your things you would use a SOAP adapter.

    2. My scenario is HTTP(HTTPs without client authentication) to File scenario, in my sender HTTP url which port is to be considered, HTTP port or PI port?

    The PI port opened in the PI ICM for HTTP connections. Go to to ICM transaction in the abap side and there you go to the ports to find the http port opened.

    3. Also in the url-query string do we have to replace special characters with escape characters?

    If yes why do we have to do this?

    Because not all characters all allowed in a URL because they have a another meaning for http communication definition or because they weren´t stipulated when the URL definition was determinate. The question is that if you want avoid this you would define characters without this problem, in Spain for example we have the Ñ, in my name too 😀, and i always try to omit when i define a URL parameter.

    Hope this helps.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2014 at 08:19 AM

    Hi Riya,

    1. What is the difference between SOAP and HTTP adapters, and in which scenario do we choose what?

    Just finished this diagram, it's been a while since I've last used PI 7.0. So if you find anything wrong, please do not hesitate to correct me 😊

    Some comments:

    1. Under the message protocol, SOAP adapter uses a SOAP Envelope for its message while HTTP adapter just puts the message in the HTTP Body.

    2. NA is not supported

    3. SOAP Sender attachments are only retained when sent to the adapter engine, propose URL will not work with attachments

    4. PI 7.0 can only manipulate attachments via adapter module

    The greatest advantage of the SOAP adapter is in the use of adapter modules and it can also run in nosoap mode.

    2. My scenario is HTTP(HTTPs without client authentication) to File scenario, in my sender HTTP url which port is to be considered, HTTP port or PI port?

    The port that will be used can be found in SMICM -> Services (Shift + F1). Usually, it is in the form 5xx00 where xx is the instance number.

    3. Also in the url-query string do we have to replace special characters with escape characters?

    Answered by @Iñaki Vila

    Hope this helps,

    Mark


    test.JPG (31.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.