This project is read-only.

Automatize operation remove

Topics: Technical Questions
Jul 8, 2010 at 3:51 AM


 I've tried to create a small aplication to automatize the complete remotion of a operation (operation, resource, data entities and schemas).

I'm using the Service Catalog Metadata but I'm having problems to completly remove some data entities and the schemas.

Is it possible to describe the steps I should take to acomplish my goal?

Jul 21, 2010 at 3:19 PM

Here are the steps to completely remove an operation:

1. Remove association of that operation from any endpoint

2. Remove Operation

3. Remove Resource(s) for the Operation Version(s)

4. Remove any Data Entities referenced by the Resources and Operation Versions (You may want to get those values before deleting operations and versions)

5. Remove the Schemas referenced by those Data Entities

I hope that helps


Jul 26, 2010 at 11:21 AM


I've tried the steps you mentioned, but I'm unable to remove every dependencies and schemas some are not removed from the database.

I've tried to get all schema objects (ListSchemaObjectDependencies) and data entities referenced by the Resources and Operation Versions  and used this return to remove all data entities, schema objects and schemas but some leftovers always persist in database.


Can you provide an example of how to do it?