WEB SERVICE IN DJANGO USING SOAP
Thanks for notification I am trying to develop web service using
django with soap interface i checked my code in python to open wsdl
file but its showing error i am sure that wsdl file dosent have any
errors this is my code>>> from SOAPpy import WSDL
>> server=WSDL.Proxy('D/soap/FlyppSms.wsdl')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python25\Lib\site-packages\SOAPpy\WSDL.py", line 67, in __init__
self.wsdl = reader.loadFromString(str(wsdlsource))
File "D:\Python25\Lib\site-packages\SOAPpy\wstools\WSDLTools.py", line 47, in
loadFromString
return self.loadFromStream(StringIO(data))
File "D:\Python25\Lib\site-packages\SOAPpy\wstools\WSDLTools.py", line 28, in
loadFromStream
document = DOM.loadDocument(stream)
File "D:\Python25\Lib\site-packages\SOAPpy\wstools\Utility.py", line 602, in l
oadDocument
return xml.dom.minidom.parse(data)
File "D:\Python25\Lib\site-packages\_xmlplus\dom\minidom.py", line 1915, in pa
rse
return expatbuilder.parse(file)
File "D:\Python25\Lib\site-packages\_xmlplus\dom\expatbuilder.py", line 930, i
n parse
result = builder.parseFile(file)
File "D:\Python25\Lib\site-packages\_xmlplus\dom\expatbuilder.py", line 207, i
n parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home