cancel
Showing results for 
Search instead for 
Did you mean: 

Soap Receiver Adapter Error. Pls advice urgent

Former Member
0 Kudos

Hi All,

*I am sending this xml from runtime workbench:*

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_REQ_TEST xmlns:ns0="http://CRM">

<MobileNo>1</MobileNo>

<Message>2</Message>

<ActivationCode>3</ActivationCode>

<StrService>4</StrService>

<StrFrom>5</StrFrom>

<StrOptions>6</StrOptions>

</ns0:MT_REQ_TEST>

*The above request xml maps to the Webservice Request xml*

The below XML forms after mapping

<?xml version="1.0" encoding="UTF-8" ?>

<ns1:SendMessageSoapIn xmlns:ns1="urn:MMWebSrvService">

<strFrom>XI</strFrom>

<strTo>1</strTo>

<strMessage>2</strMessage>

<strSubject>3</strSubject>

<strService>abc</strService>

<nOptions>0</nOptions>

</ns1:SendMessageSoapIn>

*In Soap Receiver Adapter I am giving*

*URL -- http://172.20.80.11/MMWebService/MMWebSrv.asmx*

*Soap action -- #SendMessage*

The error I am getting now:

<SAP:AdditionalText>soap fault: Server was unable to read request. ---> There is an error in XML document (1, 97). --->

<SendMessageSoapIn xmlns='urn:MMWebSrvService'> was not expected.</SAP:AdditionalText>

Pls advice urgent.

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

ravi_raman2
Active Contributor
0 Kudos

Hi,

This is what i think has happened..

in your source structure.there are nested nodes and they look like this..

<

-<

<

-<

those little - thingies cause this..check your source structure from moni and see if that can be validated against the xsd and you will have your issue ..

Regards

Ravi Raman

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

this error is related with a field.

test ur scenario with a tool like XML - Spy (ALTOVA) there you will have a better explanation of error.

i faced this issue many times.

go to line 1:97 and see what are you putting in the field. maybe an special character o something like this.

Thanks

Rodrigo

Edited by: Rodrigo Pertierra on Apr 14, 2008 11:58 AM

Former Member
0 Kudos

Hi Rodrigo,

Since I am sending data from XI to webserver how can i test it with xml spy.

Pls by looking my query try to give me solution.

Regards

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

copy the strusture you send to WS in Altova and do a do a check

if no erro go to line 1:97 and check what do you hace there, verify field type (string, integer,etc, length) if there is any specia character-

Thanks

Rodrigo

Edited by: Rodrigo Pertierra on Apr 14, 2008 12:08 PM

Former Member
0 Kudos

Hi Henry,

Please check the namespace for your request message from ur wsdl file.

My point is that please verify that file output xml message getting generated is similar to namespace of wsdl messages.

SendMessageSoapIn xmlns='urn:MMWebSrvService'

The name space of wsdl file you may check it in external definition "messages" tab.

Hope it solves your query.

Thanks & Regards

Prabhat