Hi, I'm developing for my thesis a java project implemented ad the top of Axis1. I should implement an addition handler for Axis1 (and wss4j). I've almost done all the work..but I have a big problem that I cannot solve..: have to implement serialization/deserialization methods to a class (called SoapPair) using Axis serialization/deserialization. The class SoapPair ,as the name indicates, contains a Soap message divided into header+body . At the constructor receives a MessageContext obect from Axis.
I have to implement those methods but I don't know how.. I have to call them from a test class that simulates Axis engine (passing to soappair a MessageContext obj).
Aside: I can only think of one reason why you have to deal with object (de)serialization in Axis 1.x - because the "RPC/encoded" messaging mode was Axis 1.x default mode of operation. Current generation web services do not support RPC/encoded at all because RPC/encoded caused more trouble then it was worth. So if that is in fact at the root of your problem then you may want to reconsider your approach in your current project.
Hi..my aim is to serialize/deserialize my "SoapPair" class , that contains Axis MessageContext obj (SoapPair receives this from its constructor), not serializable object(when trying to normally serialize , it returns "axis MessageContext not serializable").. How do I serialize/deser the SoapPair class? Do I have to use SerializationContext/Deser context? How? Thanks in Advance.