Deleting a WS-Notification service using the wsadmin tool

Use a command script to delete a WS-Notification service and associated resources. A WS-Notification service provides access to service integration bus resources for Web services publish and subscribe clients.

To run the command, use the AdminTask object of the wsadmin scripting client.

This command is only valid when used with WebSphere® Application Server Version 6.1 and later application servers. Do not use it with earlier versions.

Command-line help is provided for service integration bus commands:

Purpose

This command deletes all the objects configured on the specified WS-Notification service. This deletion includes the following items:
  • Service integration bus inbound services referenced by this WS-Notification service.
  • WS-Notification service points and associated service integration bus inbound ports.
  • WS-Notification permanent topic namespaces and any service integration bus topic spaces that were created by the topic namespace.
  • Topic namespace documents defined for the permanent topic namespaces, and the associated XML documents stored in the SDO Repository.
Command name
deleteWSNService
Target
WSNService
Result
Removal of an existing WS-Notification service and associated objects from the configuration.

Required parameters

None.

Conditional parameters

None.

Optional parameters

deleteSIBTopicSpaces
TRUE or FALSE. Indicates whether service integration bus topic spaces associated with a WS-Notification permanent topic namespace should also be deleted (default is False).

Example

Delete the WS-Notification service "newService" created in the example from topic "Creating a new WS-Notification service using the wsadmin tool".

$AdminTask deleteWSNService $newService {-deleteSIBTopicSpaces TRUE}



Related concepts
Learning about WS-Notification
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Securing WS-Notification
Related reference
Listing WS-Notification services using the wsadmin tool
Showing the properties of a WS-Notification service using the wsadmin tool
WS-Notification troubleshooting tips
Creating a new WS-Notification service using the wsadmin tool
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=rjwsn_cli_wsnserv_del
File name: rjwsn_cli_wsnserv_del.html