ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tyelperinq...@netscape.net
Subject Re: Access Process management API from Java code
Date Wed, 10 Sep 2008 12:34:34 GMT

 Thank you much, but now I have another question: the tutorial on http://ode.apache.org/bpel-management-api-specification.html
says many useful things, except one - how do I obtain variables from particular process instances?
I would like extract a part of the variable (declared as wsdl:message) and return it as org.w3c.dom.Document
(the data itself is actually an xforms model). And the last thing I would like to know (so
far ;-) is how to find out, which activity is currently being executed and to which operation
this activity points. I would by very thankful for any suggestions.

Jan Michalica


 


 

-----Original Message-----
From: Matthieu Riou <matthieu@offthelip.org>
To: user@ode.apache.org
Sent: Tue, 2 Sep 2008 7:09 pm
Subject: Re: Access Process management API from Java code










On Tue, Sep 2, 2008 at 4:20 AM, <tyelperinquar@netscape.net> wrote:

> Hello, I would like ask a very beginner's question about Process Management
> API. I would like to use interfaces from org.apache.ode.bpel.pmapi package.
> My intention is to use that API to obtain some variables' data from process
> instances. The question is: how do I obtain a reference to objects
> implementing those interfaces from another web application (my container is
> Tomcat 6). I have understood that special web services are dedicated to
> process management, however I would like to bypass web interface as my
> application will always run in the same container as ODE will.
>

You could hook to org.apache.ode.axis2.ODEServer.init(...) by subclassing
ODEServer and basically just calling super. Then use getInstanceManagement()
and getProcessManagement() to access the management interfaces and do
whatever you want with them.

Cheers,
Matthieu



 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message