Tammo van Lessen escribió:
Antonio,
the (process& instance) management API is exposed as JBI service
automatically. Please see the JMX console or try to bind
Thanks Tammo, i can connect through JMX console, but I get some errors
when executing the operations. Anyway, can you point me to some
documentation on how to use those bindings? I want to integrate them in
my REST Service like:
@GET
@Path("/deploys/")
@Produces("application/xml")
public Deploys getDeploys() {
System.out.println("----invoking getDeploys");
// This would be the new functionality
public static final QName PM_SERVICE_NAME = new
QName("http://www.apache.org/ode/pmapi", "ProcessManagementService");
public static final String PM_PORT_NAME =
"ProcessManagementPort";
// Bind to ODE jbi management endpoint.
// Execute a listAllProcesses operation to retrieve the
deployed sa's.
// Build a reply with the data retrieved.
// This is the old functionality
Collection<Deploy> c = new ArrayList<Deploy>();
Deploys d = new Deploys();
d.setDeploys(c);
Iterator<Long> it = deploys.keySet().iterator();
while (it.hasNext()) {
Deploy d_ = deploys.get(it.next());
c.add(d_);
}
return d;
}
BR,
Antonio
public static final QName PM_SERVICE_NAME = new
QName("http://www.apache.org/ode/pmapi", "ProcessManagementService");
public static final String PM_PORT_NAME = "ProcessManagementPort";
public static final QName IM_SERVICE_NAME = new
QName("http://www.apache.org/ode/pmapi", "InstanceManagementService");
public static final String IM_PORT_NAME = "InstanceManagementPort";
HTH,
Tammo
On 11.02.2010 18:26, Antonio Marín Cerezuela wrote:
Hello,
I'm trying to develop a service to manage the deployments for ODE on a
FUSE 4 distribution. I have seen that the Axis-2 based API is only
available in the WAR Dsitribution. Is there any way to manage ODE in the
JBI distribution that makes feasible the deployment service?
To note, I'm writing the service using CXF and JAX-RS to provide a
RESTFul Deployment Service.
BR,
Antonio