WebService returning wrong result
807606May 31 2007 — edited May 31 2007Hi All,
I am trying to write a webservice but somehow getting wrong result. Not sure where i am going wrong. I am seeing following in logs -
Request envelop -
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<Multiply xmlns="http://tempuri.org/">
<A xsi:type="xsd:float" xmlns="">40.0</A>
<B xsi:type="xsd:float" xmlns="">20.0</B>
</Multiply>
</soapenv:Body>
</soapenv:Envelope>
Response -
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><MultiplyResponse xmlns="http://tempuri.org/"><MultiplyResult>0</MultiplyResult></MultiplyResponse></soap:Body></soap:Envelope>
--------------------------------------------
This is a webservice available online url - http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService/VB/MathService.asmx?op=Multiply
Please HELP!!! Thanks in advance.
-Tarun