Yap, it's been committed since yesterday by cory harper (r608610). On Jan 4, 2008 6:31 PM, Rich Taylor <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED] - http://www.taval.de
