Axis1 Serialization/Deserialization Issue

Discussion in 'Java' started by andrewzzz, Dec 12, 2008.

  1. andrewzzz

    andrewzzz Guest

    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
    andrewzzz, Dec 12, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    627
    Sahil Malik
    May 14, 2004
  2. =?Utf-8?B?TWlrZSBMb2dhbg==?=

    NameValueCollection Serialization Deserialization

    =?Utf-8?B?TWlrZSBMb2dhbg==?=, Dec 22, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,954
    Karl Seguin
    Dec 23, 2004
  3. Nimmi Srivastav
    Replies:
    12
    Views:
    13,421
    EventHelix.com
    May 29, 2004
  4. andrewzzz
    Replies:
    0
    Views:
    314
    andrewzzz
    Dec 16, 2008
  5. Robert Millman

    Serialization / Deserialization across WebService Calls

    Robert Millman, Feb 5, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    95
Loading...

Share This Page