ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tammo van Lessen" <tvanles...@gmail.com>
Subject Re: Instance Management API
Date Fri, 04 Jan 2008 17:46:31 GMT
Yap, it's been committed since yesterday by cory harper (r608610).

On Jan 4, 2008 6:31 PM, Rich Taylor <bhamtaylor@gmail.com> wrote:
> Hi Doug, I ran into this or something very similar a while back.  See the
> notes on this Jira - http://issues.apache.org/jira/browse/ODE-192.  There
> was an email from "cory" a few days ago that suggested he may be working on
> a fix for this.  I haven't had time to check it out yet.  - Rich
>
>
> On Jan 4, 2008 9:01 AM, Jackson, Douglas <djackso2@ugs.com> wrote:
>
> >
> > Hi!
> > I was trying to use the InstanceManagement web service as follows:
> >
> >     OMElement root = client.buildMessage("listInstances",
> >         new String[] {"filter", "order", "limit"},
> >         new String[] {"name=*test* namespace=http://test", "", "50"});
> >     OMElement result = client.send(root,
> >         "http://localhost:8080/ode/processes/InstanceManagement");
> >     InstanceInfoListDocument instanceInfoListDoc =
> >         InstanceInfoListDocument.Factory
> >            .parse(result.getXMLStreamReader());
> >
> > The filters were not working and it was always returning all of
> > the instances.
> > The call was getting into the
> >   org.apache.ode.dao.jpa.BPELDAOConnectionImpl
> > instanceQuery() method where the criteria.getNameFilter() and
> > criteria.getNamespaceFilter() are not used (just getPid and getStatus).
> >
> > On the ode website an example shows the use of the name and namespace,
> > but
> > It does not appear to me as if they will work.
> >
> > I was hoping to remove some processes that were defunct.
> > -Doug.
> >
> > P.S.
> > There is an error on the ode website under the "Management API" heading:
> >
> > OMElement result = client.send(msg,
> > "http://localhost:8080/ode/services/ProcessManagement");
> >
> > The URL should not be "services/" but rather "processes/".
> >
> > -Doug.
> >
> >
> >
>



-- 
Tammo van Lessen - tvanlessen@gmail.com - http://www.taval.de

Mime
View raw message