Hello,first of all I'm using C# and I'm trying to get properties definitions and properties values of my custom type using Web Services. I use Repository Service to get values and Dictionary Service to get property definitions, but it don't work the way I need. I have reference to the instance of my custom type, but I don't know its properties, so I tried something like this:Predicate predicate = new Predicate();
predicate.Items = new Object[] { reference };
Node[] nodes = WebServiceFactory.getRepositoryService().get(predicate);
foreach (NamedValue nv in nodes[0].properties)
{
string propValue = nv.value;
PropertyDefinition [] propDefinitions = WebServiceFactory.getDictionaryService().getProperties(new string[] { nv.name} );
string propTitle = propDefinitions[0].title;
string propDataType = propdefinitions[0].dataType;
}
But I get exception at this line:PropertyDefinition [] propDefinitions = WebServiceFactory.getDictionaryService().getProperties(new string[] { nv.name} );Stack trace for exception look like this:in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
in Alfresco.DictionaryService.getProperties(String[] propertyNames) in ….