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

<jaxws:schemaLocation> is ignored in blueprint

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            fwassmer Felix Wassmer

            Dates

              Created:
              Updated:

              Slack

                Issue deployment