Hi Souvik & Mark.
now I have got another requirement for this BPM Interface that when the MESSAGE is sent to end system iam getting the synchronous response back to PI .if the response message content says as
><ns0:replyCode>Error</ns0:replyCode>< then PI Should retry to send the same message for 3 times ,if it still cant success at end system then PI should inform the source SAP System to resend the IDOC or to say it was failed for some reasons ,so that Source SAP can send it again.
the Response message structure is as below in case of error at Receiver side (case: if the end system is down)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ServiceResponse xmlns:ns0="http://www.NNN.co.za/Response/2010-12-03/xsdResponse#"><ns0:Response><ns0:componentInstanceID>290030</ns0:componentInstanceID><ns0:componentName>HRPersonDetailsService</ns0:componentName><ns0:messageBusinessID>0000000000125021</ns0:messageBusinessID><ns0:replyCode>Error</ns0:replyCode><ns0:Errors><ns0:code>1</ns0:code><ns0:details>The message failed to write to the Topic. Please Re-Submit</ns0:details></ns0:Errors></ns0:Response></ns0:ServiceResponse>
the Response message structure is as below in case of Success at Receiver side :
<?xml version="1.0" encoding="UTF-8"?>
can any one help me in providing the solution for this.
Regards.
Jagdish