AnsweredAssumed Answered

Using Alfresco Webservice in .NET (VB.net)

Question asked by maheshlinga on Feb 13, 2007
Latest reply on Mar 6, 2014 by kaynezhang
Hi,

I downloaded the project Dotnet2 ,which when I opened in Visual Studio and try build the solution, I was getting the following errors:

*************************************************************

Error   3   The best overloaded method match for 'Alfresco.WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol)' has some invalid arguments   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   146   13   Alfresco
Error   4   Argument '1': cannot convert from 'Alfresco.AuthoringWebService.AuthoringService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   146   31   Alfresco
Error   5   The best overloaded method match for 'Alfresco.WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol)' has some invalid arguments   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   172   13   Alfresco
Error   6   Argument '1': cannot convert from 'Alfresco.ActionWebService.ActionService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   172   31   Alfresco
Error   7   The best overloaded method match for 'Alfresco.WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol)' has some invalid arguments   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   185   13   Alfresco
Error   8   Argument '1': cannot convert from 'Alfresco.AccessControlWebService.AccessControlService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'   C:\Documents and Settings\mlinga\My Documents\alfresco-dotNet-0[1].2Beta\Alfresco\WebServiceFactory.cs   185   31   Alfresco
*************************************************************
I am .net developer intend to us the Alfresco webservices.

Alfresco is running on Tomcat server in my system.I want to use local alfresco webservices.
Is there any thing to change in the project like Webservice reference to get rid of those errors?

Else could any one pls post a .NET sample code of using local Alfresco webservices ,just to show me the Way I have to approach.An example like uploading an image to local alfresco server will really help.

Thanks in advance.
Mahesh

Outcomes