2017

Table Of Contents
USING QUARKXPRESS SERVER
176 | A Guide to QuarkXPress Server 2017
Getdocpoollist
The getdocpoollist request handler returns an XML description of all files and
folders in the local document pool, including name, size, type, modification date
and time, and absolute and relative path.
<LAYOUT> <NAME>Layout 1</NAME> <TYPE>Print</TYPE>
<PAGES>4</PAGES> <PAGEPROPERTIES>
<WIDTH>432</WIDTH> <LENGTH>756</LENGTH>
</PAGEPROPERTIES> <LAYERS> <LAYER>
<NAME>Default</NAME> </LAYER> </LAYERS>
<HIRESGRAPHICS> <GRAPHICLINK>
<FILEPATH>E:\pics\Jpeg\Autumn.jpg</FILEPATH> <USAGE
P
AGE=”1” UNIQUEID=”8” X=”126.003” Y=”116.967” />
</GRAPHICLINK> </HIRESGRAPHICS> </LAYOUT>
</PROJINFO>
Alerts
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password. What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/getdocinfo/sample.qxp
Example, object model
Request object name: GetDocInfoRequestsdk.QRequestContext rc
= new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
GetDocInfoRequest(); //Create the service and call it with
QRequestContext object RequestServiceService svc = new
RequestServiceService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Notes
If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a getdocinfo parameter request.
Namespace getdocpoollist
Response XML description of files and folders in the local document pool.
Parameters directory
Use this parameter to get
information about a particular
directory in the document pool.
For example:
http://server:port/getdocpoollist
?directory=images
Alerts
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name