cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve faultstring from SOAP fault

former_member737583
Participant
0 Kudos

Hi XI gurus!

My webservice return SOAP fault message, which ends with system exception (exception class: cx_ai_system_fault). This message looks following:


<?xml version="1.0" encoding="UTF-8"?>
<E:Envelope xmlns:E="http://schemas.xmlsoap.org/soap/envelope/" xmlns:A="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.w3.org/2001/XMLSchema" E:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<E:Body>
		<E:Fault>
			<faultcode>Server</faultcode>
			<faultstring>Fehler - IDS: 0, APP: 11001 getManufacturers:  Ungültige Fahrzeugart</faultstring>
		</E:Fault>
	</E:Body>
</E:Envelope>

I want to read from instance of cx_ai_sustem_fault information about faultstring. Any idea how? When I'm looking in SXMB_MONI I see interesting text in following section:


 <SAP:AdditionalText>soap fault: Fehler - IDS: 0, APP: 100 SDII: Aktenzeichen konnte nicht exportiert werden.</SAP:AdditionalText> 

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member737583
Participant
0 Kudos

Not possible

former_member737583
Participant
0 Kudos

Unfortunately not

Former Member
0 Kudos

Hi,

Were you able to resolve this?