axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Langisch (JIRA)" <>
Subject [jira] Created: (AXIS-2049) Wrong xsi:type handling with complex types
Date Mon, 13 Jun 2005 10:05:48 GMT
Wrong xsi:type handling with complex types

         Key: AXIS-2049
     Project: Apache Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2.1    
 Environment: Windows XP SP2, JDK 1.4.2
    Reporter: Yves Langisch
    Priority: Critical

Given a response type in the WSDL as follows:

    <xs:complexType name="WellKnownAddresseeType">
            <xs:element name="Abc" minOccurs="0">
                        <xs:element name="BranchNumber" type="xs:string"/>
                        <xs:element name="Controls" type="tns:ControlsType"/>
            <xs:element name="Def" minOccurs="0">
                        <xs:element name="Controls" type="tns:ControlsType"/>

I have following response on the wire:

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd=""
         <MyResponse xmlns="">
            <HelloWorld>Solutions for open systems!</HelloWorld>
                  <Abc xsi:type="ns1:Abc" xmlns:ns1="">

Note the xsi:type="ns1:Abc" in the Abc element which is wrong (response doesn't validate).

I'll upload a complete project that shows the wrong behaviour.

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