B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | 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).

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.