For an example of deleting an object from the Registry, see JAXRDelete.java in the directory install/registry-samples/delete-object/src. This example deletes the object whose unique identifier you specify.
Go to the directory install/registry-samples/delete-object.
Type the following command:
Ant-base/ant run -Did=id-string |
The output of the run target looks something like this:
run: [java] URN is urn:uuid:182e383b-1244-4e9f-9439-bddac093ebe7 [java] Query URL is http://localhost:6480/soar/registry/soap [java] Publish URL is http://localhost:6480/soar/registry/soap [java] Created connection to registry [java] Established security credentials [java] Got registry service and life cycle manager [java] Deleting object with id urn:uuid:182e383b-1244-4e9f-9439-bddac093ebe7 [java] Object deleted [java] Object URN was urn:uuid:182e383b-1244-4e9f-9439-bddac093ebe7 |