01-13-2010 04:50 AM
on System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
on System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
on Alfresco.RepositoryWebService.RepositoryService.update(CML statements) in U:\InfoPath\Alfresco\alfresco-dotNet-2\Alfresco\Web References\RepositoryWebService\Reference.cs:Line 356.
on Samples.ImageUploadExample.btnUpload_Click(Object sender, EventArgs e) in U:\InfoPath\Alfresco\alfresco-dotNet-2\Samples\ImageUploadExample.cs:Line 110.
UpdateResult[] updateResult = repoService.update(cml);
01-15-2010 09:58 AM
parentReference.path = "/app:company_home/app:user_homes/cm:x-alfresco";
are a problem in the example "ImageUpload2.cs". private String getUuid(Alfresco.RepositoryWebService.Store spacesStore)
{
String uuid = "";
Alfresco.RepositoryWebService.Query query = new Alfresco.RepositoryWebService.Query();
query.language = Alfresco.RepositoryWebService.QueryLanguageEnum.lucene;
query.statement = "@cm\\:name:\"x-alfresco\"";
QueryResult result = this.repoService.query(spacesStore, query, true);
if (result.resultSet.rows != null)
{
uuid = result.resultSet.rows[0].node.id;
}
return uuid;
}
and set theses in // Determine the uuid of the node, where the content should be saved
parentReference.uuid = getUuid(spacesStore);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.