}
bodyContent.addChild(child);
}
}
} else if (dataType instanceof ValueType || dataType instanceof Struct) {
AbstractValue resValue = (AbstractValue) resObject;
Member[] members = resValue.getMembers();
Object[] memberValues = resValue.getMemberValues();
OMNamespace ns = getNameSpaceForType(fac, service, (CompositeDataType) dataType);
for (int i = 0; i < memberValues.length; i++) {
OMElement memberElement = fac.createOMElement(members[i].getName(), ns);
processResponse(memberElement, bodyContent, memberValues[i], members[i].getDataType(), fac, ns, qualified, service);
child.addChild(memberElement);