axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Leone" <leoniss...@gmail.com>
Subject [AXIS2] EndpointReference Serialization
Date Wed, 28 Mar 2007 08:18:52 GMT
Hi!
I have some trouble with EndpointReference serialization, in particular when
i use
an Endpoint Reference with ReferenceParameters, i have a notSerializable
exception
referred to org.apache.axiom.om.impl.llom.OMElementImpl . I guess that the
OMElement
used ad ReferenceParameters is the origin of the problem, i just take a look
to the EndpointReference source
of axis2-1.1.1 but i find that there is a Map to collect the OMElement
rappresenting ReferenceParameters but there are not
in the class the readObject and writeObject method to permit the
serialization of this map of OMElement.
One possible solution is to transform EndpointReference in the realtive
OMElement (by EndpointReferenceHelper), then serializing with
OMElement.serialize()
and then, after the deserialization, transforming the OMElement in
EndpointReference. A little bit complicated..any suggestions?
Thanks
Francesco Leone

Mime
View raw message