cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bricout (JIRA)" <>
Subject [jira] Created: (CXF-361) XML Binding: inconsistency in schema for WSDL Extension.
Date Wed, 10 Jan 2007 16:49:28 GMT
XML Binding: inconsistency in schema for WSDL Extension.

                 Key: CXF-361
             Project: CXF
          Issue Type: Bug
          Components: Resources
    Affects Versions: 2.0-M1
            Reporter: Michael Bricout
            Priority: Minor

The "xml-binding.xsd" schema file that is currently packaged in cxf-rt-bindings-xml only defines
the following WSDL extension:

	<xs:complexType name="XMLBindingMessageFormat">
			<xs:extension base="wsdl:tExtensibilityElement">
				<xs:sequence />
				<xs:attribute name="rootNode" type="xs:QName"
					use="optional" />
	<xs:element name="body" type="xformat:XMLBindingMessageFormat" />

This is the definition for the "xformat:body" element extending wsdl:binding/wsdl:operation/wsdl:input.

The schema is missing the declaration for the "xformat:binding" element that extends wsdl:binding.

That element can be found in the type_test_xml.wsdl for example:

    <wsdl:binding type="tns:TypeTestPortType" name="TypeTestXML">
        <!-- [...] -->

"type_test_xml.wsdl" does not validate against its schema

Also, two different versions of the ""xml-binding.xsd" schema exist in the code base. Their
are not consistent in their content, and they do not use the same target namespace.

For instance:

 - ./common/schemas/src/main/resources/schemas/wsdl/xml-binding.xsd
  target namespace: ""

 - ./rt/bindings/xml/src/main/resources/schemas/wsdl/xml-binding.xsd
  target namespace: ""

The first one actually defines the "xformat:binding" element, but in the wrong namespace.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message