Table of Contents

Search

  1. Preface
  2. Welcome to Informatica Process Developer
  3. Using Guide Developer for the First Time
  4. Getting Started with Informatica Process Developer
  5. About Interfaces Service References and Local WSDL
  6. Planning Your BPEL Process
  7. Participants
  8. Implementing a BPMN Task or Event in BPEL
  9. Implementing a BPMN Gateway or Control Flow
  10. Using Variables
  11. Attachments
  12. Using Links
  13. Data Manipulation
  14. Compensation
  15. Correlation
  16. What is Correlation
  17. What is a Correlation Set
  18. Creating Message Properties and Property Aliases
  19. Adding a Correlation Set
  20. Deleting a Correlation Set
  21. Adding Correlations to an Activity
  22. Rules for Declaring and Using Correlation Sets
  23. Correlation Sets and Engine-Managed Correlation
  24. Event Handling
  25. Fault Handling
  26. Simulating and Debugging
  27. Deploying Your Processes
  28. BPEL Unit Testing
  29. Creating POJO and XQuery Custom Functions
  30. Custom Service Interactions
  31. Process Exception Management
  32. Creating Reports for Process Server and Central
  33. Business Event Processing
  34. Process Central Forms and Configuration
  35. Building a Process with a System Service
  36. Human Tasks
  37. BPEL Faults and Reports

2. Designer

2. Designer

jsonToXml(jsonString)

jsonToXml(jsonString)

Convert the JSON string to an XML element. This string can represent for an array.
The following examples show how four different array representations are transformed into XML:
  • The root element and the value is a JSON object.
    JSON
    :
    {"foo":{"name":"foo","desc":"foo desc"}}
    XML
    :
    <foo desc="foo desc" name="foo"/>
  • The root element and the value is an array. A wrapper object element containing a sequence of elements representing the values of the array is created.
    JSON:
    {"foo":[{"name":"foo","desc":"foo desc"},{"name":"foo2","desc":"foo2 desc"}]}
    XML:
    <json:object xmlns:json="http://schemas.activebpel.org/JSON/2013/10/10/aeJSON.xsd"> <foo desc="foo desc" name="foo"/> <foo desc="foo2 desc" name="foo2"/> </json:object>
  • A root object exists but there is no root element. The JSON object is wrapped into an object element.
    JSON:
    {"name":"foo","desc":"foo desc"}
    XML:
    <json:object xmlns:json="http://schemas.activebpel.org/JSON/2013/10/10/aeJSON.xsd" desc="foo desc" name="foo"/>
  • A root array exists but there is no root element. The array is wrapped in an array element and each object becomes a sequence of object elements.
    JSON:
    [{"name":"foo","desc":"foo desc"},{"name":"foo2","desc":"foo2 desc"}]
    XML:
    <json:array xmlns:json="http://schemas.activebpel.org/JSON/2013/10/10/aeJSON.xsd"> <json:object desc="foo desc" name="foo" /> <json:object desc="foo2 desc" name="foo2" /> </json:array>


Updated March 30, 2020