SOAP generated for Vector [message #171534] |
Fri, 16 June 2006 21:15 |
Eclipse User |
|
|
|
Originally posted by: yitzchok.rentmagic.ca
Hi.
I'm returning a vector and getting the following SOAP:
------------------------------------------------------------
<soapenv:Body>
<lookUpResponse xmlns="http://ksoap2">
<lookUpReturn>
<contactItem>
<age>0</age>
<birthdate/>
<firstName/>
<lastName/>
<phone1/>
<salary>0</salary>
</contactItem>
<message/>
<vector xmlns:ns1="http://ksoap2" xsi:type="ns1:ContactItem">
<ns1:age>16</ns1:age>
<ns1:birthdate>1999-23-05</ns1:birthdate>
<ns1:firstName>Joe</ns1:firstName>
<ns1:lastName>Doe</ns1:lastName>
<ns1:phone1/>
<ns1:salary>1000</ns1:salary>
</vector>
<vector xmlns:ns2="http://ksoap2" xsi:type="ns2:ContactItem">
<ns2:age>16</ns2:age>
<ns2:birthdate>1999-23-05</ns2:birthdate>
<ns2:firstName>Joe</ns2:firstName>
<ns2:lastName>Doe</ns2:lastName>
<ns2:phone1/>
<ns2:salary>1000</ns2:salary>
</vector>
</lookUpReturn>
</lookUpResponse>
</soapenv:Body>
------------------------------------------------------------
The vector itself looks like:
<vector xmlns:ns2="http://ksoap2" xsi:type="ns2:ContactItem">
</vector>
<vector xmlns:ns2="http://ksoap2" xsi:type="ns2:ContactItem">
</vector>
The complete vector is not wrapped in its own tag, i.e.
<Vector>
<vector xmlns:ns2="http://ksoap2" xsi:type="ns2:ContactItem">
</vector>
<vector xmlns:ns2="http://ksoap2" xsi:type="ns2:ContactItem">
</vector>
</Vector>
Is there a way to have the vector be wrapped in one tag?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03705 seconds