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 "Steve Green (JIRA)" <ax...@ws.apache.org> on 2004/11/15 21:25:33 UTC
[jira] Updated: (AXIS-1668) SerializationContext does not force xsi:type when the WSDLJava generated metadata, and shouldSendType=false
[ http://nagoya.apache.org/jira/browse/AXIS-1668?page=history ]
Steve Green updated AXIS-1668:
------------------------------
Attachment: ser.patch
This patch fixes the problem. It's a copy-paste-modify from another section of the same method.
> SerializationContext does not force xsi:type when the WSDLJava generated metadata, and shouldSendType=false
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS-1668
> URL: http://nagoya.apache.org/jira/browse/AXIS-1668
> Project: Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: current (nightly)
> Reporter: Steve Green
> Attachments: ser.patch
>
> SerializationContext.serializeActual will force the xsi:type attribute (no matter what the setting for sendType) when the type being sent is not the same as the expected type, but only when there is a serializer in the type registry. This is necessary to implement polymorphism. When the type being serialized does not have a type registry entry, the serializer and type info is obtained from the bean itself. In this case, xsi:type is not being forced when it should be.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira