<?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: How to connect from c# to Alfresco webservice in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-from-c-to-alfresco-webservice/m-p/255842#M208972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easy way to contact Alfresco is to use the REST api or CMIS, why are you using the Alfresco Web Services API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Alfresco Web Services API is used when you are developing an ESB architecture and when you need to invoke multiple standard operation in an unique request (a SOAP message) that returns an unique multiple response (another SOAP message).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Typically it is used when you have to work with messaging on an Enterprise Service Bus to allow you to manage operation arrays against the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the Alfresco Web Services API is only used for Business Orchestration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I published a post in the following threads about this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=21600" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=21600&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=37656" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=37656&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error was returned because Alfresco uses the WS-Security standard that means you need to implement by yourself the header part of the SOAP message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default the WSDL in Alfresco doesn't include this security check, only if you are using Java, Alfresco provides a Web Services client that is conformed with the security standard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can take a look at the Java code in the Alfresco Web Services Client to understand how to implement the same security check in C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to implement a section to manage the UsernameToken:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html#UsernameToken" rel="nofollow noopener noreferrer"&gt;http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html#UsernameToken&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway I suggest you to use the CMIS AtomPub binding or the REST API to work with Alfresco remotely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 13:53:44 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2011-10-27T13:53:44Z</dc:date>
    <item>
      <title>How to connect from c# to Alfresco webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-from-c-to-alfresco-webservice/m-p/255841#M208971</link>
      <description>Can anybody help me to connect with Alfresco from my C# Application through webservice? I have done the login successfully but then I got stuck to access the rest of the methods. Its showing "WSDoAllReceiver: Request does not contain required Security header". Please help me out of this problem.Than</description>
      <pubDate>Tue, 25 Oct 2011 16:21:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-from-c-to-alfresco-webservice/m-p/255841#M208971</guid>
      <dc:creator>paola72</dc:creator>
      <dc:date>2011-10-25T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect from c# to Alfresco webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-from-c-to-alfresco-webservice/m-p/255842#M208972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easy way to contact Alfresco is to use the REST api or CMIS, why are you using the Alfresco Web Services API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Alfresco Web Services API is used when you are developing an ESB architecture and when you need to invoke multiple standard operation in an unique request (a SOAP message) that returns an unique multiple response (another SOAP message).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Typically it is used when you have to work with messaging on an Enterprise Service Bus to allow you to manage operation arrays against the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the Alfresco Web Services API is only used for Business Orchestration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I published a post in the following threads about this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=21600" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=21600&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=37656" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=27&amp;amp;t=37656&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error was returned because Alfresco uses the WS-Security standard that means you need to implement by yourself the header part of the SOAP message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default the WSDL in Alfresco doesn't include this security check, only if you are using Java, Alfresco provides a Web Services client that is conformed with the security standard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can take a look at the Java code in the Alfresco Web Services Client to understand how to implement the same security check in C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to implement a section to manage the UsernameToken:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html#UsernameToken" rel="nofollow noopener noreferrer"&gt;http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html#UsernameToken&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway I suggest you to use the CMIS AtomPub binding or the REST API to work with Alfresco remotely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 13:53:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-connect-from-c-to-alfresco-webservice/m-p/255842#M208972</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-10-27T13:53:44Z</dc:date>
    </item>
  </channel>
</rss>

