cancel
Showing results for 
Search instead for 
Did you mean: 

Soap Response Error. Pls advice urgent

Former Member
0 Kudos

Hi All,

I am using Soap Receiver Adapter.

*My Soap Request is:*

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

- <ns1:SendMessage xmlns:ns1="urn:MMWebSrvService">

<strUsername>XIWSDL</strUsername>

<strPassword>XIWSDL</strPassword>

<strFrom>XI</strFrom>

<strTo>123</strTo>

<strMessage>abc</strMessage>

<strSubject>333</strSubject>

<strService>/SMPP/1</strService>

<nOptions>0</nOptions>

</ns1:SendMessage>

*My Soap Response from server is:*

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

- <!-- Inbound Message

-->

- <tns:SendMessageResponse xmlns:tns="urn:MMWebSrvService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:types="urn:MMWebSrvService/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<return xsi:type="xsd:int">-1</return>

<nIndex xsi:type="xsd:int">0</nIndex>

<strErrorDescription xsi:type="xsd:string">String reference not set to an instance of a String. Parameter name: s</strErrorDescription>

</tns:SendMessageResponse>

Does anyone has idea of the above error?

I have also got one link:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=818243&SiteID=1

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

ravi_raman2
Active Contributor
0 Kudos

Henry,,

Take a look at this...

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=818243&SiteID=1

you are getting a error response back from your soap partner..you have to have them to fix it..The above link is good if they are using dot net which is what i think it is..

Regards

Ravi Raman

VijayKonam
Active Contributor
0 Kudos

This is an error generated on the service side. Ask the service provider to use the same data that you are trying to submit and see if gets processed as usual.

Looks like a data type problem on the service side.

VJ