HI,
I need some help in understanding how to parse the KSOAP RESPONSE in j2me. below is the actual ksoap response i get after making a ksoap request.
<AddressArray>
<AddressBin>
<UserSeqID>200</UserSeqID>
<AddressID>115</AddressID>
<ZipCode>10005</ZipCode>
<IsPrimary>false</IsPrimary>
<State>New York</State>
<StateID>37</StateID>
<StateCode>NY</StateCode>
<City>New York Mills village</City>
<CityID>11701</CityID>
<StreetAddress>90 feet rd</StreetAddress>
<NickName>Gym</NickName>
</AddressBin>
<AddressBin>
<UserSeqID>200</UserSeqID>
<AddressID>110</AddressID>
<ZipCode>10002</ZipCode>
<IsPrimary>false</IsPrimary>
<State>New York</State>
<StateID>37</StateID>
<StateCode>NY</StateCode>
<City>New York city</City>
<CityID>11700</CityID>
<StreetAddress>5th Street</StreetAddress>
<NickName>Home</NickName>
</AddressBin>
<AddressBin>
<UserSeqID>200</UserSeqID>
<AddressID>114</AddressID>
<ZipCode>10002</ZipCode>
<IsPrimary>true</IsPrimary>
<State>New York</State>
<StateID>37</StateID>
<StateCode>NY</StateCode>
<City>New York city</City>
<CityID>11700</CityID>
<StreetAddress>4th Street</StreetAddress>
<NickName>Office</NickName>
</AddressBin>
</AddressArray>
here is the ksoap response template
<AddressArray>
<AddressBin>
<UserSeqID>int</UserSeqID>
<AddressID>int</AddressID>
<ZipCode>string</ZipCode>
<IsPrimary>boolean</IsPrimary>
<State>string</State>
<StateID>int</StateID>
<StateCode>string</StateCode>
<City>string</City>
<CityID>int</CityID>
<StreetAddress>string</StreetAddress>
<NickName>string</NickName>
</AddressBin>
<AddressBin>
<UserSeqID>int</UserSeqID>
<AddressID>int</AddressID>
<ZipCode>string</ZipCode>
<IsPrimary>boolean</IsPrimary>
<State>string</State>
<StateID>int</StateID>
<StateCode>string</StateCode>
<City>string</City>
<CityID>int</CityID>
<StreetAddress>string</StreetAddress>
<NickName>string</NickName>
</AddressBin>
</AddressArray>
please let me know how should i map the soap xml respone to custom java classes.
thanks
Sachin