kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

Relative imports and WSDL search paths #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I've noticed that you don't support relative WSDL includes - i.e., if I point 
SoapClient to "file://foo/bar.wsdl" and it references "baz.xsd", it's 
erroneously assumed to be outside "foo", at the root level.

I've added a wsdl_path argument to SoapClient and force lookups from there 
first, but would prefer this to be handled in a more generic fashion.

(a secondary aspect of this is that you then try to get http://baz.xsd, which, 
of course, is wrong, but understantable)

Original issue reported on code.google.com by rca...@gmail.com on 19 May 2013 at 10:01

GoogleCodeExporter commented 8 years ago
I can't find your changes, did you merged it into dev branch/bookmark?

Original comment by oczk...@gmail.com on 17 Aug 2013 at 8:19

GoogleCodeExporter commented 8 years ago
The code was there but wsdl_basedir needed to be specified.

Enhanced in revision dc94d413e678 to get automatically the base url from the 
wsdl.

Test added in d2d9ce804952

Original comment by reingart@gmail.com on 13 Sep 2013 at 6:05