axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <...@us.ibm.com>
Subject Re: array test
Date Tue, 04 Dec 2001 11:51:56 GMT
doi!
-Dug

Sam Ruby/Raleigh/IBM@IBMUS on 12/03/2001 09:55:11 PM

Please respond to axis-dev@xml.apache.org

To:   axis-dev@xml.apache.org
cc:
Subject:  Re: array test



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