cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Error : Invalid Content type

Former Member
0 Kudos

Hi Experts,

                   I have a scenario from FILE to Proxy at receiever end.

At receiver we are using SOAP adapter. Working for other interfaces but fails for only one interface.

While running the interface am getting below error :

SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Error receiving or parsing request message: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.

Tried using the module paramtre:

Transform.contentType

value: text/xml;charset=utf-8

But the issue still exists.

Any help over here would be grateful...

Regards,

CB

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member182412
Active Contributor
0 Kudos

Hi Chandrabhan,

Sometimes you can see the actual response from ERP system when you call via soap adapter, you can find it by click on tab Further Links and click on log viewer then the response soap envelope you can see in new window like below.

If you cant find anything enable TraceHTTP parameter in soap adapter as per this log and see the actual response from ERP to find out the root cause.

Regards,

Praveen.

former_member195647
Discoverer
0 Kudos

Hi,

Did you check if the user which you used in your SOAP receiver communication channel is not expired and the password is correct?

Regards,

Mohannad

Former Member
0 Kudos

Yes Raghuraman,

     Its XI3.0

former_member186851
Active Contributor
0 Kudos

Hello Chandra,

while the other interfaces are working this also should work.

Make sure no changes are done as Inaki ,might be by mistake some one else did some change.

Also make sure correct endpoint URL is used in the soap channel(if the channe is not re-used).

Refer the below discussion

Former Member
0 Kudos

Hi Inaki ,

          Nothing has been changed in the receiver schema. And yes the interface is async.

former_member186851
Active Contributor
0 Kudos

Hello Chandra,

Just to cross,make sure your using Soap channel with XI 3.0 protocol.

iaki_vila
Active Contributor
0 Kudos

HI Chandrabhan Kushwaha,

Have you change anything in the receiver schema?, have you regenerate the proxy and/or refresh the cpa cache?.

Are you sure that you have chosen an async service interfaces?

Regards.

sahithi_moparthi
Contributor
0 Kudos

Hi,

please check below thread may be useful.