cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP service in dual stack PI

former_member474221
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

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.

former_member474221
Participant
0 Kudos

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

engswee
Active Contributor
0 Kudos

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

former_member474221
Participant
0 Kudos

Hi,

Well for example with sender JDBC adapter the records which are read are converted to xml....Same is the case for sender RFC adapter etc...

Is HTTP sender adapter different and does not convert source format to xml ?

hema

engswee
Active Contributor
0 Kudos

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

Answers (0)