Hello all, I am new to SOAP/WebServices and getting error when using HTTPS with it. Any help is appreciated. here is what i am doing:
import xml import fpconst import SOAPpy from SOAPpy import WSDL wsdlFile = 'https://xxxx..com/webService.wsdl' server = WSDL.Proxy(wsdlFile) It seems the WSDL file has been read but when it tried to GET the XSD file that is there in WSDL file, we get following error. File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.5/SOAPpy/WSDL.py", line 62, in __init__ self.wsdl = reader.loadFromStream(stream, wsdlsource) File "/var/lib/python-support/python2.5/SOAPpy/wstools/WSDLTools.py", line 34, in loadFromStream wsdl.load(document) File "/var/lib/python-support/python2.5/SOAPpy/wstools/WSDLTools.py", line 260, in load schema = reader.loadFromNode(WSDLToolsAdapter(self), item) File "/var/lib/python-support/python2.5/SOAPpy/wstools/XMLSchema.py", line 80, in loadFromNode schema.load(reader) File "/var/lib/python-support/python2.5/SOAPpy/wstools/XMLSchema.py", line 1088, in load self.addImportSchema(tp.getSchema()) File "/var/lib/python-support/python2.5/SOAPpy/wstools/XMLSchema.py", line 1205, in getSchema self._schema = reader.loadFromURL(url) File "/var/lib/python-support/python2.5/SOAPpy/wstools/XMLSchema.py", line 111, in loadFromURL reader.loadFromURL(url) File "/var/lib/python-support/python2.5/SOAPpy/wstools/XMLSchema.py", line 266, in loadFromURL self.__node = DOM.loadFromURL(url) File "/var/lib/python-support/python2.5/SOAPpy/wstools/Utility.py", line 614, in loadFromURL file = urlopen(url) File "/var/lib/python-support/python2.5/SOAPpy/wstools/Utility.py", line 155, in urlopen response = conn.getresponse() File "/usr/lib/python2.5/httplib.py", line 931, in getresponse response.begin() File "/usr/lib/python2.5/httplib.py", line 388, in begin version, status, reason = self._read_status() File "/usr/lib/python2.5/httplib.py", line 352, in _read_status raise BadStatusLine(line) Regards, Mike
-- http://mail.python.org/mailman/listinfo/python-list