R
Ross
I'm at a loss. I'm trying to consume a webservice using dotnet. The
result of the web service looks like this
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <ns1ricingResponse
xmlns:ns1="http://CAPTAP/WebservWebService.wsdl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <return xmlns:ns2="http://CAPSNAP/IWebserv.xsd"
xsi:type="ns2ricingT">
<cost xsi:type="xsd:decimal">17.25</cost>
<tax xsi:type="xsd:decimal">27.29</tax>
<additCharges xsi:type="xsd:decimal">0</additCharges>
<basis xsi:type="xsd:string">CAPTAP</basis>
<sell xsi:type="xsd:decimal">366.35</sell>
<tourCode xsi:type="xsd:string">CAP</tourCode>
<value xsi:type="xsd:decimal">366.35</value>
<commission xsi:type="xsd:decimal">0</commission>
<discount xsi:type="xsd:decimal">0</discount>
</return>
</ns1ricingResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
however when I access the values all of the numbers are converted to
0. I'm not including the wsdl because it is extremely long. I use
visual studio to create mapping automatically using the wsdl. it seems
the strings are left blank too. Any ideas?
result of the web service looks like this
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <ns1ricingResponse
xmlns:ns1="http://CAPTAP/WebservWebService.wsdl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <return xmlns:ns2="http://CAPSNAP/IWebserv.xsd"
xsi:type="ns2ricingT">
<cost xsi:type="xsd:decimal">17.25</cost>
<tax xsi:type="xsd:decimal">27.29</tax>
<additCharges xsi:type="xsd:decimal">0</additCharges>
<basis xsi:type="xsd:string">CAPTAP</basis>
<sell xsi:type="xsd:decimal">366.35</sell>
<tourCode xsi:type="xsd:string">CAP</tourCode>
<value xsi:type="xsd:decimal">366.35</value>
<commission xsi:type="xsd:decimal">0</commission>
<discount xsi:type="xsd:decimal">0</discount>
</return>
</ns1ricingResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
however when I access the values all of the numbers are converted to
0. I'm not including the wsdl because it is extremely long. I use
visual studio to create mapping automatically using the wsdl. it seems
the strings are left blank too. Any ideas?