wm.tn.delivery:getRegisteredService
Retrieves a delivery service.
Input Parameters
serviceName | String The name associated with the delivery service that you want to retrieve. (This is not the fully-qualified name of the service. It is the name that was associated with the delivery service when it was registered.) |
Output Parameters
deliveryService | Document The delivery service identified by serviceName. For the structure of deliveryService, see wm.tn.rec:DeliveryService. |
Usage Notes
![*](bullet.gif)
If
serviceName is not valid or the delivery service does not exist, the service throws an exception.
![*](bullet.gif)
If you are invoking this service from a Java program, in addition to returning
deliveryService as an IS document (IData object), the service returns
deliveryService as an instance of
com.wm.app.tn.delivery.DeliveryService.