on 09-21-2016 7:54 AM
Hi All,
Messages are getting stuck in Adapter Engine with status "to be delivered" and after some times status changes to "system error". I tried to resend the messages but facing same problem.
For most of the SOAP receiver we are facing this issue in production environment and the error details are mentioned below:
"Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error."
"SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error"
"Adapter Framework caught exception: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error"
Please guide us to resolve this issue.
Thanks,
Regards,
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vinoth,
since the receiver is returning this error, the responsible team for the receiver should check in their logs why this error occurs. HTTP500 can be caused by various reasons.
Another possibility is to log the message via XPI Inspector, maybe the error response is more detailed.
Kind regards
Claudia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
First check whether target system is up and running fine.
Regards,
Ajinkya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajinkya,
All the receiver SOAP messages are with the status "To Be Delivered" and if if resend it is processing. Automatic process is not happening.
While checking Engine Status, I found SOAP receiver was assigned maximum threads / Working:
Solution given for this issue is to STOP and START the Services (SAP XI AF Messaging).
Kindly let me know your suggestions please.
Regards
Vinoth
Hi Vinoth,
I faced same kind of issue, what happened was each message taking good amount of time to process due to which rest of the messages were stucked in To Be Delivered Status.
Kindly check all threads are getting occupied due to message load? like maximum threads are 5 in above case, so check whether all 5/5 threads are occupied or not.
If so then this might be due to performance issue.
Regards,
Ajinkya
Hi Ajinkya,
Thanks for your reply.
As i mentioned earlier, "SOAP_http://sap.com/xi/XI/SystemRecv" alone occupied with 5/5 threads.
How to clear those threads?
Regards
Vinoth
Hi Vinoth,
Threads are occupied means messages are already in process, please check how much time one message took to processed successfully?
If your message is taking good amount of time to get process then due to this rest of the messages will get stucked in TBD status.
If so you have to check performance at receiver service end.
You cant clear threads, what approach I used was, stop receiver communication channel, wait till messages comes into system error so threads will get released, and then resend failed messages manually.
Regards,
Ajinkya
Vinoth,
There are numerous reason for HTTP 500:
Invalid request being sent and the web service is not able to process that request.
The Content type expected by web service is different.
Issue with webservice.
if possible try with SOAP UI and try to compare the payload as well as request header.
br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.