Title: Returning a Bean with a Bean Array as a propery

Hi,
I have been trying to work through a problem.  I have noticed that this issues does exist within the user and dev archives as well as a bug which seems to be related, but I have not seen any answers/solutions or help of any sort.

I have a service call which returns a bean that has as a property a bean array  (server uses Axis 1.2 beta3).

//The bean I am returning.
Class Bar
{
  private String barBar;
  private Foo[] fooBar;

  public String getBarBar()
  { ... }
  public void setBarBar(String newBarBar)
  { ... }

  public Foo[] getFooBar()
  { ... }
  public void setFooBar(Foo[] newFooBar)
  { ... }
}

//The bean which is a property bean array for the above bean which is being returned.
Class Foo
{
  private String fooFoo;
  public String getFooFoo()
  { ... }
  public void setFooFoo(String newFooFoo)
  { ... }
}


My problem is that I do not get the full array of Foo back when calling getFooBar on the returned Bar.  All I get when using the the Axis 1.2 beta3 client is the last element in the array of Foo.  When using the .NET client I get an array of 0.

Any help or suggestions would be greatly appreciated.

marcus

Reply via email to