Ok forget about it, 

This line: 
<element name="permissions2" type="SOAP-ENC:Array"
wsdl:arrayType="types:permission[]"/>
crashes dotNet wsdl2Whatever thingy...

Sylvain.

-----Original Message-----
From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 3:20 PM
To: Axis-User (E-mail)
Subject: Array elements in complexType definition...


Hi all, 

The following WSDL:

  <complexType name="policy">
    <all>
      <element name="id" type="string"/><element name="permissions"
type="types:arrayOfPermission"/>
      <element name="permissions2" type="SOAP-ENC:Array"
wsdl:arrayType="types:permission[]"/>
    </all>
  </complexType>

Generates this code:

  public class Policy implements java.io.Serializable {    
        private java.lang.String id;    
        private com.cognos.developer.Permission[] permissions;    
        private java.lang.Object[] permissions2;

Shouldn't the permission2 data member be of type
com.cognos.developer.Permission[] as well?  Is this a bug?  If yes, that is
fine, because I would like to avoid to have to define complexTypes for my
arrays.   If not, is this syntax just not supported yet?

Thanks.
--
Sylvain 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to