Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webservices
trying to consume a webservice with dotnet, but all numbers in the result are converted to zero
fulgen_ross
7/15/2003 2:03:00 PM
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/envel...
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-inst...
xmlns:xsd="
http://www.w3.org/2001/XMLSchema...
- <SOAP-ENV:Body>
- <ns1:pricingResponse
xmlns:ns1="http://CAPTAP/WebservWebService.wsdl"
SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/...
- <return xmlns:ns2="http://CAPSNAP/IWebserv.xsd"
xsi:type="ns2:PricingT">
<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>
</ns1:pricingResponse>
</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?
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
trying to consume a webservice with dotnet, but all numbers in the result are converted to zero
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password