cancel
Showing results for 
Search instead for 
Did you mean: 

Capture of SOAP fault from Web Service call

Former Member
0 Kudos

Hi,

I have a scenario when I am calling a webservice and a SOAP fault is returned.

In order to capture this I have done the following steps:

1. Defined a data type matching the incoming SOAP fault definition

2. Created a fault message type

3. Assiged the fault message type to the inbound interface that is calling the Webservice

4. Created a message mapping from the SOAP fault message type to the destination message type

5. Added a message mapping on the interface mapping (response)

However, when I have created the fault message type it defaults a standard structure (which I do not need) and I add the "real" structure in the Additional Data.

My question is how do I remove the standard structure as this is not needed and is causing the message mapping for the SOAP fault to fail !!

Kind regards

Colin.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think that you can't get rid of the standard structure of the fault message. You could have a look at changing the WSDL definition, but I think that you will run into troubles with the soap adapter.

Former Member
0 Kudos

Hi,

I have solved this on my own.

When adding a fault message type to the interface you can also specify an external message type by selecting the button next to "Fault Message Type"

Cheers

Colin.