cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Messages for single SOAP call

baskaran_k2
Participant
0 Kudos

Hi,

We are using SOAP Sender adapter in order to receive the message from our partner. In PI, we have received 2 to 4 messages per document, but it should be one per document. We have confirmed with our partner, they are sending only one request per document. because of this duplicate posting happening in SAP.

Could anyone help what could be the cause for this issue.

Regards

Baskaran K

Accepted Solutions (0)

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Another design approach.  Though sender system sends duplicate messages, Why dont on the SAP side (target side like in IDOc or proxy ) we validate the message before we insert the record? Plus, you can make the design as sync and send the response  "Success" for Successful data processing and error message like "Duplicate record" as response for the failure data processing. This way sender system would know that they send the data duplicate without validating at their side. Just a thought.

Former Member
0 Kudos

Alternatively, research / consider implementing Idempotency functionality that SAP already has for consistency when dealing with data and web services.

Regards, Trevor

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can also check in PI monitoring the exact time (miliseconds) when those documents were delivered and if they have different time it means that the partnet did not implement the duplicate handling on their end - which is probably the case,

Regards,

Michal Krawczyk

former_member184681
Active Contributor
0 Kudos

Hi,

What does SXI_MONITOR and Communication Channel Monitor for SOAP Sender show for your case? Do you have multiple entries there? If so, I would assume that although the sender denies it, they still send the data multiple times.

Regards,

Greg