Hello Nivin, Could you please hit the "switch to copy-and-paste view" link at the top of the tradeback and copy that? The bottom of a traceback is often the most useful for debugging. Feel free to paste it or relevant code at github gist <https://gist.github.com/> and send the link if you want to preserve formatting.
On Wed, Mar 18, 2015 at 11:23 AM, Nivin Paul <[email protected]> wrote: > I need to call a web service that written using SOAP from a django > application , to do that i used the following code but i got error as in > the attached screenshot. Please help > > > import httplib > from xml.dom import minidom > > http.request("POST", "/path/to/my/webservice", body=xml, headers = { > "Host": "myservername", > "Content-Type": "text/xml; charset=UTF-8", > "Content-Length": len(xml) > }) > > print minidom.parseString(http.getresponse().read()) > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/254af2fd-3406-4b79-a45c-a7c1fffb35d3%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/254af2fd-3406-4b79-a45c-a7c1fffb35d3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2By5TLbFCcFOMkx9zfFHZNR6XkkJHBwOar%3DxtjR85HeXzxXE9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

