ASAPException.ASAP_INVALID_INSTANCE_KEY, e.getMessage());
return;
}
SOAPBodyElement instancesNode = createAsapResponseNode(respMsg,
Consts.LIST_INSTANCES_RESPONSE);
Collection procs = procMgr.processes();
for (Iterator i = procs.iterator(); i.hasNext();) {
Process proc = (Process) i.next();
SOAPElement instance = instancesNode.addChildElement("Instance",
Consts.ASAP_PREFIX);
SOAPElement instanceKey = instance.addChildElement("InstanceKey",
Consts.ASAP_PREFIX);
ResourceReference procResRef = new ResourceReference(
getResourceReference().getBaseUrl(), proc);