cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle fault messages from Webservice?

former_member190543
Participant
0 Kudos

I am doing a synchronous call to a third party webservice. (asynchronous proxy to synchronous webservice to send gas meter details)

Its wsdl when selected in mapping gives a java nullpointer exception, so I imported the xsd from wsdl as an external definition and it has a request, response and an exception messages in it. Mapping the request and responses were all good and working fine.

The response from synchronous webservice call is sent to various places. i.e., one copy back to proxy (ERP) and one copy to another webservice. (as a new synchronous request) which is all fine. I have put everything in one BPM.

My problem is that when the first webservice gives out an exception message, I do not know how to map it. The error message goes into a queue (can see it in smq2) and it blocks any further successful messages. I tried using exception branch in BPM, but the "f7" in BMP says exception will never be thrown. But I have to map this exceptin response and send it to ERP through proxy. There are not many blogs on exception handling. Do I have to use correlation editor for this purpose? It is very confusing to know how to use correlation editir correctly.

Can anyone give me some ideas please? By the way, I am on PI 7.0.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190543
Participant
0 Kudos

Any help please?