i write a perl code as a web service client using SOAP::Lite, it works fine in most cases.
When the server throw out the messege: "There is an error in XML document (1, 431)"
and the inner explanation is "Input string was not in a correct format"
what i want to know is what (1,431) means ??
according to the answer, can experts identify where i format it incorrectly ???
my exact XML document sent to the server is:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1"
>
<wsu:Timestamp xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-24854782
">
<wsu:Created>2008-04-04T09
:43:45Z</w
su:Created
>
<wsu:Expires>2008-04-04T09
:43:45Z</w
su:Expires
></wsu:Tim
estamp>
<wsse:UsernameToken xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-3105
6583">
<wsse:Password Type="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">pas
s</wsse:Pa
ssword>
<wsse:Username>USER</wsse:
Username>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<SetAccumulatorValue xmlns="
http://mywebsite.com/soap">
<request>
<SubscriberId>912345678</S
ubscriberI
d><Identit
y/>
<Accumulator>ACC_Recharge<
/Accumulat
or>
<AccumulatorValue>a</Accum
ulatorValu
e>
</request>
</SetAccumulatorValue>
</soapenv:Body>
</soapenv:Envelope>
Start Free Trial