Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Generating a Sample Data File

Generating a Sample Data File

Select the source location for the sample you want to add. This is a workspace resource such a sample data, WSDL, or an XSL file.
When you want to simulate process execution for a process with complex messages, you can generate sample data files for the messages. A sample data file is an XML file structured with message part elements or types that were defined in the schema declared in the WSDL namespace. The following is an example of a partial sample data file for a purchase order output message. Code similar to this example is automatically generated for you, based on the schema type or element.
<purchaseOrders xmlns="http://samples.cxdn.com/po" xmlns:tns="http://samples.cxdn.com/po"> <purchaseOrder tns:orderDate="2005-09-05"> <shipTo tns:country="US"> <name>Jay Lor Jr.</name> <street>100 My Street</street> <city>My City</city> <state>CT</state> <zip>06484</zip> </shipTo> ... </purchaseOrder> </purchaseOrders>
To generate sample data
:
  1. In Participants or Interfaces view, expand a message with a complex part, and select a message part for which you want to generate a sample XML data file.
  2. Right-click on the message part and select
    Generate Sample
    .
  3. In the XML Data Wizard, fill in your preferences for generating the sample data. For details, see Using the XML Data Wizard. Click
    Next
    .
  4. Name the file, and save it to the
    sample-data
    folder in your orchestration project.
You can generate multiple sample data files for the same message part. You can name the files uniquely, or you can use the same filename and store the files in different folders. Process Developer keeps track of file locations.

0 COMMENTS

We’d like to hear from you!