Was this page helpful?

GetDocument function

    Table of contents
    No headers

    from document_library.wsdl

    Upload document: SaveDocument

    required parameter:

    •     id - id of saved file
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:GetDocument>
             <server>atollon</server>
             <session>3EB6475D13C7483DEFB82743666CCD0DB58ECD62BD04</session>
             <id>87523000</id>
          </wsdl:GetDocument>
       </soapenv:Body>
    </soapenv:Envelope>

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <atollon:GetDocumentResponse xmlns:atollon="http://atollon.com/enterprise/wsdl">
             <result>OK</result>
             <time>0.55316901</time>
             <count>0</count>
             <id>87523000</id>
          </atollon:GetDocumentResponse>
       </soapenv:Body>
    </soapenv:Envelope>

    It's possible to download file via http protocol, method post or get.
     

    <html>
        <title>Sample request - upload file via Mooring Connector</title>
    <body>
        <form method="get" action="http://lagoon-01.atollon.com/mooring/uploadDocument" >
            <input type="text" name="server" value="testing" /><br />
            <input type="text" name="session" value="" /> <br />
            <input type="text" name="id" value="" /> <br />
            <input type="submit" value="Download" />
        </form>
    </body>
    </html>
    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    972 view(s), 1 edit(s), and 3244 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments