3 Replies Latest reply on Oct 7, 2014 2:18 AM by SimonATS

    Error: "The file name needs to be specified for all documents."

    PavelKuznetsov

      Hello

      I am trying to make sendDocument api call with the following xml:

      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://dto.api.echosign" xmlns:ns2="http://api.echosign" xmlns:ns3="http://dto14.api.echosign" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

      <SOAP-ENV:Header/>

      <ns0:Body>

      <ns2:sendDocument>

      <ns2:apiKey>content filtered</ns2:apiKey>

      <ns2:senderInfo xsi:nil="true"/>

      <ns2:documentCreationInfo>

      <ns1:fileInfos>

      <ns1:file>CONTENT FILTERED</ns1:file>

      <ns1:fileName>test.pdf</ns1:fileName>

      <ns1:mimeType>application/pdf</ns1:mimeType>

      </ns1:fileInfos>

      <ns1:name>Test.pdf</ns1:name>

      <ns1:recipients>

      <ns3:email>pavel@example.com</ns3:email>

      <ns3:role/>

      </ns1:recipients>

      <ns1:reminderFrequency>DAILY_UNTIL_SIGNED</ns1:reminderFrequency>

      <ns1:signatureFlow>SENDER_SIGNS_ONLY</ns1:signatureFlow>

      <ns1:signatureType>ESIGN</ns1:signatureType>

      </ns2:documentCreationInfo>

      </ns2:sendDocument>

      </ns0:Body>

      </SOAP-ENV:Envelope>

       

      Which gives me an error: 'The file name needs to be specified for all documents'. Why does it happen? I specified the file name.