on 05-29-2017 12:03 PM
Dear Experts,
I am sending XML data to target using SOAP Receiver channel. However facing the below issue:
Error: Delivery of 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/PLAIN; HTTP 200 OK
Steps which is been followed are:
>> I've configured SOAP adapter using SOAP 1.1 protocol.
>> Target URL works fine at browser level.
>> Do not use SOAP envelope is disabled at sender and receiver channel.
>> The same scenario is working fine in PRD environment.
>> I've used also tried using completed URL.
>> When I ping receiver channel it connects to target successfully.
If you have any suggestions to fix this issue please let me know.
Regards,
Vidhya
My scenario worked when I used complete URL format in SOAP receiver channel with &nosoap=true at the end.
I've also checked "Do Not Use SOAP envelope".
Thank you all,
Regards,
Vidhya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vidhya!
I can definitely say that you get error because of incorrect response message type from receiver side.
So I ask you: what is the response message you get when you call the same service using SOAP UI?
If you get SOAP XML response message, than check both endpoint URLs in SOAP UI request and in channel settings. Also make sure that you use correct user/password while connecting.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried to check/uncheck the option Do not use SOAP envelope because this parameter will change Text/plain to application/xml.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vidhya,
Are you sure that your scenario is synchronous? (Service interfaces, and best effort like quality of service in your SOAP channels).
What type is your sender channel?.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vidhya,
I've just find this https://blogs.sap.com/2011/03/07/unleash-synchronous-scenarios/ but it seems no to be so easy to do it.
Regards.
Hi Vidhya!
Take a look at this blog:
You can enable trace for your SOAP receiver adapter and check the log for any errors in response message.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
When I checked with target they say they have received files.
So I understand that there is no problem in message transport even though I'm facing HTTP 200 ok in my PI system.
Could you please suggest what could be the issue? Would there be any issue with target PI?
Regards,
Vidhya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vidhya,
May be you have a dispatcher like TOMCAT that stops the communication or the SOAP server that responses a HTML page error. Try with SOAPui.
Regards.
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 | |
7 | |
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.