on 08-09-2011 6:23 AM
Hello All,
We are having a typical synchronous proxy to soap scenario via PI.
In the case of faulty request , the response message which webservice sends contains only system error message like below:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Server</faultcode>
<faultstring>The system could not log you on. Make sure your User name and server are correct, then type your password again. Letters in passwords must be typed using the correct case. Make sure that Caps Lock is not accidentally on.</faultstring>
<faultactor>RPCRouterServletSession</faultactor>
</SOAP:Fault>
It is not sending the application error message.
Is there any possible way to map this system error message in PI and send the same back to R/3 system.
Regards
Naveen Tripathi
Hi Naveen,
As your SOAP fault message does not contain <details> node , this is system error message.
About sending it back to ECC, I believe you have to add fault message interface in both(outbound and inbound sync) interfaces.
And you need to define SOAP fault message mapping for both interface mapping(Request and response).
I am not sure how this can be handled in Proxy side.
---Divyesh Vasani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
In your SOAP Receiver adapter, add the following module configuration
ModuleKey ParameterName ParameterValue
soap XMBWS.NoSOAPIgnoreStatusCode true
Doing so, it will make the
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Server</faultcode>
<faultstring>The system could not log you on. Make sure your User name and server are correct, then type your password again. Letters in passwords must be typed using the correct case. Make sure that Caps Lock is not accidentally on.</faultstring>
<faultactor>RPCRouterServletSession</faultactor>
</SOAP:Fault>
as part of your inbound payload which you can parse via xslt or java mapping.
PS: I think using FaultMessageTypes are for application errors only.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Aug 9, 2011 8:17 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.