Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: Routing to Different communication channels based on condition

$
0
0

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"?>

<ns0:ServiceResponse xmlns:ns0="http://www.NNN.co.za/Response/2010-12-03/xsdResponse#"><ns0:Response><ns0:componentInstanceID>290029</ns0:componentInstanceID><ns0:componentName>SOA_HRPersonDetailsService</ns0:componentName><ns0:messageBusinessID>0000000000125019</ns0:messageBusinessID><ns0:replyCode>Success</ns0:replyCode><ns0:Errors><ns0:code></ns0:code><ns0:details></ns0:details></ns0:Errors></ns0:Response></ns0:ServiceResponse>

 

can any one help me in providing the solution for this.

 

Regards.

Jagdish

 



Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>