[
https://issues.apache.org/activemq/browse/SM-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SM-1036.
---------------------------------
Assignee: Guillaume Nodet
Fix Version/s: servicemix-shared-2008.02
servicemix-http-2008.02
Resolution: Fixed
Sending
src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Adding
src/test/java/org/apache/servicemix/http/HttpEndpointLoadWsdlTest.java
Adding src/test/resources/org/apache/servicemix/http/wsdl
Adding src/test/resources/org/apache/servicemix/http/wsdl/Service1
Adding
src/test/resources/org/apache/servicemix/http/wsdl/Service1/Requests.xsd
Adding
src/test/resources/org/apache/servicemix/http/wsdl/Service1/Responses.xsd
Adding
src/test/resources/org/apache/servicemix/http/wsdl/Service1/subschema
Adding
src/test/resources/org/apache/servicemix/http/wsdl/Service1/subschema/SubSchema.xsd
Adding src/test/resources/org/apache/servicemix/http/wsdl/common
Adding
src/test/resources/org/apache/servicemix/http/wsdl/common/DataType.xsd
Adding
src/test/resources/org/apache/servicemix/http/wsdl/common/Fault.xsd
Adding
src/test/resources/org/apache/servicemix/http/wsdl/common/TestEnum.xsd
Adding src/test/resources/org/apache/servicemix/http/wsdl/relative.wsdl
Transmitting file data .........
Committed revision 721997.
Sending
servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapEndpoint.java
Transmitting file data .
Committed revision 721996.
> SoapEndpoint loadWsdl() does not support importing from relative paths
> ----------------------------------------------------------------------
>
> Key: SM-1036
> URL: https://issues.apache.org/activemq/browse/SM-1036
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-http, servicemix-soap
> Affects Versions: 3.1.1
> Reporter: Peter Feltham
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: servicemix-shared-2008.02, servicemix-http-2008.02
>
> Attachments: wsdl-include-paths.patch
>
>
> When a WSDL specified in an HTTP endpoint's wsdlResource property contains
> imports that reference a relative path as in the following examples, those
> resources are not available at the service's URL.
> {code}
> <xsd:import namespace="http://test.namespace/schemas/service1"
> schemaLocation="Service1/Requests.xsd"/>
> <xsd:include schemaLocation="../common/DataType.xsd"/>
> {code}
> I have attached a patch (to the current version in SVN) that fixes this
> issue, and also adds support for <include> as well as <import> in schema
> definitions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.