cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate check not working in sender soap adapter

Former Member
0 Kudos

Hi guys,

I have an urgent problem. I am using a Sender Soap Adapter (quality of service Best Effort) to receive certain web services requests and send back synchronous responses.

I have ticked the parameters "Use Encoded Headers" and "Use Query String" to implement duplicate check.

For this reason I am expecting XI to return errors of the following type when the sender systems posts duplicates:


<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="PERSIST">MSGGUID_EXISTING</SAP:Code> 
  <SAP:P1>D00B71AC7AEBDEB3E011E5E43C49D97B</SAP:P1> 
  <SAP:P2>CENTRAL</SAP:P2> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>Message ID D00B71AC7AEBDEB3E011E5E43C49D97B for pipeline CENTRAL, version already exists in system</SAP:Stack> 
  <SAP:Retry>N</SAP:Retry> 
  </SAP:Error>

However, although the duplicates go into an error status, the system is responding with the following message:


<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapter</SAP:Category> 
  <SAP:Code area="BPE_ADAPTER">SYSTEM_FAILURE_INTERNAL</SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>An internal error has occurred</SAP:Stack> 
  <SAP:Retry>N</SAP:Retry> 
  </SAP:Error>

Can anybody tell me how to force XI to return a message type "MSGGUID_EXISTING" when it catches duplicates? Or if there is any configuration I can change?

Many thanks,

Aldo

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Closing thread.

Former Member
0 Kudos

OK, this problem is resolved.

XI seams to send the error SYSTEM_FAILURE_INTERNAL the first time it receives a duplicate message and sends the MSGGUID_EXISTING error on the following attempt to post the same message.

Cheers.

Aldo

Edited by: Aldo Lazzarini on Sep 23, 2011 6:50 AM

Edited by: Aldo Lazzarini on Sep 23, 2011 6:53 AM