title: Parse ISO8583 XML in android (using android studio)
body: <p>I have this XML that i want to parse in android (android studio). Somebody please help. AM really stuck here.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; 
  &lt;message&gt; 
  &lt;isomsg direction="response"&gt;
  &lt;field id="0" value="ew8wqq"/&gt;
  &lt;field id="2" value="kdlaka"/&gt;
  &lt;field id="3" value="3388382"/&gt;
  &lt;field id="4" value="9302"/&gt;
  &lt;field id="7" value="02061212223721"/&gt;
  &lt;field id="11" value="9029221"/&gt;
  &lt;field id="12" value="38383"/&gt;
  &lt;field id="24" value="0920202"/&gt;
  &lt;field id="32" value="Texted"/&gt;
  &lt;field id="37" value="10031503992006830"/&gt;
  &lt;field id="41" value="93039292"/&gt;
  &lt;field id="49" value="uehee"/&gt;
  &lt;field id="56" value="938339939393"/&gt;
  &lt;field id="68" value="Test: 5001115750001"/&gt;
  &lt;field id="102" value="5001115750001"/&gt;
  &lt;field id="27" value="001"/&gt;
  &lt;field id="39" value="00"/&gt;
  &lt;field id="48" value="Successful"/&gt;
  &lt;field id="54" value="38288928383"/&gt;
  &lt;field id="58" value="73838383"/&gt;
  &lt;/isomsg&gt; 
  &lt;/message&gt;
  </code></pre>
  
  <p>I will really appreciate. Thanks very much</p>
  
  <p>Please find below the code that i use to get the response from the webservice</p>
  
  <pre><code>SoapObject request = new SoapObject("http://tempuri.org/", "PostRequest");
  SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
  envelope.dotNet = true;
  PropertyInfo pi = new PropertyInfo();
  pi.setName("IncomingXMLMessage");
  
  pi.setValue(GenerateXML());
  
  request.addProperty(pi);
  envelope.setOutputSoapObject(request);
  
  HttpTransportSE httpTransportSE = new HttpTransportSE("http://10.100.10.10:9000/IWalletService.asmx");
  SoapObject response = null;
  httpTransportSE.debug=true;             
  
  httpTransportSE.call("http://tempuri.org/PostRequest", envelope);
  
  response = (SoapObject)envelope.bodyIn;
  
  int totalCount = response.getPropertyCount();
  String resultString=httpTransportSE.responseDump;
  Log.d("XML data ", resultString);
  
  XmlPullParserFactory factory = XmlPullParserFactory
          .newInstance();
  factory.setNamespaceAware(true);
  XmlPullParser parser = factory.newPullParser();
  
  String uResultString=resultString.replaceAll("&amp;gt;", "&gt;");
  
  String uResultStringFinal=uResultString.replaceAll("&amp;lt;","&lt;");
  
  parser.setInput(new StringReader(uResultStringFinal));
  </code></pre>