import sys
import SOAP

# Uncomment to see outgoing HTTP headers and SOAP and incoming SOAP.
#SOAP.Config.debug = 1

SOAP.Config.BuildWithNoType = 1
SOAP.Config.BuildWithNoNamespacePrefix = 1

server = SOAP.SOAPProxy("http://www.EuroConvert.eu/cgi-bin/EuroConverter.cgi")

# invoke service
print server.convert2EUR("DEM",100)

print server.convertFromEUR("ITL",100)

