cancel
Showing results for 
Search instead for 
Did you mean: 

IOException: invalid content type for SOAP: TEXT/HTML

Former Member
0 Kudos

Hi all,

After the IS received a SOAP request successfully and sent it to the Adapter Engine I get an IOException in my SOAP Adapter (I configured a SOAP communication channel). From my RWB I can see:

2005-08-12 10:53:17 Success SOAP: request message entering the adapter

2005-08-12 10:53:17 Success SOAP: completed the processing

2005-08-12 10:53:18 Success The message was successfully received by the messaging system. Profile: XI URL: http://ecsap:50000/MessagingSystem/receive/AFW/XI

2005-08-12 10:53:18 Success Using connection AFW. Trying to put the message into the receive queue.

2005-08-12 10:53:18 Success Message successfully put into the queue.

2005-08-12 10:53:18 Success The message was successfully retrieved from the receive queue.

2005-08-12 10:53:18 Success The message status set to DLNG.

2005-08-12 10:53:18 Success Delivering to channel: J2E_ReceiverChannel_SOAP

2005-08-12 10:53:18 Success SOAP: request message entering the adapter

2005-08-12 10:53:18 Error SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML

2005-08-12 10:53:18 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML

2005-08-12 10:53:18 Error Delivery of the message to the application using connection AFW failed, due to: invalid content type for SOAP: TEXT/HTML.

2005-08-12 10:53:18 Success The asynchronous message was successfully scheduled to be delivered at Fri Aug 12 10:58:18 CEST 2005.

2005-08-12 10:53:18 Success The message status set to WAIT.

Please help if possible! Thanks!

Denis

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Denis,

<i>I think</i> you are using SOAP Adapter as receiver <b>also</b>, so check the following :

1)Mapping

2)Receiver Adapter

Regards

Suraj

Former Member
0 Kudos

Hi!

I checked the SOAP receiver channel of my integration server business system and updated the authorization data to valid values. Now the messages are sent second-wise:

2005-08-12 09:25:31 Success The message was successfully retrieved from the send queue.

2005-08-12 09:25:31 Success SOAP: call completed

2005-08-12 09:25:31 Success SOAP: request message leaving the adapter (send)

2005-08-12 09:25:31 Success Message successfully put into the queue.

2005-08-12 09:25:31 Success Trying to put the message into the send queue.

2005-08-12 09:25:31 Success Application attempting to send an XI message asynchronously using connection AFW.

2005-08-12 09:25:31 Success The application sent the message asynchronously using connection AFW. Returning to application.

2005-08-12 09:25:31 Success SOAP: response message leaving the adapter

2005-08-12 09:25:31 Success The message status set to DLNG.

2005-08-12 09:25:31 Success The message was successfully transmitted to endpoint http://ecsap.ecs-gmbh.local:8000/sap/xi/engine?type=entry using connection AFW.

2005-08-12 09:25:31 Success The message status set to DLVD.

2005-08-12 09:25:31 Success The message was successfully delivered.

What is happening here!?!? My log is running full

Answers (3)

Answers (3)

Former Member
0 Kudos

hi guys

i changed the setting in Soap Adapter with Module Adaptersetting with ModuleTranformBean with parameters as transform.content as text/xml

now the error message is showing in reciever communication chennel is as follows

2007-12-21 13:14:41 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 504 Gateway Time-out

can u please help mre out...

thanks & Regards

Ravi

Former Member
0 Kudos

hi guys

this is my soap Reciever CC is showing the Error .

please suggest me the solution.

2007-12-21 10:09:27 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML

2007-12-21 10:09:27 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

2007-12-21 10:09:27 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

2007-12-21 10:09:27 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML

2007-12-21 10:09:27 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. Setting message to status failed.

2007-12-21 10:09:27 Error The message status set to FAIL.

2007-12-21 10:09:27 Error Returning synchronous error message to calling application: 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.

thanks & Regards

Ravi

Former Member
0 Kudos

Hi Denis,

I got this error while using the SOAP adapter as Receiver.

Possible reasons:

i. Target Server throws an exception page.

ii. When the response is not a valid SOAP envelope.

iii.Authorization errors that are not returned as SOAP envelope.

iv. If the Target SOAP server requires an authentication (windows domain authentication), then even if the credentials are given in SOAP receiver, it doesnt work.

Integrated authentication mode is not supported in XI, I suppose.

Try accessing this web service from your browser to see the behaviour.

Alternately, we used HTTP Adapter and the message type 'HttpPostIn' to send as HTTP Post.

regards,

Pops V

Former Member
0 Kudos

Hi!

Got the error. It was a logical misunderstanding.

Thanks a lot!

Denis