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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/12/06 07:54:14 UTC

[jira] Resolved: (AXIS2-4827) ADB class org.apache.axis2.databinding.types.Union does not implement java.io.Serializable

     [ https://issues.apache.org/jira/browse/AXIS2-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4827.
------------------------------------

    Resolution: Fixed

> ADB class org.apache.axis2.databinding.types.Union does not implement java.io.Serializable
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4827
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4827
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.1
>            Reporter: Aaron Gourley
>            Assignee: Andreas Veithen
>             Fix For: 1.6, 1.5.4
>
>
> When ADB is used as the databinding, all generated code is generated as serializable.  In our application, we actually have a SOAP gateway that acts as a proxy to another application and we pass the ADB beans directly between the gateway and the application using RMI.  We want to use xsd:union in our WSDL, but currently can not because the generated class extends Union which is not declared as serializable.
> If this was just an oversight, then the fix is trivial.  Make org.apache.axis2.databinding.types.Union implement Serializable.  If the concern is that the 'localObject' value within might not be serializable, then I would either suggest that the declaration of said variable be made serializable or you take a 'who cares' approach to its serializability (i.e. if someone puts something that isn't serializable in the Union object and tries to send it over RMI, then they've dug their own grave).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org