cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Fault Message

Former Member
0 Kudos

Hi

I am doing the RFC to SOAP Scenario.. i want to capture the SOAP Fault Message in RFC excption...as WSDL file does not contain the SOAP Fault Message Type ..

My SOAP Fault Message Looks Like this

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Client</faultcode>

<faultstring>Badly formed SOAP Message</faultstring>

<detail>

<error xmlns="http://tempuri.org">

<text>ERROR #6232: Datatype validation failed for tag, EmergContPerson, with value: String</text>

</error>

</detail>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I want to capture the text field value in RFC exception..

as i mentioned WSDL file does not contain the SOAP Fault Definition..

S V

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

check SAP Note:856597

7. Other Receiver related Questions

Q: What should my web service return to the adapter?

Thanks,

Beena.

Former Member
0 Kudos

This will be application error with fault payload:

<error xmlns="http://tempuri.org">

<text>ERROR #6232: Datatype validation failed for tag, EmergContPerson, with value: String</text>

</error>

so map this to RFC exception.

It does not matter if it does not exist in your wsdl.

You can create fault message type and map it with RFC Exception.

Thanks,

Beena.