Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1437

schemas without *.xsd extensions being fetched from the internet instead of locally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3
    • 2.0.5
    • Resources
    • None
    • Java 1.5.0_13 on 32-bit gutsy gibbon

    • Unknown

    Description

      When using the cxf extensions, the schema http://schemas.xmlsoap.org/wsdl/ is loaded. This schema is provided locally, but the local version is never loaded. In a production environment where the server restricted outbound connections, spring failed to initialize its application context at startup. Spring's DelegatingEntityResolver checks whether the schemaLocation ends in *.xsd before resolving its location through the entries provided by the spring.schemas files. Because this schemaLocation has no extension, the mapping to the local version is ignored.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              sshucker Steve Shucker
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: