Try OpenEdge Now
skip to main content
Managed Adapters Guide
Web Service Managed Adapter : Fault handling : Dataslot mapping for fault handling
 

Dataslot mapping for fault handling

In order to implement fault handling, you need to map the defined fault parameters to dataslots. You can define this mapping in the Dataslot Mapping dialog box, which now displays the additional Faults tab.
The parameter displayed in the Faults tab depends on the option you have selected in the Types and Mapping tab (Figure 22) of the Web Service Configurator.
*For Java Input and Output
In this case, the Faults tab displays the fault names and parameters, which you can map to exception objects.
*For Soap Message as Input and Output or Java Input and Soap Message Output
*In case you have not selected the Map Fault Field check box to provide the XPath expression, the Faults tab displays the SOAPFaultXML parameter, which you can map to a CHARACTER dataslot.
*In case you have selected the Map Fault Field check box to provide the XPath expression, the Faults tab displays all the parameters defined in the XPath wizard, which you can map to different dataslots.