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 JDK
1.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.
- 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:
/usr/IBM/WebSphere/AppServer
/opt/IBM/WebSphere/AppServer
- 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
- 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.