You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case where an external WSDL of the form defines a schema import using an absolute path, i.e. something of the form <xsd:import namespace="urn:some-namespace" schemaLocation="//absolute/path/to/XSD.xsd"/>
ExternalResolver tries to treat this import as a local resource and fails. Shouldn't it rather try to compose the URL from the endpoint used in the initial WSDL request and the path to the XSD?
I've tried to do this using my own Resolver (as I also have to use basic HTTP authentication to access this private WSDL), and I had to also override setting baseDir, since in this case after updatectx() baseDir contains the '//absolute/path/to' path so just appending input to baseDir results in a wrong URL.
I have a case where an external WSDL of the form defines a schema import using an absolute path, i.e. something of the form
<xsd:import namespace="urn:some-namespace" schemaLocation="//absolute/path/to/XSD.xsd"/>
ExternalResolver tries to treat this import as a local resource and fails. Shouldn't it rather try to compose the URL from the endpoint used in the initial WSDL request and the path to the XSD?
I've tried to do this using my own Resolver (as I also have to use basic HTTP authentication to access this private WSDL), and I had to also override setting baseDir, since in this case after updatectx() baseDir contains the '//absolute/path/to' path so just appending input to baseDir results in a wrong URL.
The code I'm referring to is here.
The text was updated successfully, but these errors were encountered: