versionone - V1APIConnector returning 0 results for any query -


I am using V1APIConnector to connect to my version on application. For any queries I execute, I always get 0 records in the result. The below I am using is a part of the code:

  V1APIConnector dataconnector = new V1APIConnector (_dataUrl, _username, _password); V1APIConnector metaconnector = new V1APIConnector (_metaUrl); Imatamodel Metamold = New Metamodel (Metaconductor); Eyeservices service = new services (Metamod, datacancer); System.out.println ("create a query"); IAssetType Fault Type = Metamodel. Get Asset Type ("Defect"); Query query = new query (bug type); IAttributeDefinition nameAttribute = Defects type. GetAttributeDefinition ("name"); Add query.getSelection () (nameAttribute) .; Query.getPaging () setPageSize (3) Query.getPaging () setStart (0). System.out.println ("retrieve query"); Query result result = services.retrieve (query); System.out.println ("Result Size:" + Results .getAssets (.) Length);  

There are thousands of flaws in my V1 application. Even if I ask for a particular user, then member: 1000, I get 0 replies, even if the member is present. . Is there something in the code that is not right?

Thank you for your help, R.

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -