0 Replies Latest reply on Nov 23, 2007 4:31 AM by java pani

    Serialized object in web service

    java pani Newbie

      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;