Service


Click here for a complete list of operations.

SetDocumentInfo

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: www.drumlinsecurity.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://drumlinsecurity.co.uk/SetDocumentInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetDocumentInfo xmlns="http://drumlinsecurity.co.uk/">
      <di>
        <m_nID>int</m_nID>
        <m_sName>string</m_sName>
        <m_sDesc>string</m_sDesc>
        <m_datePublished>dateTime</m_datePublished>
        <m_sVersion>string</m_sVersion>
        <m_dateUploaded>dateTime</m_dateUploaded>
        <m_nDocSize>int</m_nDocSize>
        <m_sISBN>string</m_sISBN>
        <m_nOwnerID>int</m_nOwnerID>
        <m_nCreatorID>int</m_nCreatorID>
        <m_nDocState>int</m_nDocState>
        <m_sFile>string</m_sFile>
        <m_dtExpiry>dateTime</m_dtExpiry>
        <m_bUSK>boolean</m_bUSK>
        <m_bMultiDL>boolean</m_bMultiDL>
        <m_bKeepVer>boolean</m_bKeepVer>
        <m_bMustBeOnline>boolean</m_bMustBeOnline>
        <m_bMustBeRegistered>boolean</m_bMustBeRegistered>
        <m_bAllowNetworkPrinting>boolean</m_bAllowNetworkPrinting>
        <m_bEnableClipboard>boolean</m_bEnableClipboard>
        <m_bBlockGrabbers>boolean</m_bBlockGrabbers>
        <m_HCKS>base64Binary</m_HCKS>
        <m_sDocPwd>string</m_sDocPwd>
        <m_bRelaxedPrinting>boolean</m_bRelaxedPrinting>
      </di>
    </SetDocumentInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetDocumentInfoResponse xmlns="http://drumlinsecurity.co.uk/">
      <SetDocumentInfoResult>int</SetDocumentInfoResult>
      <sError>string</sError>
    </SetDocumentInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: www.drumlinsecurity.co.uk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetDocumentInfo xmlns="http://drumlinsecurity.co.uk/">
      <di>
        <m_nID>int</m_nID>
        <m_sName>string</m_sName>
        <m_sDesc>string</m_sDesc>
        <m_datePublished>dateTime</m_datePublished>
        <m_sVersion>string</m_sVersion>
        <m_dateUploaded>dateTime</m_dateUploaded>
        <m_nDocSize>int</m_nDocSize>
        <m_sISBN>string</m_sISBN>
        <m_nOwnerID>int</m_nOwnerID>
        <m_nCreatorID>int</m_nCreatorID>
        <m_nDocState>int</m_nDocState>
        <m_sFile>string</m_sFile>
        <m_dtExpiry>dateTime</m_dtExpiry>
        <m_bUSK>boolean</m_bUSK>
        <m_bMultiDL>boolean</m_bMultiDL>
        <m_bKeepVer>boolean</m_bKeepVer>
        <m_bMustBeOnline>boolean</m_bMustBeOnline>
        <m_bMustBeRegistered>boolean</m_bMustBeRegistered>
        <m_bAllowNetworkPrinting>boolean</m_bAllowNetworkPrinting>
        <m_bEnableClipboard>boolean</m_bEnableClipboard>
        <m_bBlockGrabbers>boolean</m_bBlockGrabbers>
        <m_HCKS>base64Binary</m_HCKS>
        <m_sDocPwd>string</m_sDocPwd>
        <m_bRelaxedPrinting>boolean</m_bRelaxedPrinting>
      </di>
    </SetDocumentInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetDocumentInfoResponse xmlns="http://drumlinsecurity.co.uk/">
      <SetDocumentInfoResult>int</SetDocumentInfoResult>
      <sError>string</sError>
    </SetDocumentInfoResponse>
  </soap12:Body>
</soap12:Envelope>