on 09-16-2015 2:55 PM
Hi guys,
i have a problem with Fault Message Type in following synchronous scenario:
Request: SAP Proxy -> PI 7.4 -> SOAP
Response: SOAP -> PI 7.4 -> SAP Proxy
My Operation Mapping has filled request, response and error tab. Request and response has a added a xslt mapping after message mapping respectively in case of response before message map step. My SOAP Adapter has parameter "use no soap envelope" and "keep header" activated. In soap modul, parameter "XMBWS.NoSOAPIgnoreStatusCode" set to "true".
In case of error i receive Fault Message in message monitoring like:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>
<faultstring>unknown data</faultstring>
<faultactor>http://xxx.com</faultactor>
<detail>
<FaultDetail>
<ErrorCode>37</ErrorCode>
<Severity>Error</Severity>
<DetailedMessage>incorrect data</DetailedMessage>
</FaultDetail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Proxy is not capturing the error although try catch is correct.
Any ideas whats wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcus,
That parameter and the checkbox Do Not Use SOAP Envelope is needed to avoid the SOAP adapter throws an exception. AFAIK the sender ABAP proxy won't catch the fault messages. I usually change the sender schema with Error tags and i map the fault messages if those happen.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marcus,
So the fault message is reaching PI but not properly updating in ECC?
your proxy codes are active ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.