HI Naresh,
 
You can use the BeanSerializer.
 
I am doing something similar. I have a Bean containing a Bean and a Vector of other Beans and it works fine.   
 
Kai

 
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 = "">
    }
 
    public int getData() {
        return Data;
    }
 
}
 
class outer {
 
    private int Data;
    private inner in;
 
    public outer()
    public setData(int d) {
        Data = "">
    }
 
    public int getData() {
        return Data;
    }
 
    public setInnerBean(inner i {
        in = i;
    }
 
    public inner getInnerBean() {
        return in;
    }
 
}

Reply via email to