Passing Python List to WCF Service
问题 I am trying to pass a list (or array, collection) of strings from python to a WCF service endpoint The WCF interface: [OperationContract] string[] TestList(IEnumerable<string> vals); Binding in Web.config: <endpoint address="http://localhost:13952/Service/Endpoint.svc" binding="basicHttpBinding" contract="Service.IEndpoint"> Python code calling the service: from suds.client import Client url = 'http://localhost:13952/Service/Endpoint.svc?wsdl' client = Client(url) result = client.service