<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged xml</title>
<link>https://overflow.efficy.io/?qa=tag/xml</link>
<description>Powered by Question2Answer</description>
<item>
<title>Soap: Inserting an email with attachment via Soap Call</title>
<link>https://overflow.efficy.io/?qa=1589/soap-inserting-an-email-with-attachment-via-soap-call</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;I'm trying to save and email with an attachement in Efficy via soap. &lt;br&gt;
It seems to work fine but when I try to open the attachment ('msg' file) I have the following error:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=15917386851006573239&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Here is my call: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;SOAP-ENV:Envelope xmlns:efficy=&quot;http://www.efficy.com&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot;&amp;gt;
&amp;lt;SOAP-ENV:Body&amp;gt;
    &amp;lt;efficy:logon database=&quot;PROD&quot; user=&quot;ipacic&quot; password=&quot;TheTable!&quot;/&amp;gt;
    &amp;lt;efficy:api id=&quot;1&quot;&amp;gt;
        &amp;lt;data operation=&quot;impersonateuser&quot; user=&quot;EHO&quot; id=&quot;129&quot;/&amp;gt;
    &amp;lt;/efficy:api&amp;gt;
    &amp;lt;efficy:edit entity=&quot;Mail&quot; key=&quot;0&quot; commit=&quot;true&quot; closecontext=&quot;true&quot;&amp;gt;
        &amp;lt;update tableview=&quot;0&quot;&amp;gt;
            &amp;lt;SUBJECT&amp;gt;This is a test mail&amp;lt;/SUBJECT&amp;gt;     &amp;lt;!--Subject of the email, cann't be changed afterwards by the user--&amp;gt;
            &amp;lt;TITLE&amp;gt;CLIENT NAME: This is a test mail&amp;lt;/TITLE&amp;gt;         &amp;lt;!--This can be a copy of the subject or a customized version, the user can modify this field in Efficy--&amp;gt;
            &amp;lt;OPENED&amp;gt;1&amp;lt;/OPENED&amp;gt;
            &amp;lt;MAILFROM&amp;gt;ppa@vogeleer.be&amp;lt;/MAILFROM&amp;gt;
           &amp;lt;MAILTO&amp;gt;ppa@efficy.com&amp;lt;/MAILTO&amp;gt;
            &amp;lt;MAILCC&amp;gt;&amp;lt;/MAILCC&amp;gt;
            &amp;lt;K_FOLDER&amp;gt;2&amp;lt;/K_FOLDER&amp;gt;      &amp;lt;!--2: Mail received - 3: Mail send--&amp;gt;
            &amp;lt;K_MAILTHREAD&amp;gt;0&amp;lt;/K_MAILTHREAD&amp;gt;  &amp;lt;!--Leave at 0--&amp;gt;
            &amp;lt;D_RECEIVED&amp;gt;04/05/2015 13:50&amp;lt;/D_RECEIVED&amp;gt;
            &amp;lt;MAILBCC&amp;gt;&amp;lt;/MAILBCC&amp;gt;
            &amp;lt;BODY&amp;gt;
                               &amp;lt;![CDATA[                
                                                       &amp;lt;html&amp;gt;
                                                                      &amp;lt;body&amp;gt;
                                                                                     &amp;lt;p&amp;gt;test&amp;lt;/p&amp;gt;
                                                                      &amp;lt;/body&amp;gt;
                                                       &amp;lt;/html&amp;gt;]]&amp;gt;
            &amp;lt;/BODY&amp;gt;       &amp;lt;!--Better to provide this value, it's easier for the user afterwards in Efficy--&amp;gt;
            &amp;lt;HTMLBODY&amp;gt;
                                                       &amp;lt;![CDATA[                
                                                       &amp;lt;html&amp;gt;
                                                                      &amp;lt;body&amp;gt;
                                                                                     &amp;lt;p&amp;gt;test&amp;lt;/p&amp;gt;
                                                                      &amp;lt;/body&amp;gt;
                                                       &amp;lt;/html&amp;gt;]]&amp;gt;
                                                       &amp;lt;/HTMLBODY&amp;gt;
        &amp;lt;/update&amp;gt;
        &amp;lt;insertattachment id=&quot;1&quot; type=&quot;1&quot; path=&quot;C:\Users\ppt\Documents\url.msg&quot;/&amp;gt;
        &amp;lt;updateattachment id=&quot;2&quot; key=&quot;0&quot; encodingkind=&quot;MIME64&quot;&amp;gt;dGVzdA==&amp;lt;/updateattachment&amp;gt;
        &amp;lt;insertdetail id=&quot;3&quot; detail=&quot;Case&quot; detailkey=&quot;627284&quot; maincomp=&quot;false&quot;/&amp;gt;
    &amp;lt;/efficy:edit&amp;gt;
    &amp;lt;efficy:logoff/&amp;gt;
&amp;lt;/SOAP-ENV:Body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Am I doing something wrong? &lt;/p&gt;

&lt;p&gt;KR...&lt;/p&gt;
</description>
<category>Remote API (JSON, SOAP, Node)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1589/soap-inserting-an-email-with-attachment-via-soap-call</guid>
<pubDate>Wed, 04 May 2016 14:29:51 +0000</pubDate>
</item>
<item>
<title>Watchdoc - soap_request.xml becomes huge</title>
<link>https://overflow.efficy.io/?qa=723/watchdoc-soaprequest-xml-becomes-huge</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Be aware that the WatchDoc can crash any server if a file that needs to be uploaded to Efficy is bigger than the IIS &quot;Maximum allowed content length&quot; (default : 28.61 Mb).&lt;/p&gt;

&lt;p&gt;Here is the problem :&lt;/p&gt;

&lt;p&gt;1/ When a scan/Fax is made, it goes to a specific folder&lt;br&gt;
2/ The watchdoc service is watching this folder, and every time a document comes in, it upload it to Efficy (using SOAP) and then move this document to an ‘uploaded’ folder.&lt;br&gt;
3/ By default, IIS is configured to accept request with a maximum of 30000000 bytes (= 28.61 Megabytes).&lt;br&gt;
4/ If the document is heavier than 28.61 Megabytes, the Watchdoc fail to upload it to Efficy, and log the request (which contain the document that has been base64 encoded) in soap_request.xml.&lt;br&gt;
5/ This file is growing every time the WatchDoc is launched, and for one customer it has reached 130GB  !&lt;/p&gt;

&lt;p&gt;The solution is very simple : increase the “Maximum allowed content length” in IIS. To do so :&lt;/p&gt;

&lt;p&gt;1/ Open IIS&lt;br&gt;
2/ Click on the website that is running Efficy&lt;br&gt;
3/ Click on the icon “Request Filtering”&lt;br&gt;
4/ On the right panel, click on “Edit Feature Settings…”&lt;br&gt;
5/ Increase the “Maximum allowed content length” value (for instance, setting it to 209715200 will allow files up to 200mo to be uploaded).&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=723/watchdoc-soaprequest-xml-becomes-huge</guid>
<pubDate>Wed, 09 Sep 2015 10:53:06 +0000</pubDate>
</item>
<item>
<title>XML Soap message: error inserting email</title>
<link>https://overflow.efficy.io/?qa=597/xml-soap-message-error-inserting-email</link>
<description>&lt;p&gt;Dear,&lt;/p&gt;

&lt;p&gt;I'm having troubles inserting an email using the XML Soap messages.&lt;br&gt;
This is my message:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;SOAP-ENV:Envelope xmlns:efficy=&quot;http://www.efficy.com&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot;&amp;gt;
&amp;lt;SOAP-ENV:Body&amp;gt;
    &amp;lt;efficy:logon database=&quot;databasealias&quot; user=&quot;username&quot; password=&quot;password&quot;/&amp;gt;
    &amp;lt;efficy:edit entity=&quot;Mail&quot; key=&quot;0&quot; commit=&quot;true&quot; closecontext=&quot;true&quot;&amp;gt;
        &amp;lt;update tableview=&quot;0&quot;&amp;gt;
            &amp;lt;SUBJECT&amp;gt;This is a test mail&amp;lt;/SUBJECT&amp;gt;     &amp;lt;!--Subject of the email, cann't be changed afterwards by the user--&amp;gt;
            &amp;lt;TITLE&amp;gt;CLIENT NAME: This is a test mail&amp;lt;/TITLE&amp;gt;         &amp;lt;!--This can be a copy of the subject or a customized version, the user can modify this field in Efficy--&amp;gt;
        &amp;lt;/update&amp;gt;
        &amp;lt;insertattachment id=&quot;1&quot; type=&quot;1&quot; path=&quot;This is a test mail.msg&quot;/&amp;gt;
        &amp;lt;updateattachment id=&quot;2&quot; key=&quot;0&quot; encodingkind=&quot;MIME64&quot;&amp;gt;
            {MIME BASE64}
        &amp;lt;/updateattachment&amp;gt;
        &amp;lt;insertdetail id=&quot;3&quot; detail=&quot;Case&quot; detailkey=&quot;37&quot; maincomp=&quot;false&quot;/&amp;gt;
    &amp;lt;/efficy:edit&amp;gt;
    &amp;lt;efficy:logoff/&amp;gt;
&amp;lt;/SOAP-ENV:Body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;And this is the error I get:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;      &amp;lt;SOAP-ENV:Fault&amp;gt;
     &amp;lt;faultcode&amp;gt;Exception&amp;lt;/faultcode&amp;gt;
     &amp;lt;faultstring&amp;gt;Error during CommitChanges on &quot;Mail&quot;: Could not convert variant of type          (Null) into type (Double)
     &amp;lt;/faultstring&amp;gt;
     &amp;lt;faultid/&amp;gt;
     &amp;lt;/SOAP-ENV:Fault&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Any ideas? Is my syntax correct?&lt;/p&gt;

&lt;p&gt;Greetings&lt;br&gt;
Erwin&lt;/p&gt;
</description>
<category>Remote API (JSON, SOAP, Node)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=597/xml-soap-message-error-inserting-email</guid>
<pubDate>Fri, 31 Jul 2015 06:50:58 +0000</pubDate>
</item>
<item>
<title>Can datasynchro proces a XML file as a source file?</title>
<link>https://overflow.efficy.io/?qa=417/can-datasynchro-proces-a-xml-file-as-a-source-file</link>
<description>&lt;p&gt;Is it possible to import a xml file with Datasynchro / Datasynchro remote?&lt;br&gt;
When adding a connection, xml is not in the list.&lt;br&gt;
Also when looking in the ODBC32 there is no driver that can be connected to an XML file.&lt;/p&gt;

&lt;p&gt;Are there any experiance with the import of xml files using datasynchro?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=417/can-datasynchro-proces-a-xml-file-as-a-source-file</guid>
<pubDate>Mon, 01 Jun 2015 05:27:06 +0000</pubDate>
</item>
</channel>
</rss>