Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Delivery Folder | Summary of Elements in this Folder | wm.tn.delivery:getRegisteredService
 
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
*If serviceName is not valid or the delivery service does not exist, the service throws an exception.
*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.