Not able to successfully call a webservice created in c# in python.
I have created a webservice in C# which I am able to call in win Form
client but when I call it using python it gives http 415 error.
import SOAPpy
server = SOAPpy.SOAPProxy("http://localhost:8731/Design_Time_Addresses/WcfSe
rviceLibrary1/Service1/WS")
print server.GetData(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\python25\lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\python25\lib\xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "C:\python25\lib\xmlrpclib.py", line 1191, in request
headers
xmlrpclib.ProtocolError: <ProtocolError for localhost:8731/
Design_Time_Addresses
/WcfServiceLibrary1/Service1/WS: 415 Cannot process the message
because the cont
ent type 'text/xml' was not the expected type 'application/soap+xml;
charset=utf
-8'.>
.
Relevant Pages
- Re: Webservice or not Advice
... Http is not a guarantted protocol though. ... longas the client does the same) as a aecondary argument. ... also calculate a hash value once the dataset is received. ... I'm wondering since im calling up a webservice to pass a ... (microsoft.public.dotnet.distributed_apps) - RE: How to access web service
... to achieve that you whould use the Http*.* Win32 APIs ... and access the WebService using "Get", another thing you can do is to ... > I need to dynamically create a webservice client object and call the method in the web service. ... (microsoft.public.dotnet.languages.vc) - HTTP 1.1 pipelining
... can some one guide me how to use HTTP 1.1 pipelining in Python. ... Client will generate 3 get requests continuously as shown below and ... i m a python newbie and pls forgive me if this question sounds silly. ... (comp.lang.python) - [UNIX] Alteon ACEdirector Signature/Security Bug
... A new security bug has been discovered in the Nortel Alteon ACEdirector ... HTTP clients could exploit it to determine the IP addresses of ostensibly ... "hidden" web servers that are load-balanced by the ACEdirector. ... uses it to persistently map a series of HTTP client requests to the same ... (Securiteam) - Alteon ACEdirector signature/security bug
... This is to inform you of a bug in the Nortel Alteon ACEdirector ... balance incoming HTTP requests made to one virtual IP address ... amongst the real IP addresses of multiple HTTP servers. ... series of HTTP client requests to the the same one of the real HTTP ... (Bugtraq) |
|