cancel
Showing results for 
Search instead for 
Did you mean: 

ASMA HTTP Header fields in HTTP_AAE Receiver Adapter

0 Kudos

HI,

Do anyone know if the ASMA HTTP Header fields are supported in Receiver HHTP_AAE Adapter in PI 7.31 , SPS12 ?

Regards,

Senthil

Accepted Solutions (0)

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Hi Senthil

I think it should be, check out the online help below.

Configuring the Java HTTP Adapter on the Receiver Channel - Advanced Adapter Engine - SAP Library

Rgds

Eng Swee

0 Kudos

Hi Eng Swee,

But the SAP note :1742088 states that ASMA URL settings are currently not supported in receiver HTTP_AAE.

So, just thinking if there is any other note to confirm that the ASMA header settings are also not supported.

  • Q9: Limitations in PI HTTP_AAE adapter
  • A : Receiver Side - Currently Java HTTP adapter(HTTP_AAE) is not designed to support the dynamic URL configuration via ASMA(Adapter Specific Message Attributes) properties.

I have a scenario, where a module is called on HTTP_AAE receiver adapter to fetch the cookies from a https link.

new MessagePropertyKey("HeaderFieldOne", "http://sap.com/xi/XI/System/HTTP_AAE"); 

cookies = conn1.getHeaderField"Set-Cookie");

principalData.setMessageProperty(HeaderFieldOne, cookies );

I need to use this cookie to make a https call to another url from the comm channel.

Can you please let me know as to what should be passed to Field1(HeaderFieldOne) field ?

Regards,

Senthil

engswee
Active Contributor
0 Kudos

Hi Senthil

We had an interesting conversation over on this thread about the HTTP_AAE adapter recently. There is a note 1873415 mentioned there that does mention that it is supported (and now more than 6 parameters). From the note, it looks like it is before 7.31 SP12, so my guess is that it should be supported for your case.

Not sure why note 1742088 does not reflect that... but welcome to the crazy world of SAP Notes!

Rgds

Eng Swee