You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Rutherford, Matthew" <Ma...@DrKW.com> on 2006/01/16 18:32:57 UTC
axis1.3 support for 2D arrays
Hi
I have a complex data type that I need to generate wsdl for via Axis. It
contains a 2D array of type String. So far, I have not been able to generate
the wsdl correctly.
It ends up as:
<complexType name="ArrayOf_xsd_string">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="EventFilters">
<sequence>
<element maxOccurs="unbounded" name="ids" nillable="true"
type="xsd:long" />
<element maxOccurs="unbounded" name="names" nillable="true"
type="xsd:string" />
<element maxOccurs="unbounded" name="parameters" nillable="true"
type="impl:ArrayOf_xsd_string" />
</sequence>
</complexType>
private String[][] parameters;
I have the following getters,setters:
setParameters(String[][] parameters)
setParameters(int i, String[] parameters)
setParameters(int i, int j, String parameters)
String[][] getParameters()
String[] getParameters(int i)
String getParameters(int i,int j)
What am I missing? Or does Axis not support wsdl generation for 2D arrays?
Matthew Rutherford
Digital Markets - Research team
Dresdner Kleinwort Wasserstein
+44 (0) 20 7475 2523
------
--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------
Re: axis1.3 support for 2D arrays
Posted by Julien Wajsberg <ju...@francetelecom.com>.
Rutherford, Matthew a écrit :
> Hi
> I have a complex data type that I need to generate wsdl for via Axis.
> It contains a 2D array of type String. So far, I have not been able to
> generate the wsdl correctly.
> It ends up as:
>
> (...)
>
> What am I missing? Or does Axis not support wsdl generation for 2D arrays?
>
What's the problem ? It seems good to me...