Showing results for 
Search instead for 
Did you mean: 

Mapping a Web Service Fault Message to RFC Exception

Former Member
0 Kudos

Hi All,

I've been trying to map the Fault message returned by a web service to the calling RFC Exception.

Want I want, is to see the faultstring returned by the web service (see message below) to map to the RFC exception Text field. I've mapped the exception that I want to raise to one that is contained in the enumeration list for the RFC exception Name field, but it seems that the faultcode returned by the web service is always mapped to SYSTEM_ERROR.

Am I correct in reasoning that the faultcode below is picked up by the XI engine and mapped to SYSTEM_ERROR by default, or am I missing something in the mapping? The web service is setup using JAXRPC and we're using XI 2.0.

      • begin xml

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv=...>



<faultcode xmlns="">Server.generalException</faultcode>

<faultstring xmlns=""><![CDATA[java.lang.Exception: Planned date must be at least 1 day from today.]]></faultstring>

<detail xmlns=""/>




      • end



Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I've a similar problem. I want to read the fault message and write it to a message interface (inside a business process).

How do I do it?

I'm trying to map these two messages, but the mapping interface don't let me put a fault message in a source field.

Thanks for any help.