delete service references

Hai all,
I have a requirement where in I need to delete usages of a particular IS service (like savePipelineToFile) throughout an IS package. Is is possible to write a javaservice which would delete the references of a given service throughout a package.Please advice.
Thanks in advance.

You may find the sample packages WmDoc and WmValidate helpful in this regard. Word of caution: this will likely be a far bigger effort than you’re thinking. Be careful.

Thanks for quick response:). I know about wmValidate need to see wmDoc. Hopefully this will help me.Thanks again:)