soa-model icon indicating copy to clipboard operation
soa-model copied to clipboard

Import with schemaLocation whose URI begins with ".." Leads to ResourceDownloadException

Open rsolton opened this issue 10 years ago • 1 comments

The following type of relative path in the schemaLocation of an import is not resolved and produces an exception "com.predic8.xml.util.ResourceDownloadException":

<xsd:import namespace="urn:fault.ws.rsys.com" schemaLocation="../services/ResponsysWSService/_resources_/xsd/ResponsysWSFaults_Schema.xsd"/>

Here is an example wsdl that uses this pattern: https://ws5.responsys.net/webservices/wsdl/ResponsysWS_Level1.wsdl

rsolton avatar Mar 27 '14 03:03 rsolton

Thanks for reporting. We will fix this in a future release.

predic8 avatar Mar 27 '14 07:03 predic8