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

toby cabot updated AXIS-1772:
-----------------------------

    Attachment: 1772-testcase.jar

turns out the test case is small enough to attach.

> 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
>  Attachments: 1772-testcase.jar
>
> 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

Reply via email to