<?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 Sample code with writeWithAttachment() ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sample-code-with-writewithattachment/m-p/243792#M196922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing samples on using Alfresco Webservice and I can not get successfully with: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;WebServiceFactory.getContentService().writeWithAttachment(ref, strProp, contentFormat)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the follow error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Exception in thread "main" AxisFault&lt;BR /&gt; faultCode: {&lt;A href="http://schemas.xmlsoap.org/soap/envelope/}Server.generalException" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/}Server.generalException&lt;/A&gt;&lt;BR /&gt; faultSubcode: &lt;BR /&gt; faultString: &lt;BR /&gt; faultActor: &lt;BR /&gt; faultNode: &lt;BR /&gt; faultDetail: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;A href="http://www.alfresco.org/ws/service/content/1.0}ContentFault" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/service/content/1.0}ContentFault&lt;/A&gt;:&amp;lt;ns1:errorCode&amp;gt;0&amp;lt;/ns1:errorCode&amp;gt;&amp;lt;ns1:message&amp;gt;10300030 Expecting only one attachment&amp;lt;/ns1:message&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;A href="http://xml.apache.org/axis/}exceptionName:org.alfresco.repo.webservice.content.ContentFault" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/}exceptionName:org.alfresco.repo.webservice.content.ContentFault&lt;/A&gt;&lt;BR /&gt;….&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;/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'd really appreciate a lot if anybody could give me sample code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2009 14:09:00 GMT</pubDate>
    <dc:creator>rcarhuatocto</dc:creator>
    <dc:date>2009-11-30T14:09:00Z</dc:date>
    <item>
      <title>Sample code with writeWithAttachment() ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sample-code-with-writewithattachment/m-p/243792#M196922</link>
      <description>Hi there!I'm developing samples on using Alfresco Webservice and I can not get successfully with: WebServiceFactory.getContentService().writeWithAttachment(ref, strProp, contentFormat)‍I got the follow error:Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}S</description>
      <pubDate>Mon, 30 Nov 2009 14:09:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sample-code-with-writewithattachment/m-p/243792#M196922</guid>
      <dc:creator>rcarhuatocto</dc:creator>
      <dc:date>2009-11-30T14:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code with writeWithAttachment() ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sample-code-with-writewithattachment/m-p/243793#M196923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems that writeWithAttachment() and the transform() are not implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;h&lt;A href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;ttp://wiki.alfresco.com/wiki/Content_Web_Service&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using SDK 3.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 15:06:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sample-code-with-writewithattachment/m-p/243793#M196923</guid>
      <dc:creator>rcarhuatocto</dc:creator>
      <dc:date>2009-11-30T15:06:29Z</dc:date>
    </item>
  </channel>
</rss>

