I would like to use a web service which is written on .NET.
I should pass a date value to a method webservicemethod(on_date).
It’s written in a description that format of this date is System.DateTime.
I’m using Python as a client language. After googling I tried to use many combinations but without success. This parameter is a string, but what should this string looks like?
from SOAPpy import WSDL
server = WSDL.Proxy('http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL')
print server.EnumValutes(False) - works !
print server.GetCursOnDate('1/1/2011')
<SOAPpy.Types.structType GetCursOnDateResponse at 57517192>: {}
.Net uses ISO 8601 time format when representing (or parsing) it in string format.
Example:
2007-04-05T14:30