Create XPath Expressions Based on Schema or WSDLs
Create an assembly containing 1 of these steps:
- java-to-xml
- validate
- xml-to-java
In Workday Studio, the XPath Expression Builder enables you to create XPath
expressions based on selected schema or WSDLs.
- On thePropertiesview of 1 of these steps, clickBuild XPath Expression, next to theXPathproperty:
- java-to-xml
- validate
- xml-to-java
- On the lower pane of theXPath Expression Builderwizard, select the schema or WSDL element that the XPath expression will match. 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.Prefix SOAPBy default, Studio prefixes the XPath expressions you create with this expression, as shown in the upper text pane:env:Envelope/env:Body. To remove the prefix, deselect this option. - If required, you can edit the XPath expression manually in the upper text pane. Example: you might want to use a predicate to filter the nodeset that the XPath returns.