Not able to successfully call a webservice created in c# in python.

P

pratibha.kachi

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.
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'.>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top