cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi guys,

I’m trying to sending a message via sender soap adapter and I’m receiving this error:

Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML

I already have read most off all posts about this error in this forum. So, if I understand, this error means that my receiver soap adapter can’t reach the web service provider and an HTTP error notification is sent to calling application. Although, the SOAP adapter doesn’t understand this kind of errors (ex. 404 not found -> SOAP call has no error codes and use the HTTP codes for effect) and this happening because the error is in text/html format and SOAP adapter is waiting a response in text/xml.

This is a simple calculator web service that receives two arguments and returns the sum as a result. (Like Siva Maranani weblog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi )

The web service is published on SAP Enterprise Portal and it works fine.

- The login works fine

User: ex30268

Pwd: 12345678

- We don’t have certificates and proxy server.

This is the address in my receiver soap adapter: http://intranetcorpdev.edp.pt:54700/CalculatorWebService/Config1?style=document

I already checked the settings of my receiver soap adapter and did a little test, enabling the parameter Do Not Use SOAP Envelop only in receiver adapter. And the result is an exception during mapping!!! What is means this error?

Does anybody know how to solve this issue?

Thanks in advance.

Cheers,

Ricardo.

0 Likes
View Entire Topic
Former Member
0 Likes

Can anybody provide me some clues on these doubts?

This is the right address that I need to put on my receiver soap adapter? (You can test in your browser if you want) This address was copied from soap address location from a main.wsdl file downloaded from WSNavigator do WAS 6.40 after Netweaver develop studio deployed to there.

http://intranetcorpdev.edp.pt:54700/CalculatorWebService/Config1?style=document

User: ex30268

Pwd: 12345678

What parameters I should activate?

Not use SOAP Envelope

Keep attachments

Keep Headers

Encoded Headers

Use query string

In soap action I need to put the name of the method that I want to invoke?

Thanks all

Cheers,

Ricardo.

Message was edited by: Ricardo Quintino

moorthy
Active Contributor