on 04-14-2008 3:38 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.