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 Marios Moutzouris <m....@satways.net> on 2008/05/23 15:27:26 UTC

axis 1 and wrapped arrays

Hello,

I am using Axis1.4 and my response xml to a soap request is as follows:


            <findResourceResponse>
                <id>2000457602</id>
                <call_sign>plwto1</call_sign>
                <id>2000327602</id>
                <call_sign>skagfos</call_sign>
            </findResourceResponse>


The response is a single object and thefore I cannot get the two elements
(id/call-sign combo) separately, I only get the last pair (id/call_sign)
The WSDL piece referring to this is below.


How do I go about fixing this? I have tried the -w option on wsdl2java, but
no luck

<xs:complexType name="findResourceResponseType">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="id" type="tns:NUMERIC_22_0"
nillable="false" />
			<xs:element name="call_sign" type="tns:VARCHAR_100"
			nillable="true" />
		</xs:sequence>
	</xs:complexType>


Thanks
Marios


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org