<?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: Java : Request does not contain required Security header in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-request-does-not-contain-required-security-header/m-p/273807#M226937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;WebServiceFactory.setEndpointAddress(alfrescoUrl);&lt;BR /&gt;AuthenticationUtils.startSession(alfrescoUsername, alfrescoPassword);&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AdministrationServiceSoapBindingStub adminService = WebServiceFactory.getAdministrationService();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Rest of your code&lt;BR /&gt;} finally {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthenticationUtils.endSession();&lt;BR /&gt;}&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 13:42:39 GMT</pubDate>
    <dc:creator>jcustovic</dc:creator>
    <dc:date>2010-12-28T13:42:39Z</dc:date>
    <item>
      <title>Java : Request does not contain required Security header</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-request-does-not-contain-required-security-header/m-p/273806#M226936</link>
      <description>All,I'm setting up the web services client to create users.&amp;nbsp; I've got the client starting the session but it wont add the security header.&amp;nbsp; Am I missing something?&amp;nbsp; I'm running alfresco 3.3.0 and the 3.4.b.&amp;nbsp; below is my code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic class TestAlfresco&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;/**&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param args&amp;nbsp;&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;public static v</description>
      <pubDate>Tue, 28 Dec 2010 13:22:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-request-does-not-contain-required-security-header/m-p/273806#M226936</guid>
      <dc:creator>mbooshtein</dc:creator>
      <dc:date>2010-12-28T13:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Java : Request does not contain required Security header</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-request-does-not-contain-required-security-header/m-p/273807#M226937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;WebServiceFactory.setEndpointAddress(alfrescoUrl);&lt;BR /&gt;AuthenticationUtils.startSession(alfrescoUsername, alfrescoPassword);&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AdministrationServiceSoapBindingStub adminService = WebServiceFactory.getAdministrationService();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Rest of your code&lt;BR /&gt;} finally {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthenticationUtils.endSession();&lt;BR /&gt;}&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:42:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-request-does-not-contain-required-security-header/m-p/273807#M226937</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2010-12-28T13:42:39Z</dc:date>
    </item>
  </channel>
</rss>

