You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Peter Feltham (JIRA)" <ji...@apache.org> on 2007/08/21 03:15:22 UTC

[jira] Created: (SM-1036) SoapEndpoint loadWsdl() does not support importing from relative paths

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
            Priority: Minor
         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.