+

Search Tips   |   Advanced Search

deleteWSNService command

Use the deleteWSNService command 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.

We can delete a WS-Notification service using the wsadmin tool, or using the administrative console as described in Deleting WS-Notification services.

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

(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .

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

After using the command, save the changes to the master configuration using the following command:

AdminConfig.save()

This command deletes the specified WS-Notification service and all the objects configured on the service:


Target object

WSNService


Required parameters

None.


Conditional parameters

None.


Optional parameters

-deleteSIBTopicSpaces

TRUE or FALSE. Indicates whether service integration bus topic spaces created by definition of 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 the topic about creating a new WS-Notification service using the wsadmin tool.