wsb.remove-service

function

Library: Web Services Broker (OMWSB)
Import : omwsb.xmd

Declaration
export external function remove-service 
  from                      value server      server
  named                     value string      service-name
  of-type                   value string      type   optional

Argument definitions

server
A wsb.server OMX variable which was returned from a call to wsb.create-server
service-name
The name of the service to be removed from the lookup table
type
The type of request that is to be serviced


Purpose

The wsb.remove-service function removes a registered service from the server. This means that subsequent requests received with a name corresponding to the service-name parameter will be returned to the server as an unknown request. A call to this function will also cause all threads waiting to service this type of action to terminate, freeing up all associated resources. If the specified service is not currently registered on the server, an external exception will be thrown. See the description of wsb.create-server for further details on the service-name and type parameters.