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 ji...@apache.org on 2004/04/10 23:13:49 UTC

[jira] Closed: (AXIS-1296) MessageElement is not (Java) serializable

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Sat, 10 Apr 2004 2:12 PM

Confirmed that this has been fixed in Axis 1.2 Beta and latest cvs.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1296

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1296
    Summary: MessageElement is not (Java) serializable
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis
 Components: 
             Serialization/Deserialization
   Fix Fors:
             current (nightly)
   Versions:
             1.1

   Assignee: 
   Reporter: Patrick Peck

    Created: Fri, 9 Apr 2004 5:13 AM
    Updated: Sat, 10 Apr 2004 2:12 PM

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
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