Include before-image data
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Before-image data is serialized in a proprietary OpenEdge datasetChanges
document. The WSDL represents the parameter as arbitrary complex data with an
<any> element. XML Schema attributes from the ABL-specific namespace
identify the element as a datasetChanges document.
An ABL-based client can map the <any> element to a ProDataSet
parameter and parse the OpenEdge datasetChanges document into a
ProDataSet and its before-image data through the READ-XML( ) method. For more
information on how ABL handles before-image data in XML, see the chapter on reading and
writing XML data from ProDataSets in OpenEdge Development: Working with XML.
Non-ABL clients map the <any> element to an XML document that the
client developer needs to parse with an XML API.
The following code snippet defines a ProDataSet with before-image data:
|
The following WSDL sample defines the ProDataSet parameter for
getCustOrdersBI.p using the Doc/Lit SOAP format:
Doc/Lit WSDL for getCustOrdersBI.p
|
Note that the ProDataSet parameter is described in two parts:
- An arbitrary complex type (<
any />) for the OpenEdge datasetChanges document - The ProDataSet definition specifying the before-image tables with the
prodata:beforeTableattribute
The RPC styles use the same structure for the dataset definition.