cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid content type

Former Member
0 Kudos

Hi,

While doing the scenario Http to WebSerice ( Using XI), i am getting an error message: java.io.IOException: Invalid Content type for SOAP.

Any suggestions where these can occur.. Problem with WSDL generated or anything..

Points waiting for the Ans

Regards

- Vinod

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI,

We encounter the similar problem. We resolved it by restarting the third-party server. Maybe you can also try this.

B.R.

GabrielSagaya
Active Contributor
0 Kudos

most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.

Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to false (default is true) in SAP XI AF Messaging service, in the Visual Administrator.

aashish_sinha
Active Contributor
0 Kudos

Hi,

Change the settings in Soap Adapter with Module Adapter setting with ModuleTranformBean with parameters as transform.content as text/xml.

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

former_member192892
Active Contributor
0 Kudos

Use the payload generated in XI while calling the web service in XML spy and see if the web srvice is getting called successfuly

Former Member
0 Kudos

Hi varun,

The WSDL generated is working fine with testing tool. But error comes when i am inputing the payload using the HTML interface.

Any idea?

Regards

- Vinod