Trading Networks 10.3 | Administering and Using Trading Networks | Administering Trading Networks | Preparing for Document Delivery | Creating Custom Immediate Delivery Services | Creating a Custom Immediate Delivery Service
 
Creating a Custom Immediate Delivery Service
Your immediate delivery service must implement, at a minimum, the input and output variables defined in the wm.tn.rec:DeliveryServiceSignature specification. The input value defined by the specification is the document to deliver. The output values in the specification indicate the outcome of the service. Your service must provide values for the serviceOutput output variable.
The serviceOutput variable is an IS document (IData object) that contains these String variables as listed in the following table:
Variable in the serviceOutput
Specify
status
Whether the service executed successfully or unsuccessfully. Your service must provide the value success or fail.
statusMessage
Optional. Delivery-specific message about the outcome of the delivery.
transportTime
Optional. Number of milliseconds it took for the service to deliver the document.
output
Optional. Return information from the delivery service (for example, response bytes received from an HTTP post).