<?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: org.xml.sax.SAXParseException: Premature end of file. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228996#M182126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gyro,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the problem&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; . I set in log4j.properties in Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;log4j.logger.org.alfresco.repo.webservice=debug&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;After, I have executed the applet again and the alfresco.log has registered an error in a rule executed when uploading a tiff file. I disabled this rule and now the code works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your time,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 12:41:36 GMT</pubDate>
    <dc:creator>agey</dc:creator>
    <dc:date>2010-07-21T12:41:36Z</dc:date>
    <item>
      <title>org.xml.sax.SAXParseException: Premature end of file.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228993#M182123</link>
      <description>Hi all,I am creating an applet to scan a document and save it into Alfresco using Web Service. This is the code what I use to call Alfresco webservice from applet to save the document in Alfresco&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 void saveAlfresco(File file){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String username = "admin";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String password = "admin";&amp;nbsp;</description>
      <pubDate>Wed, 21 Jul 2010 08:33:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228993#M182123</guid>
      <dc:creator>agey</dc:creator>
      <dc:date>2010-07-21T08:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: org.xml.sax.SAXParseException: Premature end of file.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228994#M182124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe hook in Membrane SOAP monitor and see what your client is *really* sending - i love this, this tool has saved my life several times &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; &lt;/SPAN&gt;&lt;A href="http://www.membrane-soa.org/soap-monitor/" rel="nofollow noopener noreferrer"&gt;http://www.membrane-soa.org/soap-monitor/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gyro&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, how large are your uploaded files? I remember some problems uploading files via SOAP when filesize was some 20..50 MB or more…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:18:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228994#M182124</guid>
      <dc:creator>gyro_gearless</dc:creator>
      <dc:date>2010-07-21T10:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: org.xml.sax.SAXParseException: Premature end of file.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228995#M182125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gyro,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your advice. I downloaded Membrane SOAP monitor and installed and configured it to listen the messages between client and server. I´m newbie in these tools but I think that this is the message that client send to server (appears in Request - SOAP tab):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;POST /alfresco/api/ContentService HTTP/1.0&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;Accept: application/soap+xml, application/dime, multipart/related, text/*&lt;BR /&gt;User-Agent: Axis/1.4&lt;BR /&gt;Host: localhost:8080&lt;BR /&gt;Cache-Control: no-cache&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;SOAPAction: "&lt;A href="http://www.alfresco.org/ws/service/content/1.0/write" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/service/content/1.0/write&lt;/A&gt;"&lt;BR /&gt;Content-Length: 8700030&lt;BR /&gt;Cookie: JSESSIONID=B035199A8F55CEB80FDDFA15817B7170&lt;BR /&gt;X-Forwarded-For: 127.0.0.1&lt;BR /&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Header&amp;gt;&lt;BR /&gt;&amp;lt;wsse&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;ecurity xmlns:wsse="&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&lt;/A&gt;" soapenv:mustUnderstand="1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsu:Timestamp xmlns:wsu="&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsu:Created&amp;gt;2010-07-21T11:27:18.921Z&amp;lt;/wsu:Created&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsu:Expires&amp;gt;2010-07-21T11:32:18.921Z&amp;lt;/wsu:Expires&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/wsu:Timestamp&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsse:UsernameToken&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsse:Username&amp;gt;ticket&amp;lt;/wsse:Username&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wsse&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;assword Type="&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText&lt;/A&gt;"&amp;gt;TICKET_d09e38f56d537502bbc0d817c8b1835942e8e885&amp;lt;/wsse&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;assword&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/wsse:UsernameToken&amp;gt;&lt;BR /&gt;&amp;lt;/wsse&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;ecurity&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Header&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;write xmlns="&lt;A href="http://www.alfresco.org/ws/service/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/service/content/1.0&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;node&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns1:store xmlns:ns1="&lt;A href="http://www.alfresco.org/ws/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/model/content/1.0&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns1:scheme&amp;gt;workspace&amp;lt;/ns1:scheme&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns1:address&amp;gt;SpacesStore&amp;lt;/ns1:address&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ns1:store&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns2:uuid xmlns:ns2="&lt;A href="http://www.alfresco.org/ws/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/model/content/1.0&lt;/A&gt;"&amp;gt;19bad9e5-996d-46c5-9be9-07251b840cb0&amp;lt;/ns2:uuid&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns3&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;ath xmlns:ns3="&lt;A href="http://www.alfresco.org/ws/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/model/content/1.0&lt;/A&gt;"&amp;gt;/app:company_home/cm:Entrada_Facturas/cm&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;imply_x0020_Smart/cm&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;ubir_Facturas/cm:scan__2162010132530_.tiff&amp;lt;/ns3&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;ath&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/node&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;{&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;content&amp;gt;SUkqAJCKYwD///////////////////////////////////////////////////////////////////////////////////&amp;lt;/content&amp;gt;&lt;BR /&gt;&amp;lt;format&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns4:mimetype xmlns:ns4="&lt;A href="http://www.alfresco.org/ws/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/model/content/1.0&lt;/A&gt;"&amp;gt;image/tiff&amp;lt;/ns4:mimetype&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ns5:encoding xmlns:ns5="&lt;A href="http://www.alfresco.org/ws/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/ws/model/content/1.0&lt;/A&gt;"&amp;gt;UTF-8&amp;lt;/ns5:encoding&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/write&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;In Response - Raw tab appears:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;HTTP/1.1 500 Error Interno del Servidor&lt;BR /&gt;Server: Apache-Coyote/1.1&lt;BR /&gt;Content-Type: text/xml;charset=utf-8&lt;BR /&gt;Date: Wed, 21 Jul 2010 11:27:27 GMT&lt;BR /&gt;Connection: close&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to upload files of 6 and 19 MB in size. Can you help me to undertand this result?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:09:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228995#M182125</guid>
      <dc:creator>agey</dc:creator>
      <dc:date>2010-07-21T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: org.xml.sax.SAXParseException: Premature end of file.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228996#M182126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gyro,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the problem&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; . I set in log4j.properties in Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;log4j.logger.org.alfresco.repo.webservice=debug&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;After, I have executed the applet again and the alfresco.log has registered an error in a rule executed when uploading a tiff file. I disabled this rule and now the code works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your time,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:41:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-xml-sax-saxparseexception-premature-end-of-file/m-p/228996#M182126</guid>
      <dc:creator>agey</dc:creator>
      <dc:date>2010-07-21T12:41:36Z</dc:date>
    </item>
  </channel>
</rss>

