CXF
  1. CXF
  2. CXF-4197

Get the schema validation error when using the simple frontend configuration with blueprint

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 2.5.2
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Simple Frontend
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Here is stack trace, when I want to create a simple server from a blueprint configuration.

      org.xml.sax.SAXParseException: src-resolve.4.2: Error resolving component 'serverType'. It was detected that 'serverType' is in namespace 'http://cxf.apache.org/simple', but components from this namespace are not referenceable from schema document 'bundle://172.0:1/schemas/blueprint/simple.xsd'. If this is the incorrect namespace, perhaps the prefix of 'serverType' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'bundle://172.0:1/schemas/blueprint/simple.xsd'.
      	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[:]
      	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
      	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
      

        Activity

        Hide
        Willem Jiang added a comment -

        Applied the patch into trunk, 2.5.x-fixes and 2.4.x-fixes branches.

        Show
        Willem Jiang added a comment - Applied the patch into trunk, 2.5.x-fixes and 2.4.x-fixes branches.

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Willem Jiang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development