cancel
Showing results for 
Search instead for 
Did you mean: 

Generate a SOAP Fault

Former Member
0 Kudos

Hi Guys!!

I'm exposing a RFC as a Web Service. I would like my outbound interface (Web Service) generate a SOAP Fault message when my inbound interface (RFC) fails.

I think that creating a message type called Fault will not work, since its namespace would be my interface namespace, not SOAP (SOAP prefix, http://schemas.xmlsoap.org/soap/envelope/ namespace).

Julio

Accepted Solutions (0)

Answers (1)

Answers (1)

turmoll
Active Contributor
0 Kudos

Hi,

I believe that if your

- outbound interface definition (e.g. xsd) contains req, res and fault elements

- RFC throws some exceptions

then you would be able to do a fault message mapping.

Finally if you will generate WSDL then without no problem you will be able to return SOAP faul message to the caller.

Regards,

Jakub