soapUI: query with DiscoveryServicePort
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2010 01:32 PM
hi everybody
i'd like to make some queries with soapUI through the query exposed by DiscoveryServicePort; when I run this query
BUT :cry: when I try to make the following query
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?
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! 
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?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010 06:26 AM
I resetted soapUI reloading the wsdl files and…..finally it works with the query I posted before!
maybe an error while loading the Wdsl definitions
To help people with the same issues I'll post the addresses of wsdl I used
Hope this Helps!
Valerio

To help people with the same issues I'll post the addresses of wsdl I used
http://cmis.alfresco.com/cmis/ACLService?wsdlhttp://localhost:8080/alfresco/cmis/DiscoveryService?wsdlhttp://localhost:8080/alfresco/cmis/MultiFilingService?wsdlhttp://localhost:8080/alfresco/cmis/NavigationService?wsdlhttp://localhost:8080/alfresco/cmis/ObjectService?wsdlhttp://localhost:8080/alfresco/cmis/PolicyService?wsdlhttp://localhost:8080/alfresco/cmis/RelationshipService?wsdlhttp://localhost:8080/alfresco/cmis/RepositoryService?wsdlhttp://localhost:8080/alfresco/cmis/VersioningService?wsdlhttp://localhost:8080/alfresco/wsdl/authentication-service.wsdl
Hope this Helps!

Valerio
