<?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 [REST] Problem with deployment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-problem-with-deployment/m-p/111313#M78245</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'm trying to build a js client for the activiti REST-API. Till now i can login and do all operations supported by the rest-api except the deployment of a process. As i read from the api, it's a normal form post… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did an ajax POST (with correct Auth info) and the resulting exchange with the activiti rest service ends always in a 405 (method not allowed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone can point me in the right direction? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;—- HEADERS —-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Request URL:&lt;/SPAN&gt;&lt;A href="https://tomcat:8443/workflow-rest/service/deployment" rel="nofollow noopener noreferrer"&gt;https://tomcat:8443/workflow-rest/service/deployment&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Request Method&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;OST&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Status Code:405 Method Not Allowed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Request Headers&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Accept:text/html, */*; q=0.01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Accept-Encoding:gzip,deflate,sdch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Accept-Language:en-US,en;q=0.8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Authorization:Basic dW5kZWZpbmVkOnVuZGVmaW5lZA==&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connection:keep-alive&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Length:4402&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type:multipart/form-data; boundary=—-WebKitFormBoundarygOup0pYkyIfD27et&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cookie:JSESSIONID=06E540B5B50342EA67D14E020E05CCB4; running=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Host:tomcat:8443&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Origin:&lt;/SPAN&gt;&lt;A href="https://tomcat:8443" rel="nofollow noopener noreferrer"&gt;https://tomcat:8443&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Referer:&lt;/SPAN&gt;&lt;A href="https://tomcat:8443/obiquity/" rel="nofollow noopener noreferrer"&gt;https://tomcat:8443/obiquity/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X-Requested-With:XMLHttpRequest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Request Payload&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;——WebKitFormBoundarygOup0pYkyIfD27et&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Disposition: form-data; name="deployment"; filename="TaskCandidateTest.testMultipleCandidateGroups.bpmn20.xml"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type: text/xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——WebKitFormBoundarygOup0pYkyIfD27et–&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Response Headers&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Accept-Ranges:bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Allow&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;OST&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Length:487&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type:text/html;charset=UTF-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Date&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;at, 02 Jun 2012 09:28:23 GMT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server:Restlet-Framework/2.0.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jun 2012 09:14:42 GMT</pubDate>
    <dc:creator>goddanao</dc:creator>
    <dc:date>2012-06-02T09:14:42Z</dc:date>
    <item>
      <title>[REST] Problem with deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-problem-with-deployment/m-p/111313#M78245</link>
      <description>Hi all,i'm trying to build a js client for the activiti REST-API. Till now i can login and do all operations supported by the rest-api except the deployment of a process. As i read from the api, it's a normal form post… I did an ajax POST (with correct Auth info) and the resulting exchange with the</description>
      <pubDate>Sat, 02 Jun 2012 09:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-problem-with-deployment/m-p/111313#M78245</guid>
      <dc:creator>goddanao</dc:creator>
      <dc:date>2012-06-02T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: [REST] Problem with deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-problem-with-deployment/m-p/111314#M78246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI … RESOLVED …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i did a maven overlay on activiti-rest and force org.restelet version 2.0.14 instead of 2.0.1 …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem goes away …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:51:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-problem-with-deployment/m-p/111314#M78246</guid>
      <dc:creator>goddanao</dc:creator>
      <dc:date>2012-06-04T12:51:46Z</dc:date>
    </item>
  </channel>
</rss>

