Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
deleteWSNAdministeredSubscriber command
Use the deleteWSNAdministeredSubscriber command to delete a WS-Notification administered subscriber. An administered subscriber provides a mechanism for the WS-Notification service point to subscribe to an external notification producer at server startup time.
We can delete a WS-Notification administered subscriber by using wsadmin as described in this topic, or by using the admin console as described in Delete WS-Notification administered subscribers.
To run the command, use the AdminTask object of the wsadmin scripting client.
Command-line help is provided for service integration bus commands:
- For a list of the available WS-Notification commands, plus a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
AdminConfig.save()
This command deletes a WS-Notification administered subscriber.
Target object
WSNAdministeredSubscriber
None
Required parameters
Conditional parameters
None
None
Optional parameters
Example
Delete the administered subscriber newAdminSub created in the example from topic "Creating a new WS-Notification administered subscriber by using wsadmin":
### Jython
AdminTask.deleteWSNAdministeredSubscriber(newAdminSub)### Jacl
$AdminTask deleteWSNAdministeredSubscriber $newAdminSub
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Delete WS-Notification administered subscribers
List active WS-Notification administered subscribers
Related
WS-Notification troubleshooting tips
Administered subscribers [Collection]