DevOps Edition for Continuous Integration 10.5 | Service Development Help | Running Services | Supplying Input Values to a Service | Loading Input Values
 
Loading Input Values
When creating a launch configuration, debugging a service, or running a service, webMethods Messaging Trigger, or document type; you can reload input values that you have saved to a file instead of entering the values each time.
When you load input values from a file using the Load command, keep the following points in mind:
*Designer only loads variables whose name and type match those displayed in the Input dialog box. Variables that exist in the file, but not in the dialog box, are ignored. In the case of Object variables without constraints or Object variables of type byte[], the values in the file are not used.
*Values from the file replace those already in the Input tab or Enter Input dialog box.
*Variables that exist in the Input tab or Enter Input dialog box, but not in the file, are set to null.
*For flow services, besides loading values saved via the launch configuration or Enter Input dialog box, you can also load values that were saved using pub.flow:savePipelineToFile service. In addition, you can change values in the pipeline during debugging.
When you load input values from a file using the Load and Replace command, Designer overwrites the structure and data types of the input signature with the structure and data types defined in the file. This might be useful when the service input signature includes a document with an undefined structure. You can use Load and Replace to pass in documents with various content and content structure and therefore test or run the service with a variety of input data.

Copyright © 2017-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.