Create XML Literals Based on Schema or WSDLs
Create an assembly containing 1 of these elements:
- Awritestep
- Alogstep
- Alog-errorerror 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.
- Add atextelement to 1 of these assembly elements:
- Awritestep
- Alogstep
- Alog-errorerror handler
- In the right pane, clickGenerate XML literal.
- In theLiteral Builderwizard, select the schema or WSDL element that you want to generate the XML literal for. As you complete the task, consider:
Option Description Show MessagesBy default, Studio displays WSDL elements as messages. To display them as interface definitions withportTypes, operations, input messages, and output messages, deselect this option.Wrap SOAPWraps the selected XML definition in a SOAP envelope.Add WS-Security HeaderAdds a SOAPHeaderelement to the SOAP request. The SOAP header includes the WS-Security credentials you provide within aUsernameTokenelement. Only available if you selectWrap SOAP.Wrap XSLTCreates an XML literal wrapped in an XSL stylesheet. You can save the stylesheet as an XSLT file for later use.Ask for Choices SelectionPrompts 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.