on 10-22-2007 5:53 PM
Hello,
I am using soap adapter, recevier. The SOAP action that I am using is oneway, it does not post response. Now when I run whole scenario, the message is going through webservices, however I get error messge on XI adpapter as follows.
<u><b>Now my question is how would I tell SOAP adapter not to expect response?</b></u>
Error: SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML
Success: SOAP: sending a delivery error ack ...
Success SOAP: sent a delivery error ack
Error :SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML: java.io.IOException: invalid content type for SOAP: TEXT/HTML
Error: MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML: java.io.IOException: invalid content type for SOAP: TEXT/HTML
Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML
Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML: java.io.IOException: invalid content type for SOAP: TEXT/HTML.
Success The asynchronous message was successfully scheduled to be delivered at Mon Oct 22 11:13:09 CDT 2007.
Success The message status set to WAIT.
Thank you,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No other option other than asking your Web service to a HTTP 200 with a empty SOAP envelope to XI.
But, one thing though, the Asynch message will hit the webservice and the SOAP adapter will error out with a timeout error. If that is not an issue, then the scenario will continue to work.
Regards
Bhavesh
Hey
>>Now my question is how would I tell SOAP adapter not to expect response?
you would be having a async inbound message interface(not sync inbound message interface),this will only post the data and not expect and response.
also the webservice you r using will only post data and not give any response.
other than defining async inbound interface you don't need to do anythin special.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amir,
Than you for the response, I have already maked inbound message interface as async. I made sure the action is not returning any thing by testing from websercvices standard testing page. When I tested from browser I got followign response.
Response from the server
NO RESPONSE
Still I do get error. Please let me know.
Thank you,
Balaji
Hey
did u test your scenario via XMLspy or Altova? if yes,then what was the response u got,secondly please monitor the receiver SOAP adapter via TCPGateway and see if u can find the cause of error
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
also search SDN with the query "Invalid content type",you will find loadz of threads.
Thanx
Aamir
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.