Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create XML Literals Based on Schema or WSDLs

Create XML Literals Based on Schema or WSDLs

Create an assembly containing 1 of these elements:
  • A
    write
    step
  • A
    log
    step
  • A
    log-error
    error handler
Workday Studio's Literal Builder enables you to create simple XML documents that conform to selected schema or SOAP request messages that conform to selected WSDLs. You can append WS-Security headers to SOAP request messages.
  1. Add a
    text
    element to 1 of these assembly elements:
    • A
      write
      step
    • A
      log
      step
    • A
      log-error
      error handler
  2. In the right pane, click
    Generate XML literal
    .
  3. In the
    Literal Builder
    wizard, select the schema or WSDL element that you want to generate the XML literal for. As you complete the task, consider:
    Option Description
    Show Messages
    By default, Studio displays WSDL elements as messages. To display them as interface definitions with
    portTypes
    , operations, input messages, and output messages, deselect this option.
    Wrap SOAP
    Wraps the selected XML definition in a SOAP envelope.
    Add WS-Security Header
    Adds a SOAP
    Header
    element to the SOAP request. The SOAP header includes the WS-Security credentials you provide within a
    UsernameToken
    element. Only available if you select
    Wrap SOAP
    .
    Wrap XSLT
    Creates an XML literal wrapped in an XSL stylesheet. You can save the stylesheet as an XSLT file for later use.
    Ask for Choices Selection
    Prompts you to select a particular choice from a schema when creating and copying an XML literal or SOAP literal. If you don't select this option, Studio uses the first choice in a particular set.
Studio displays a preview of the XML literal, which you can edit.