By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,551 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

SOAPpy

P: n/a
hi,

there is a soap service:
http://waluty.k2.pl/ws/NBPRates.asmx

the question is why when i call GetRateValue method i always get '0' result?

import SOAPpy
srv = SOAPpy.WSDL.Proxy("http://waluty.k2.pl/ws/NBPRates.asmx?WSDL")
srv.GetAllCodes() 'AUD CAD CHF CYP CZK DKK EEK EUR GBP HKD HUF JPY LTL LVL MTL NOK RUB SEK
SIT SKK UAH USD XDR ZAR ' srv.GetRateValue('USD')

'0'

it seems that methods with no params are working but these that take at
least one param not.

you can check it by going to http://www.soapclient.com/soaptest.html and
entering http://waluty.k2.pl/ws/NBPRates.asmx?WSDL as WSDL File Address

the rate should be ~3.1379 or something

thanks,
pb
Jan 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.