Handling QueuedDocumentRetrieve

Shingo
Shingo E
edited November 8, 2017 in Cloud Fax and Notifications #1

Hi all,

I can't get the response with a BASE64 encoded Image to use a following request message.

Please let me know how to get an image.

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ws.easylink.com/RequestResponse/2011/01" xmlns:ns1="http://ws.easylink.com/QueuedDocumentRetrieve/2013/01">
   <soapenv:Header>
      <ns:Request>
         <ns:ReceiverKey>https://messaging.easylink.com/soap/sync</ns:ReceiverKey&gt;
         <ns:RequestID>RequestID</ns:RequestID>
         <ns:Authentication>
            <ns:XDDSAuth>
               <ns:RequesterID>MyID</ns:RequesterID>
               <ns:Password>MyPassword</ns:Password>
            </ns:XDDSAuth>
         </ns:Authentication>
      </ns:Request>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:QueuedDocumentRetrieveRequest>
         <ns1:SubmitId>SubmitId</ns1:SubmitId>
      </ns1:QueuedDocumentRetrieveRequest>
   </soapenv:Body>
</soapenv:Envelope>

 

Response

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <Header>
      <Response xmlns="http://ws.easylink.com/RequestResponse/2011/01">
         <SenderKey>http://messaging.easylink.com/2_6_x/QueuedDocumentRetrieve</SenderKey&gt;
         <RequestID>RequestID</RequestID>
         <ProcessingID>0ACD0712-1606-171108074327093</ProcessingID>
      </Response>
   </Header>
   <Body>
      <QueuedDocumentRetrieveResult xmlns="http://ws.easylink.com/QueuedDocumentRetrieve/2013/01">
         <Status>
            <StatusCode>0</StatusCode>
            <StatusMessage>OK</StatusMessage>
            <SubmissionTime>2017-11-08T07:43:27.093Z</SubmissionTime>
            <CompletionTime>2017-11-08T07:43:27.183Z</CompletionTime>
         </Status>
         <SubmitId>SubmitId</SubmitId>
      </QueuedDocumentRetrieveResult>
   </Body>
</Envelope>

Comments

  • The response you received means there is nothing on the queue for your user id. If there was something on the queue it would have been in the response.

  • Hi Thuneke,

    Thanks for your reply.

    I can solve the problem.

    Regards,

    Shingo