Select the source for the SOAP service input request: Expression or Input File Name.
Specify the expression to load XML content. For example:
Process.xmlContent
or
Datasets["xmlData"].xmlContent
Specifies the XML document from which to extract data. Enter an expression that returns the path of the XML file for a valid XML document.
CA Process Automation provides an option to strip XML namespaces from a response so that a user can provide simpler XPath expressions to look for a value of specific element. This option is available in all the SOAP operators.
The following javascript functions are provided:
Note: The default value of namespaceAware is true. The value of namespaceAware is false if you want stripping of Namespace in XML Structure (and true otherwise).
Process.x="<getMatchingEventsResponse xmlns='http://www.ca.com/itpam'><events> <event ><eventName>test</eventName></event></events></getMatchingEventsResponse>";
Process.s=applyXPath(Process.x,"//eventName",true);
Process.aa1=applyXPathToUrl("file:C:/test.xml","//message",true);
Process.aa2=applyXPathToUrl("file:C:/test.xml","//message",false);
Process.s1=applyXPath(Process.x,"//eventName",false);
Process.s2=applyXPath(Process.x,"//eventName");
Specifies XPath expressions to extract data from the XML document. For each expression specified here, specify a dataset variable to which to store the extracted data and a data type.
Use the Add, Edit, and Delete buttons to add, edit, or delete expressions from the list box. The Add and Edit buttons open the Additional Extracted Data dialog.
Specify values for the following options:
Specifies the XPath expression selected under Additional extracted data.
Specifies the name of an operator dataset variable in which to save values extracted based on the selected XPath expression.
Specifies the type of element being extracted from the response. Select one of the following currently supported types:
|
Copyright © 2014 CA.
All rights reserved.
|
|