Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-170

SoapEndpoint loadWsdl() does not support importing from relative paths

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      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.

      <xsd:import namespace="http://test.namespace/schemas/service1" schemaLocation="Service1/Requests.xsd"/>
      <xsd:include schemaLocation="../common/DataType.xsd"/>
      

      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.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            pfeltham Peter Feltham
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: