B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Transport Folder | Summary of Elements in this Folder | wm.tn.transport:webService
 
wm.tn.transport:webService
Delivers documents through a web service. This service uses the delivery method information that is associated with the web service delivery method. The delivery method information, such as the web service connector to use, is obtained from the receiving partner's profile.
Input Parameters
serviceName
String The name of the delivery method that must be used to deliver the document through a web service.
bizdoc
Document The document you want to deliver.
If invoking from a Java program, the document must be an instance of com.wm.app.tn.doc.BizDocEnvelope. Otherwise, the structure of bizdoc is defined by wm.tn.rec:BizDocEnvelope.
retriesRemaining
String (optional) The number of retries remaining. The delivery engine passes this information into the server at every attempt of job delivery.
Output Parameters
serviceOutput
Document The output from the delivery. For the structure of serviceOutput, see wm.tn.rec:WebServiceDeliveryServiceOutput. The document contains the following keys:
*status String The outcome of the delivery: success or fail.
*statusMessage String The status message from the last attempt to deliver the document.
*transportTime String Total time (in milliseconds) it took to deliver the document.
*output Document The response returned after invoking the web service. For the structure of output, see wm.tn.rec:WebServiceOutput.

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.
Innovation Release