Skip to Content
Sep 26, 2011 at 07:56 AM

Error when using Variable Transport Binding in Sender Mail Adapter



I am using the Sender Mail Adapter to receive an email, convert the attached tab delimited text file into xml and map it to an IDOC.

I am using PayloadSwapBean and MessageTransformBean in order to do this, and this all works perfectly.

I am now trying to access the Adapter Specific Message Attributes to retrieve the SHeaderFROM attribute from the message and map it to a field in the idoc.

However when I check the "Variable Transport Binding" option in the Advanced tab of the mail adapter, the message no longer goes through to SXMB_MONI and I get the following error in the Java logs.

Transmitting the message to endpoint http://sapserver:53500/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500 : Error during parsing of SOAP header.

Any ideas why this is happening?