Deleting Data from Registry

So far you have learned how to publish data to a registry and how to query a registry for information. You will now learn how to delete data from a registry. You can only delete data that you have submitted. A registry does not allow the deletion of information about organizations that are published by other users.

The BusinessLifeCycleManager interface provides several delete methods with which you can remove information about an organization. For example, the deleteService method enables you to delete services associated with an organization.

You will write an application called MyDataDeleter.java that will take as a command-line argument a string containing the key generated by the registry when the organization ...

Get Java™ APIs for XML Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.