axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mr. Document Service" <mrdocserv...@yahoo.com>
Subject Re: Does AXIS provide serializers/deserializers for nested javabeans?
Date Thu, 12 Jun 2003 18:44:29 GMT
Hello
 
Do you have sample serializers and deserializer for this?
 
thank you very much

"Agarwal, Naresh" <nagarwal@informatica.com> wrote:
Hi
 
Say "inner" and "outer" are two java beans (see below for their definition) . "outer" bean
contains "inner" bean.
 
Now one of my functions return "outer" bean.  I want to expose this function as Web Service
using AXIS. Do I need to write serializer and deserializer for this OR I can use the AXIS
in-built serializer and deserializer.
 
thanks,
 
Naresh Agarwal
 
------------------------------------------------
 
class inner {
 
    private int Data;
    public inner()
 
    public setData(int d) {
        Data = d;
    }
 
    public int getData() {
        return Data;
    }
 
}
 
class outer {
 
    private int Data;
    private inner in;
 
    public outer()
    public setData(int d) {
        Data = d;
    }
 
    public int getData() {
        return Data;
    }

 
    public setInnerBean(inner i {         in = i;
    }
 
    public inner getInnerBean() {
        return in;
    }


 
}


---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
Mime
View raw message