WebSphere brand IBM WebSphere XML Document Management Server, Version 7.0

Deleting documents

Use the xcap_delete.sh request to delete XDMS documents.

Before you begin
Before using the XDMS client and XCAP requests, make sure that you have JDK1.6.0 SR 3 installed and configured in your system path variables.
About this task
Determine the name and location of an XDM document you would like to retrieve.
  1. Reach the command client by typing the following from the command line:cd was_root/installableApps/xdms/client/
    Note: was_root is the installation root directory for WebSphere® Application Server Network Deployment. By default, this directory is:
    • AIX /usr/IBM/WebSphere/AppServer
    • Linux /opt/IBM/WebSphere/AppServer
  2. Type the XCAP Delete request.
    ./xcap_delete.sh -user user_id -password password XCAP_URL
    For example, to delete the sample TestResourceList.xml from the XDMS server for example.com, type the following parameters on a single line.
    ./xcap_delete.sh -user admin -password adminpassword http://example.com/services/resource-lists/users/sip:testuser@example.com/TestResourceList.xml
  3. Press Enter to send the request. The document specified in the XCAP_URL is deleted. In the provided example provided, the document TestResourceList.xml is deleted.



Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.