B2B Integration 10.4 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Generating Acknowledgments | When to Invoke the generateFA Service | Using a Service that Processes Documents at One Time | Invoking generateFA Immediately after Invoking envelopeProcess
 
Invoking generateFA Immediately after Invoking envelopeProcess
When you invoke the generateFA service after the envelopeProcess service, you can pass the parsed EDI document that is output from the envelopeProcess service to the generateFA service as input.
Note: If you are using previously parsed and validated data as input to the generateFA service, the input data must be the correctly formatted results of proper services, that is, the error array must be included in the results.
The following diagram shows an updated version of the service that was illustrated in Processing the Entire Document at One Time which includes the invocation of the generateFA service. In the Pipeline section of the screen, the Values parameter in Pipeline In is the output from the envelopeProcess service. The ICValues parameter in Service In is the input parameter to the generateFA service that accepts a parsed EDI document. In the Pipeline section of the screen, map the Values parameter to the ICValues parameter, as shown.
After invoking the generateFA service to generate the FA, add logic or invoke a service that you create to deliver the FA to the sender of the original EDI document.

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