<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calling Alfresco Web Services from C# in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203486#M156616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much for sharing your experience with calling Alfresco web services, this was very helpful. I could not solve the issues as I did not follow few of the instructions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 1 The best overloaded method match for 'WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol)' has some invalid arguments&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 2 Argument '1': cannot convert from 'Alfresco.RepositoryWebService.RepositoryService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A close observation revealed that addSecurityHeader was expecting Microsoft.Web.Services3.WebServicesClientProtocol object the service objects which we were passing were derived from SoapHttpClientProtocol class. I found that Microsoft.Web.Services3.WebServicesClientProtocol itself derives from SoapHttpClientProtocol, so I just let the web services class derive from Microsoft.Web.Services3.WebServicesClientProtocol and it worked!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please let me know how you solved the above error by writing the exact lines of code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also where exactly did you add the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; RepositoryService rs = new RepositoryService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.Credentials = asvc.Credentials;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Store[] stores = rs.getStores();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for asking too many questions. Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2009 03:29:53 GMT</pubDate>
    <dc:creator>nkunta</dc:creator>
    <dc:date>2009-03-23T03:29:53Z</dc:date>
    <item>
      <title>Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203485#M156615</link>
      <description>Hi,I am starting this topic to share my experience of calling Alfresco Web Services from .Net, the problems which you may face and the solutions. I first started with scratch. I created a C# project and added a Web reference to AuthenticationService (authentication-service.wsdl) , and VersioningServ</description>
      <pubDate>Sun, 15 Feb 2009 06:28:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203485#M156615</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-02-15T06:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203486#M156616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much for sharing your experience with calling Alfresco web services, this was very helpful. I could not solve the issues as I did not follow few of the instructions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 1 The best overloaded method match for 'WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol)' has some invalid arguments&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 2 Argument '1': cannot convert from 'Alfresco.RepositoryWebService.RepositoryService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A close observation revealed that addSecurityHeader was expecting Microsoft.Web.Services3.WebServicesClientProtocol object the service objects which we were passing were derived from SoapHttpClientProtocol class. I found that Microsoft.Web.Services3.WebServicesClientProtocol itself derives from SoapHttpClientProtocol, so I just let the web services class derive from Microsoft.Web.Services3.WebServicesClientProtocol and it worked!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please let me know how you solved the above error by writing the exact lines of code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also where exactly did you add the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; RepositoryService rs = new RepositoryService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.Credentials = asvc.Credentials;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Store[] stores = rs.getStores();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for asking too many questions. Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 03:29:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203486#M156616</guid>
      <dc:creator>nkunta</dc:creator>
      <dc:date>2009-03-23T03:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203487#M156617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi nkunta,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that you have installed MS WSE 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To resolve the build issue :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In WebServiceFactory.cs, chnage the definition of addSecurityHeader(SoapHttpClientProtocol service) to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private static void addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol service)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and let RepositoryService derive from Microsoft.Web.Services3.WebServicesClientProtocol, rather than from SoapHttpClientProtocol (in alfresco-dotNet-0.2Beta\Alfresco\Web References\RepositoryWebService\Reference.cs)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;public partial class RepositoryService : Microsoft.Web.Services3.WebServicesClientProtocol&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Do this for all the services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your second question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not aware of dotnet2 demo project, so I was trying things from scratch. In the process, I created a C# project and added the said lines of code there, just to test the things. When I got dotnet2 project, I discarded my own project and started trying dotnet2 to get up and working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 10:03:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203487#M156617</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-03-24T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203488#M156618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response. I figured out the issue in a hard way&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still having one issue, though… I am getting an error that scheme and address are missing in the repositorywebservice in GetStores. I am not sure if I am having invalid wsdl files. Can you tell where I can find the wsdl files and also the dotnet2 project in Alfresco web site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 01:38:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203488#M156618</guid>
      <dc:creator>nkunta</dc:creator>
      <dc:date>2009-03-25T01:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203489#M156619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try modifying StoreEnum of RepositoryWebService like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;public enum StoreEnum {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workspace,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; versionStore,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; search,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;remarks/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; archive,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avm,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not have a direct link to dotNet2, but little bit of googling will surely help. I have seen people asking for a link to dotNet2 in this forum also. After you find dotNet2, please provide the link here as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dotNet2 is a very helpful in getting started with Alfresco WS from .Net&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:46:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203489#M156619</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-03-25T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203490#M156620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still did not find the source code for dotnet2 which i believe is the code that calls the web services. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still not sure why this is not working for me. I still think I have wrong wsdl files. When I search for the files in Alfresco site, I get an error that the site is forbidden even after I log in. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following is my problem now. My website works fine on local host and I have permission issues when I deploy to development web site. When I strong name the dll's I get the error&lt;/SPAN&gt;&lt;UL&gt;"System.Security.SecurityException: That assembly does not allow partially trusted callers.". Stack Trace information has the following info:&lt;BR /&gt;&lt;SPAN style="color:#000000;"&gt;&lt;EM&gt;&lt;STRONG&gt;ClsRepositoryRead…ctor(logonstructure ..) in Repository&lt;BR /&gt;system.web.ui.control.onload(EventsArgs e +99)&lt;BR /&gt;and other web.ui.control messages…&lt;BR /&gt;Content_wiki_wiki_aspx.processRequest (HTTPContext Context) in app_web_fxsds&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/UL&gt;&lt;SPAN&gt;Based on these errors, I added AllowPartiallyTrustedCallersAttribute in the assembly and referenced it from the code. Now, I am not able to compile my code. I get following errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;EM&gt;The type 'Alfresco.RepositoryWebService.Store' is defined in an assembly that is not referenced. You must add a reference to assembly 'Alfresco, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1169d……&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Alfresco.RepositoryWebService.Store' does not contain a definition for 'scheme'&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Alfresco.RepositoryWebService.Store' does not contain a definition for 'address'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/UL&gt;&lt;SPAN&gt;I added the code suggested by Osho but with no luck. Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 01:33:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203490#M156620</guid>
      <dc:creator>nkunta</dc:creator>
      <dc:date>2009-04-10T01:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203491#M156621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also want to know what's going on?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 18:51:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203491#M156621</guid>
      <dc:creator>jon318</dc:creator>
      <dc:date>2009-04-14T18:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203492#M156622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi nkunta,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I googled again and found the link to dotNet2 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find the link at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sangosthi.blogspot.com/2009/04/calling-alfresco-web-services-from-c.html" rel="nofollow noopener noreferrer"&gt;http://sangosthi.blogspot.com/2009/04/calling-alfresco-web-services-from-c.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now you can head start with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 12:29:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203492#M156622</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-04-16T12:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203493#M156623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also find modified dotnet2 demo project there. This project additionally allows to do a Check out and Get latest version of a file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:40:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203493#M156623</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-04-22T10:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203494#M156624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am still not sure if I am missing something. The biggest issue for me now is I get trust issue errors when connecting to Alfresco from the development website. When I set the APTCA attribute in dotnet2 project then I get stores.scheme error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:30:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203494#M156624</guid>
      <dc:creator>nkunta</dc:creator>
      <dc:date>2009-04-30T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203495#M156625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also trying to follow these steps (thanks for posting them - v helpful) but I am falling at the second hurdle.&amp;nbsp; I don't seem to have a Versioning Service available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have I used the wrong version of Alfresco? I don't want to get too far down the line, then have to start again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:50:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203495#M156625</guid>
      <dc:creator>jamesairey</dc:creator>
      <dc:date>2009-05-05T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203496#M156626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jamesairey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case also, It seemed that VersioningService is not exposed at URL/alfresco/api/VersioningService. Try using Repository Service instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if it helped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 15:26:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203496#M156626</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-05-05T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203497#M156627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks - lack of ability to read on my part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm not getting much time to try this out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now the repository-service.wsdl isn't loading properly, so I need to look through some more threads to find the solution to that - i see that there are a few on this topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think i didn't delete the right entries out of my wsdl file, so it either gets rejected by Visual Studio 2008 or it is loaded, but then doesn't generate the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seeing as I'm doing an evaluation of the product at the moment, I am finding this all a bit harder work than I would like.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 15:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203497#M156627</guid>
      <dc:creator>jamesairey</dc:creator>
      <dc:date>2009-05-12T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203498#M156628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm relatively new to Alfresco and trying to run the dotnet2 demoproject. I just downloaded the most recent version of the project and unpacked it. When I try to build the project (as is) I receive errors concerning &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The best overloaded method match for Alfresco.WebServiceFactory.addSecurityHeader(Microsoft.Web.Services3.WebServicesClientProtocol) has some invalid arguments"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Argument '1': cannot convert from 'Alfresco.RepositoryWebService.RepositoryService' to 'Microsoft.Web.Services3.WebServicesClientProtocol'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I look in previous posts I find to change the definition of addSecurityHeader but in the latest version of the demoproject this change is already implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas what (files) should be modified to successfully build the project? (using Community 3.2 and VS 2008 with WSE 3.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 13:58:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203498#M156628</guid>
      <dc:creator>thaspesl</dc:creator>
      <dc:date>2009-08-24T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203499#M156629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi thaspesl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I know, from where have you downloaded the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Osho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 09:02:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203499#M156629</guid>
      <dc:creator>osho</dc:creator>
      <dc:date>2009-09-11T09:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203500#M156630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Osho,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i add a web reference to AuthenticationService (authentication-service.wsdl) and VersioningService (VersioningService.wsdl).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have already setup a C# project, but not getting an option for adding the above services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anurag&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 10:18:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203500#M156630</guid>
      <dc:creator>anurag83</dc:creator>
      <dc:date>2009-11-03T10:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Alfresco Web Services from C#</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203501#M156631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have downloaded the .NET2 code and it seems to work fine.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the only issue that is being faced is with the Versioning Code. it is throwing a Runtime exception when I try to get the original version of the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Exception is &lt;/SPAN&gt;&lt;STRONG&gt;InvalidOperationException&lt;/STRONG&gt;&lt;SPAN&gt; at&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Alfresco.RepositoryWebService.Store[] stores = this.repoService.getStores();&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN&gt; in Browse.cs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone suggest a work around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anurag&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 12:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-alfresco-web-services-from-c/m-p/203501#M156631</guid>
      <dc:creator>anurag83</dc:creator>
      <dc:date>2009-11-13T12:07:44Z</dc:date>
    </item>
  </channel>
</rss>

