axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Re: array test
Date Tue, 04 Dec 2001 02:55:11 GMT
Dug wrote:
>
> faultString: No deserializer defined for array type http://test.com/:foo

The error message seems pretty self explanatory to me.  Fix to test case included below:

   --- d:\tmp\deploy.wsdd  Mon Dec  3 20:23:36 2001
   +++ deploy.wsdd Mon Dec  3 21:47:37 2001
   @@ -1,5 +1,5 @@
     <deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/"
   -             xmlns:tt="http://test.com/"
   +             xmlns:tt="http://test.com"
                 xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
      <service name="testArray" provider="java:RPC">
        <parameter name="className" value="testArray" />
   --- d:\tmp\foo.java     Mon Dec  3 20:16:00 2001
   +++ foo.java    Mon Dec  3 21:51:17 2001
   @@ -1,6 +1,17 @@
    public class foo {
      private int i ;
   +  public foo() {
   +  }
      public foo(int i) {
        this.i = i ;
   +  }
   +  public int getI() {
   +    return i;
   +  }
   +  public void setI(int i) {
   +    this.i = i;
   +  }
   +  public String toString() {
   +    return "foo("+i+")";
      }
    }

New results:

   result: [foo(1), foo(2), foo(3)]

- Sam Ruby


Mime
View raw message