MONALISA DAS

MONALISA DAS

  • NA
  • 14
  • 595

Access the function of wfc .svc from python

Jul 27 2017 8:44 AM
Hi all,
 
I want to access the functionalities of  operationcontact of a WFC service from my python code.
 
[OperationContract]
int CalculateAge(int day, int month, int year);
 
int ITiberium.CalculateAge(int day, int month, int year)
{
DateTime dt = new DateTime(year, month, day);
int datetodays = DateTime.Now.Subtract(dt).Days;
return datetodays;
}
 
Can anybody help?
 
Thanks in advance,
Monalisa. 
 

Answers (2)