I figured out the problem, I needed to use the Property Info object to get the name, so I ended up using this code below to get what I needed.
SoapObject result = (SoapObject) response.getProperty("result");
SoapObject diffgram = (SoapObject) result.getProperty("diffgram");
SoapObject dataset = (SoapObject) diffgram.getProperty("NewDataSet");
for (int j = 0; j < dataset.getPropertyCount(); j++) {
SoapObject finalObject = (SoapObject) dataset.getProperty(j);
for (int i = 0; i < finalObject.getPropertyCount(); i++) {
Object object = finalObject.getProperty(i);
PropertyInfo propertyInfo = new PropertyInfo();
finalObject.getPropertyInfo(i, propertyInfo);
if (object instanceof SoapPrimitive) {
hashMap.put(propertyInfo.name, object.toString());
}
}
dataList.add(hashMap);
}