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=...>
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns="">Server.generalException</faultcode>
<faultstring xmlns=""><![CDATA[java.lang.Exception: Planned date must be at least 1 day from today.]]></faultstring>
<detail xmlns=""/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
end
Regards,
Martin