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 "toby cabot (JIRA)" <ax...@ws.apache.org> on 2005/01/19 01:48:26 UTC

[jira] Commented: (AXIS-1772) CLONE -MessageElement is not (Java) serializable

     [ http://issues.apache.org/jira/browse/AXIS-1772?page=comments#action_57745 ]
     
toby cabot commented on AXIS-1772:
----------------------------------

org.apache.axis.description.OperationDesc isn't serializable because it contains a field of type java.lang.reflect.Method.  I think that there are some collection fields that also contain non-serializable fields, too.

org.apache.axis.description.JavaServiceDesc isn't Serializable, and it contains a field of type java.lang.reflect.Method.



> CLONE -MessageElement is not (Java) serializable
> ------------------------------------------------
>
>          Key: AXIS-1772
>          URL: http://issues.apache.org/jira/browse/AXIS-1772
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.1
>     Reporter: toby cabot

>
> a part of the request/response xml schema of our web service uses an <xsd:any> element to transport arbitrary xml content.
> using wsdl2java to generate the java beans, the <xsd:any> content is represented using an array of MessageElement objects, available via the get_any() method.
> when trying to pass around the generated java beans using native java serialization (e.g., in a remote ejb call) a NotSerializableException occurs, if the java bean contains a MessageElement as described above.
> although the MessageElement implements the java.io.Serializable interface, i suspect it is in fact not serializable because (at least in my case) it somehow references an OperationDesc object which is not serializable.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira