on 03-14-2015 1:11 PM
Hi
We have PI 7.1 dual stack and a sender http scenario. As we know that http protocol supports transfer of any xml , image / html page etc
1. So if i send any xml / image / etc will it get converted to xml by the http adapter seervice that is part of integration engine OR do I need to ask the http client to send only xml ( in the sender data type format )
2. does sender http service allow GET or POST transfer by default ??
hema
Hi Hema,
Please find below comments as per my knowledge:
1. You can send any type of data to PI but you need transformation mapping (Ex. Java Mapping etc.) if you want to convert it to some other structure. If you need to send as it is to Receiver system, you can avoid ESR part.
Check one example: Binary Conversion in XI - Java Mapping - Code Gallery - SCN Wiki
2. Plain HTTP Adapter of PI 7.1 does not support GET.
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thanks for the reply.
so what will happen if the sender system sends a image over http to PI....will the sender HTTP ( abap or JAVA adapter ) be able to convert the image to XML ( because the task of sender adapter is to covert from source format to xml )
or will it pass the image without any conversion and then the conversion has to be done in mapping ??
hema
Hi Hema
There is no automatic conversion to XML in the sender HTTP adapter. Your statement "because the task of the sender adapter is to convert from source format to xml" is incorrect.
If you want non-XML data to be converted to XML data, you have to use adapter module in the sender adapter or custom mapping.
Rgds
Eng Swee
Hi
Different adapter behaves differently - not all performs XML conversion. For HTTP sender adapter, it extracts the HTTP request to the main payload and attachments. It does not convert the content automatically to XML. You can check out what is available for the HTTP adapter in the links below.
Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
HTTP Requests Supported by the Java HTTP Adapter - Advanced Adapter Engine - SAP Library
Rgds
Eng Swee
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.