cancel
Showing results for 
Search instead for 
Did you mean: 

Mail-Adapter Integration Engine Error during parsing of SOAP header

former_member301120
Active Participant
0 Kudos
94

Hello,

we use XI with the mail adapter. Most of the messages are processed correctly. But sometimes I get following errors in the J2EE-logviewer:

Transmitting the message to endpoint http://<xi-host>:<http-port>/sap/xi/engine

?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.a

pi.RecoverableException: Received HTTP response code 500 : Error during

parsing of SOAP header.

Failed to transmit message 4e913640-4cc5-11dc-8560-00e000c55366(OUTBOUND)

due to com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP

response code 500 : Error during parsing of SOAP header.

Retries exceded, set message

4e913640-4cc5-11dc-8560-00e000c55366(OUTBOUND) to status NON_DELIVERED.

Has somebody else the same problem and solved it or any idea what the matter could be?

Thanks for your help

Christian

Accepted Solutions (1)

Accepted Solutions (1)

former_member301120
Active Participant
0 Kudos

Hi

Sorry the message does not appear in SXMB_MONI.

So how can I search for them?

Former Member
0 Kudos

problem is with adapter engine as you said their is no chance of mail server being down.

former_member301120
Active Participant
0 Kudos

Hi,

i think it´s a problem of the dynamic configuration:

<sap:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderSUBJECT">=?iso-8859-1?Q?WG=3A_LN_sendet__K=FCndigung_an_LA_=28LW=29_?==?iso-8859-1?Q?bi_?=</sap:Record>

Is there any length limit for the fields in dynamic configuration?

Thanks

Message was edited by:

Christian Kaiser

former_member301120
Active Participant
0 Kudos

Hi,

I solved the problem. It´s the dynamic configuration.

I cut the values, if they exceed 99 characters.

Now everything works fine.

@Reddy: Thanks for your useful hints

Regards Christian

Former Member
0 Kudos

Good to know it worked. yes ur correct it has length issue for each filed .

former_member301120
Active Participant
0 Kudos

Hi,

do you know the max length of the fields?

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

How did you determine that the length of the SOAP Headers / Dynamic Config have a limitation of 99 characters? Is this documented somewhere?

If no, then I would suggest that an OSS with SAP is the way . But if you have some documentation from SAP that tells this, then can you share the source as well. Thanks!

Bhavesh

Former Member
0 Kudos

Hi,

I don´t know it exactly. I've tried it an it worked fine in my case.

Somewhere, sorry I don't remember where, I read that there is a error with to long values in dynamic configuration.

There isn´t a formal statement from SAP that the limitation is 99 characters.

For my problem i´ve posted an oss call, but SAP hasn´t answered yet.

If anybody knows / finds out further information please post it here. I'll also do.

Christian

former_member301120
Active Participant
0 Kudos

Hello,

in OSS-Call I got the following Information

SAP-Note 940462 max. length 50 characters.

I have it at 99 character still and it works fine

Regards

Answers (3)

Answers (3)

former_member301120
Active Participant
0 Kudos

Hi Reddy,

We´ve got the following scenario:

Exchange-Server (is always up)

XI Mail-ReceiverAdapter

I use IMAP4 to access the Outlook-Email-Box

Everything works fine. But some Emails aren´t processed.

I think it´s a problem between adapterframework and the integration engine?

There is no difference between the emails?

If you´ll need further informations ask me?

Thanks

Former Member
0 Kudos

can you check the SOAP header message of this 4e913640-4cc5-11dc-8560-00e000c55366(OUTBOUND) with the sucesfuly one in sxmb_moni.

former_member301120
Active Participant
0 Kudos

Hi Reddy,

I don´t think so, because all other messages are processed.

I attach the Email-Accounts via IMAP4. All processed messages will be moved to another folder.

The message will be moved, but does not appear in SXMB_MONI.

In RWB also everything is correct.

Another idea?

Thanks

Message was edited by:

Christian Kaiser

Former Member
0 Kudos

yes ur right all other messages get rpocessed because Server is up you get this error when server is down let me know ur sceanrio.

Former Member
0 Kudos

Christian,

this is caused when mailserver is down and XI mail adapter tries to reconnectafter few attempts it throws error if mailserver did dont come up.

regards

Sreeram.G.Reddy