AnsweredAssumed Answered

soapUI: query with DiscoveryServicePort

Question asked by _valerio_ on Mar 19, 2010
Latest reply on Mar 22, 2010 by _valerio_
hi everybody
i'd like to make some queries with soapUI through the query exposed by DiscoveryServicePort; when I run this query
 SELECT cmis:name, cmis:objectId FROM cmis:document  WHERE IN_FOLDER('workspace://SpacesStore/15809b04-158e-400d-a2c9-e95279662e59')
the system returns the name and the IDs of the documents stored in the folder I was inspacting (i.e.workspace://SpacesStore/15809b04-158e-400d-a2c9-e95279662e59); as far as here all it's OK! :D

BUT :cry:  when I try to make the following query
     SELECT cmis:name, cmis:objectId FROM cmis:document  WHERE IN_FOLDER('workspace://SpacesStore/15809b04-158e-400d-a2c9-e95279662e59') AND cmis:name='document.txt' 
the system gives me back an empty envelope (I've tryed also some variation to my query, but the result is always the same)

where I'm making a mistake?

I want to make a query that gives me back a specific document stored in a specific folder, is there someone that can help me?

Outcomes