Hii'm trying to make a query.i used this code
makeRepositoryStore("SpacesStore");//creazione dello store
setRepositoryRef(spacesStoreRep, null, x.id);
//this is the store creation, user already authenticated via authentication tools
Alfresco.RepositoryWebService.Query query = new Alfresco.RepositoryWebService.Query();
query.language= Alfresco.RepositoryWebService.QueryLanguageEnum.xpath;
query.statement="*";
int batchsize = 10;
QueryConfiguration querycfg = new QueryConfiguration();
querycfg.fetchSize = batchsize;
querycfg.Relay = true;
QueryResult testquery= new QueryResult();
testquery = repoService.query(spacesStoreRep, query, true);
having this private RepositoryService repoServiceand
private void setRepositoryRef(Alfresco.RepositoryWebService.Store spstore, String percorso, String id)
{
referenzaRep = new Alfresco.RepositoryWebService.Reference();
if (spstore != null)
{
referenzaRep.store = spstore;
if (percorso != null) referenzaRep.path = percorso; //"/app:company_home"
if (id != null) referenzaRep.uuid = id;
}
}
the query code give me ever a soapexception. All other is fine and working!I don't know:1) how to use queryconfiguration(it's correct to create a new queryconfiguration, but where to use it??)2) why it ever bother me with soapexceptions.i cannot use soapBindingStubs because in web services they are not present.Thanks for any hinttz