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

<jaxws:schemaLocation> is ignored in blueprint

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.6
    • Fix Version/s: None
    • Component/s: OSGi
    • Labels:
    • Environment:

      Karaf 4.0.5

    • Estimated Complexity:
      Unknown

      Description

      Using cxf blueprint configuration, the schemaLocation attribute is ignored.

      sample config in blueprint
      <jaxws:endpoint id="sample-web-service" implementor="#sampleWebService" address="http://localhost:56021/services/sample">
      	<jaxws:schemaLocations>
      		<jaxws:schemaLocation>schema/broken.xsd</jaxws:schemaLocation>		
      	</jaxws:schemaLocations>
      </jaxws:endpoint>
      

      Looking at the code, aries blueprint parser hands over the element to org.apache.cxf.jaxws.blueprint.JAXWSBPNamespaceHandler#parse which then just returns null, because there is no parser defined for this element name.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fwassmer Felix Wassmer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: