1
Reply

How to convert XML soap response into object

Tamil Iniyan

Tamil Iniyan

Mar 15 2017 11:53 PM
176
Dear Team,
Below is my xml soap response. could you please tell how can we convert that into object.
 
 
<?xml version="1.0"?>
-<tns1:RetrieveAccountDetailsResponse xmlns:tns="http://www.example.org/wsdl/1489569158037" xmlns:tns1="http://www.example.org/RetrieveAccount">
-<tns:Account xmlns:tns="http://www.example.org/RetrieveAccount">
-<tns:AccountConfiguration>
<tns:myAccountServiceID>1</tns:myAccountServiceID>
<tns:myAccountServices>Activation</tns:myAccountServices>
</tns:AccountConfiguration>
</tns:Account>
-<tns:AddressInformation xmlns:tns="http://www.example.org/RetrieveAccount">
<tns:addressID>2</tns:addressID>
</tns:AddressInformation>
</tns1:RetrieveAccountDetailsResponse>
 

Answers (1)