Skip to Content
0
Aug 09, 2016 at 04:55 PM

How to send both business exception and technical expection in only one fault message

141 Views

Hi All,

I have a Webservice to Proxy synchronous scenario where the data is going from ECC to third party system via PI.

Now if the message is successful, we will send the successful message which we are able to do it.

If there are any business or technical exceptions, then the client wants to send them in fault message.

My fault message source structure is as below:

Receiver structure for fault message mapping:

Now as per the above structure given by the client, we(PI) can either send business or technical exception but not both to the same structure. I.e in receiver side we can map only business or technical exception.But client want to map both the exceptions to the same structure. How can we do it in the mapping here. As we can see in the above structure the occurrence is 1:1 and the client is not ready to change the stru.

cture as the structure is used by many other systems in his environment.

Please let me know your valuable inputs on this.

Thank you.

Attachments

source.JPG (55.2 kB)
target.JPG (24.9 kB)