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

<jaxws:schemaLocation> is ignored in blueprint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.6
    • None
    • OSGi
    • Karaf 4.0.5

    • 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

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

            Dates

              Created:
              Updated: