0 Replies Latest reply on Aug 27, 2010 8:00 AM by sebge2

    CXF external schema location

      Hello,

       

      I'm facing a problem with CXF when the WSDL is automatically generated. I use XmlBeans as the data binder. Some of my XSD import other schema thanks to their full qualified names like these:

      <xsd:import namespace="http://www.myCompany.com/sf/scheduler/core"

      schemaLocation="http://www.myCompany.com/schemas/sf/scheduler/core/scheduler-core.xsd"/>

      <xsd:import namespace="http://www.myCompany.com/sf/execution/core"

      schemaLocation="http://www.myCompany.com/schemas/sf/execution/core-interface/execution-core.xsd"/>

       

       

       

      Unfortunately, it tries to load the local file:

       

      schemaorg_apache_xmlbeans/src/http://www.myCompany.com/schemas/sf/scheduler/core/scheduler-core.xsd

       

      while the schema is in: schemaorg_apache_xmlbeans\src\com\myCompany\sf\scheduler\core\scheduler-core.xsd

       

       

      Is there a way to configure an XmlSchemaCatalog avoiding to load the schema from the net? Like that HTTP URL could be mapped to a local XSD file.

       

      Thanks!