Select the source location for the sample you want to add. Select a workspace resource, such as sample data, WSDL, or XSL file.
The sample data values and files you add to WSDL messages are automatically loaded into Process Variables. For use during simulation, you can load sample data for message variables in the Process Variables view. A sample value serves to initialize an input, output, or fault variable for process simulation. These variables must be initialized prior to simulating execution of a process.
There are several ways to add sample values to variables:
Adding a Sample Data File to a WSDL Message
If you have added samples to WSDL messages in Participants or Interfaces view, the default sample value from the messages is automatically loaded into message type variables.
Editing a Single Sample Data Value for a Simple Type Message Part
If you have added sample data values to simple type message parts in WSDL messages, the default sample value from the messages is automatically loaded into message type variables. You can edit that value, or add a new value in Process Variables view.
Generating a Sample Data File
For complex variables, you can generate an XML document based on the root part or element of the variable.
Loading a Sample Data File in Process Variables View
For complex variables, you can select an XML document to load. You can edit data from the sample file and then save it or save it as a new file.
Each time you open a variable in the Data view, Process Developer displays the previously loaded data values.