Hello,
I have a weird issue. When accessing a WSDL from a local computer I
can parse and use the wsdl without problems, but when an upload the
code into the production server I get errors concerning the xml.xsd
download, it sasys it can't download
http://www.w3.org/2001/xml.xsd
I've also tried to get the scham from a local file:
ns='http://www.w3.org/XML/1998/namespace'
location ='file:///tmp/schemas/xml.xsd'
Import.bind(ns, location)
ns = 'http://www.w3.org/2001/XMLSchema'
location ='file:///tmp/schemas/XMLSchema.xsd'
Import.bind(ns, location)
but I get 'NoneType' object has no attribute 'promotePrefixes' error.
As a workarround I'm copying the local cache to the server cache and
it works, but I don't like at all, as I don't know why on local works
and not on production.
Any help would be greatly appreciated.
--
Antoni Aloy López
Blog:
http://trespams.com
Site:
http://apsl.net