Hi dims (is that a nickname?),

Thanks for the link. I have read the Axis docs but not the Wiki, I'll add it to my "search before posting" algorithm.

Cheers,
Stu

Davanum Srinivas wrote:
Yes, Stu. Known problem. We need as much help as we can. Yes, any help is becoming 
WS-I compliant
is welcome as well. 
(http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SubmitPatches)

thanks,
dims

--- "Stu Halloway (DevelopMentor)" <[EMAIL PROTECTED]> wrote:

Hi all,

I am building an Axis Web service to be consumed by a .NET client, and so far neither side's code generation or marshalling is behaving as I would expect.

Given this element:

  <xs:element name="Out1">
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Out1Item1" type="xs:string"/>
        <xs:element name="Out1Item2" type="xs:int"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

Axis is generating a class that allows only single values for Out1Item1 and Out1Item2, i.e.

    public class _Out1  implements java.io.Serializable {
    private java.lang.String out1Item1;
    private int out1Item2;

    public java.lang.String getOut1Item1() {
        return out1Item1;
    }

    public void setOut1Item1(java.lang.String out1Item1) {
        this.out1Item1 = out1Item1;
    }
    //etc.

Is this expected?

You can download the full example at
http://staff.develop.com/halloway/ReturnArrays.html. If this is a known bug I would be interested in helping to fix it.


Regards,
Stu
http://staff.develop.com/halloway/weblog




===== Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com




Reply via email to