on 03-22-2007 5:33 AM
Hi experts,
I have an asynchrounous scenario IDOC->XI->SOAP.
In a normal scenario, things work fine.
But when the connectivity between XI and the SOAP server is disrupted or if the SOAP server is down or returning any sort of error codes, e.g. HTTP 400,401, 500, etc, I see this error message in RWB - Message Monitoring - Message Display Tool:
<b>
SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
</b>
or
<b>
SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML</b>
When I use a TCP Monitor to trap the SOAP request/response between XI and the SOAP server, I see that it's actually a HTTP 500 or a HTTP 404 error response.
How can I trap this error and display this on alerts?
Please help.
Thanks.
Ron
Hi Ron,
By default, the SOAP adapter sends the SOAP message with the content type text/xml.
When you check "Do not use SOAP envelope", the default contnet type is application/xml.
You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
Check out this
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
One way of testing ur scenario
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
Also have a look here
SAP Note 856597
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.