| | |
Accessing .NET webservice using SOAPpy.
Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 2
Reputation:
Solved Threads: 0
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:
Any help would be greatly appreciated.
Thanks,
Soma.
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:
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
from SOAPpy import SOAPProxy url = 'http://IPaddress/WebServiceIDM/IDMWebService.asmx' n = 'http://tempuri.org/' s='http://tempuri.org/GetEmployeeDetail' server = SOAPProxy(url, namespace=n,soapaction=s) server.config.dumpSOAPOut = 1 server.config.dumpSOAPIn = 1 server.GetEmployeeDetail('2008-07-10','ACE0002')
Any help would be greatly appreciated.
Thanks,
Soma.
Last edited by peter_budo; Jul 10th, 2008 at 9:45 am. Reason: Keep It Organized - please use [code] tags
![]() |
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Web Service / Javascript Issue
- Next Thread: How to trace SOAP messages using WSE3.0
| Thread Tools | Search this Thread |
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn





