SOAPpy

Skink spam at me.please
Fri Jan 27 13:16:08 EST 2006


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



More information about the Python-list mailing list