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:registerService
 
wm.tn.delivery:registerService
Registers a delivery service.
Input Parameters
serviceName
String The name you want to associate with the delivery service.
host
String (optional) The host name or IP address of the Integration Server on which to invoke this delivery service. If you do not specify host, this services uses “localhost.”
port
String (optional) The port number that the Integration Server on which to invoke this delivery service listens for incoming requests. If you do not specify port, this service uses port number “5555.”
user
String (optional) The user name to supply when invoking the delivery service.
password
String (optional) The password (for the user name specified in user) to supply when invoking the delivery service.
ifc
String The fully-qualified name of the folder for the delivery service.
svc
String The service name for the delivery service.
scheduled
String Whether the delivery service is a scheduled delivery service or an immediate delivery service. Valid values are:
*true - For a scheduled delivery service.
*false - For an immediate delivery service.
Output Parameters
None.
Usage Notes
*If you do not supply host, the delivery service is invoked directly.
*If you supply a value for host other than null or localhost, Trading Networks opens an HTTP connection to that host and invokes this service to deliver a document. If the service actually resides on the localhost, do not supply a host name or IP address. If you do, unnecessary HTTP connections are opened on your Integration Server.