Hi all,

We are trying to talk through .NET web service to retrieve some data from a windows system. We are using Python and SOAPpy (which is SOAP compatible with python) for this. We are able to talk to the system using this web service and is also able to retrieve all data without giving any parameters, using GetAll methods(eg. GetAllCountry()). But the issue is when we try to use a method which expects a parameter (for eg. Get_employee_detail_byUserName()). What ever value we pass it gets passed a Null and hence the system is throwing out the exception.

Here is the code we use:

from SOAPpy import SOAPProxy
url = 'http://IPaddress/WebServiceIDM/IDMWebService.asmx'
n = 'http://tempuri.org/'
server = SOAPProxy(url, namespace=n,soapaction=s)
server.config.dumpSOAPOut = 1
server.config.dumpSOAPIn = 1

Any help would be greatly appreciated.



We kind of feel that encoding mis-match is the reason for the issue. SOAPpy is giving out the output in RPC format where as the IDM web service ( windows system) is expecting in the document literal format. Any idea how to change this in our earlier mentioned code?