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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to