on 01-09-2014 7:00 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.