cancel
Showing results for 
Search instead for 
Did you mean: 

SSL Implementation- SOAP over XML

Former Member
0 Kudos

Hi Gurus,

while I am trying the scenario SOAP over XML, i am getting the following error.

com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.messaging.mo.MalformedMessageException: Unexpected content in SOAP:Body; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: Unexpected content in SOAP:Body

Also If i try HTTPS over XML( Entire SOAP XML) (ie) by selecting the option DO NOT USE SOAP ENVELOPE, in receiver SOAP adapter, I am getting successful message.

Could anyone help me?

Thanks in Advance.

Regards,

Indira D

Edited by: Indira Deivasigamani on Jul 6, 2009 12:57 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The error could be due to the mismatch between the type of binding or version of SOAP you are providing in in your adapter configuration and the binding or version of SOAP in the receiver webserice.Co ordinate with the people working the webservice. chose correct valuse for these.

Regards,

Reyaz

Former Member
0 Kudos

Hi Reyaz,

could you please more specific on the version of SOAP?

where to check and specify it?

Thanks in advance.

Regards,

Indira D

Former Member
0 Kudos

Hi,

If you have selected transport protocol as HTTP and message protocol as SOAP, it will be SOAP1.1 . Otherwise if you select the message protocol as AXIS, you will have an option to chose among soap 1.1 and soap1.2. Check the binding type in the wsdl with you. If it is basic http binding, its enough to use http with soap 1.1. If it is wshttp binding , you have to select axis as protocol and soap1.2.

Regards,

Reyaz

former_member181962
Active Contributor
0 Kudos

Hi Indira,

Does your mapping create a SOAP envelope?

IN general, you do not need to generate a SOAP envelope in the mapping, since the SOAP receiver adapter creates one for you.

The error might be due to another envelope created by the mapping, in addition to the standard adapter.

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

My mapping doesnt create SOAP envolope.

It is giving the error mesage.

If i give the SOAP envelope manually, it is working fine as HTTPS over XML.

Thanks,

Indira D