Process and Management response does not conform to the PMAPI schema.
---------------------------------------------------------------------

                 Key: ODE-234
                 URL: https://issues.apache.org/jira/browse/ODE-234
             Project: ODE
          Issue Type: Bug
          Components: Axis2 Integration
    Affects Versions: 1.2
            Reporter: Douglas Scott Jackson


The following patch fixes a problem where the properties and endpoints elements 
are missing from the process-info
element returned by the listProcessesCustom endpoint.

Index: 
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
===================================================================
--- 
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
 (rev ision 612598)
+++ bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInst
+++ anceManagementImpl.java (wor
king copy)
@@ -748,6 +748,9 @@
                 propNode.appendChild(node2append);
             }
         }
+        else {
+           info.addNewProperties();
+        }

         OProcess oprocess = _server.getOProcess(pconf.getProcessId());
         if (custom.includeEndpoints() && oprocess != null) { @@ -766,6 +769,9 
@@
                 }
             }
         }
+        else {
+           info.addNewEndpoints();
+        }

     }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to