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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5
    • Component/s: Resources
    • Labels:
      None
    • Environment:

      Java 1.5.0_13 on 32-bit gutsy gibbon

    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: