Axis1 Serialization/Deserialization Issue

A

andrewzzz

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.

code:


public class SoapPair{

public SoapPair(MessageContext mc) {}

public Message getLeft(){
return leftmsg
}

public Message getRight(){
return rightmsg;
}


protected void _serialize(final OutputStream out) throws
PostException {
}


public Message deSerialize(final InputStream in) throws
PostException {
}


protected void _encodePayload(OutputStream out) throws
PostException {
}


public Message decodePayload(InputStream in) throws PostException
{
}


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).


Thanks in Advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top