You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Peter Canning (JIRA)" <ax...@ws.apache.org> on 2005/11/02 01:50:55 UTC

[jira] Updated: (AXIS-2280) Array elements of derived (XSD extension type) are not serialized correctly

     [ http://issues.apache.org/jira/browse/AXIS-2280?page=all ]

Peter Canning updated AXIS-2280:
--------------------------------

    Attachment: arrayExtensionTest.wsdl

I generate client and server stubs from this WSDL using the following command-lines:

java -cp $AXIS_JARS org.apache.axis.wsdl.WSDL2Java -v -p arrayExtensionTest.client -o stubs arrayExtensionTest.wsdl
java -cp $AXIS_JARS org.apache.axis.wsdl.WSDL2Java -v -p arrayExtensionTest.server -o stubs --server-side --skeletonDeploy true arrayExtensionTest.wsdl

and compile the stubs with

javac -g -classpath classes:$AXIS_JARS -d classes stubs/arrayExtensionTest/client/*.java stubs/arrayExtensionTest/server/*.java


> Array elements of derived (XSD extension type) are not serialized correctly
> ---------------------------------------------------------------------------
>
>          Key: AXIS-2280
>          URL: http://issues.apache.org/jira/browse/AXIS-2280
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.3
>     Reporter: Peter Canning
>     Priority: Blocker
>  Attachments: arrayExtensionTest.wsdl
>
> This is a regression from Axis (Java) 1.2.1.
> If an operation take a parameter whose type is an array (maxOccurs="unbounded") of a base type, and the client passes an array containing a value whose type is derived (an XSD extension) from the base type, the value is serialized as the base type, and the additional elements in the derived type are omitted.  In addtion the element  for the value is missing the expected xsi:type attribute.
> I will attach an example to demonstate the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira