Removing policy set attachments using the wsadmin tool

You can use the Jython or Jacl scripting language to remove and transfer policy sets from application artifacts. You can also remove resources that apply to a policy set attachment without deleting the policy set attachment.

Before you begin

Launch a scripting command.
Determine which applications and policy sets that you want to remove, detach, or transfer. Use the listWebServices command to list all Web services and for the application to edit. Enter the command to list all Web services and attributes for a specific application.
AdminTask.listWebServices('[–application application_name]')
To view a list of all Web services and associated applications, do not provide the -application parameter. For each Web service, the command returns the associated application name, module name, service name, and service type. You can also use the listAttachmentsForPolicySet and getPolicySetAttachments administrative commands to view existing configuration data. For additional information about these commands, use the information center reference topic for the PolicySetManagement group of commands for the AdminTask object.

About this task

There are four ways to remove policy set attachments, including:
  • Remove a policy set attachment from an application.
  • Remove resources that apply to a policy set attachment.
  • Remove all attachments for a specific policy set and application.
  • Transfer attachments between policy sets for a specific application.
Choose the appropriate procedure to remove your policy set attachments.

Procedure




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=txml_wsfpremoveattach
File name: txml_wsfpremoveattach.html