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.

You can delete a WS-Notification service point by using the wsadmin tool as described in this topic, or by using the administrative console.

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

[IBM i][IBM i]The wsadmin scripting client is run from Qshell.

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

  • For a list of the available WS-Notification commands, plus a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('WSNotificationCommands')

  • For overview help on a specific command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

After you use the command, save your changes to the master configuration by using the following command.

AdminConfig.save()

Purpose

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 Version 7.0 WS-Notification services, the associated service point application is deleted.
  • For Version 6.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 by using the wsadmin tool.
  • Using Jython:
    AdminTask.deleteWSNServicePoint(newServicePoint)
  • Using Jacl:
    $AdminTask deleteWSNServicePoint $newServicePoint