[jboss-user] [JBossWS] - Serialized object in web service

rashmi_yes do-not-reply at jboss.com
Fri Nov 23 04:31:47 EST 2007


Hi,
Is it possible to use user defined objects(serialized) in java web service between client & server?

I have created an object(shared between client & server) in server & returned to client. But I am not able to get the actual values in the client. 
When I try to get the values from the returned object, it is not showing its attributes. It compiles without error. 

Please let me know if you have any idea.

Here is my object :
public class ValueVO implements Serializable{   
    String a1 = null;
    String a2 = null;
    public ValueVO(String a1, String a2) {
        this.a1 = a1;
        this.a2 = a2;
    }    
    public String getA1() {
        return this.a1;
    }
    public String getA2() {
        return this.a2;
    }
}


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107263#4107263

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107263



More information about the jboss-user mailing list