Try OpenEdge Now
skip to main content
Managed Adapters Guide
Web Service Managed Adapter : Fault handling : Mapping an XPath expression to a user-defined parameter
 

Mapping an XPath expression to a user-defined parameter

To map XPath expression in the SOAP fault XML to a user-defined parameter:
1. Provide an invalid input to the Web service to generate a fault.
2. Click Invoke to activate the SOAP Fault tab with the SOAP fault XML.
3. Select the Map Fault Fields checkbox, then click Fault Mapper to launch the XPath Wizard.
4. Click Add to specify the parameter name, XPath expression, and the type.
5. Click OK will add the parameter to the XPath Wizard. You can create multiple parameters to map to multiple xpaths in the SOAP faults.
Note: In case multiple fault handlers are defined for this operation, you need to perform the above procedure for each of them.