deleteWSNServicePoint command
Use the deleteWSNServicePoint command to delete a WS-Notification service point and the associated resources. A WS-Notification service point defines access to a WS-Notification service on a given bus member through a specified web service binding (for example SOAP over HTTP). Applications use the bus members associated with the WS-Notification service point to connect to the WS-Notification service.
We can delete a WS-Notification service point using the wsadmin tool, or using the administrative console as described in Deleting WS-Notification service points.
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:
- For a list of the available WS-Notification commands, plus a brief description of each command, enter at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
The existence of a WS-Notification service point on a bus member implies that a WS-Notification web service is exposed from that bus member, and causes web service endpoints for the notification broker, subscription manager and publisher registration manager for this WS-Notification service to be exposed on the bus member with which the service point is associated. WS-Notification applications use these endpoints to interact with the WS-Notification service.
This command deletes the specified WS-Notification service point and all the objects configured on the service point:
- For v7.0 WS-Notification services, the associated service point application is deleted.
- For v6.1 WS-Notification services, the associated service integration bus inbound ports are deleted.
- For both versions, any associated WS-Notification administered subscribers are deleted.
Target object
WSNServicePoint and associated objects.
Required parameters
None.
Conditional parameters
None.
Optional parameters
None.
Example
Delete the WS-Notification service point newServicePoint, created in the example from the topic about creating a new WS-Notification service point .
- Use Jython:
AdminTask.deleteWSNServicePoint(newServicePoint)- Use Jacl:
$AdminTask deleteWSNServicePoint $newServicePoint