Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
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 by using wsadmin.sh as described in this topic, or by using the administrative console as described in Delete WS-Notification service points.
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()
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.
None
Required parameters
Conditional parameters
None
None
Optional parameters
Example
Delete the WS-Notification service point newServicePoint, created in the example from topic "Creating a new WS-Notification service point by using wsadmin".
### Jython
AdminTask.deleteWSNServicePoint(newServicePoint)### Jacl
$AdminTask deleteWSNServicePoint $newServicePoint
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Delete WS-Notification service points
Related
WS-Notification troubleshooting tips
WS-Notification service points [Collection]