Progress
ADM 2 Reference
SmartB2BObject
The SmartB2BObject transforms data between XML and 4GL based on an agreed-upon XML schema mapped to local data representations. It performs this service on behalf of other SmartObjects, particularly the SmartBusinessObject and SmartDataObject.
A single instance transforms either inbound or outbound messages, but not both. Two instances of this object are required when transforming both inbound and outbound messages.
The class name of the object is B2B, and it inherits from classes MsgHandler and XML. All are user-defined classes.
The file %DLC%/src/
adm2/b2b.p
is the super procedure for the SmartB2BObject class. It contains logic that uses the XML mapping schema to read or store data in data objects. The syntax for loading that file is:
Other files related to
b2b.p
are:
MsgHandler Class
The MsgHandler class is represented by the super procedure
msghandler.p
. The syntax for loading that file is:
Other files related to
msghandler.p
are:
XML Class
Xml.p presents a simplified DOM API by encapsulating the 4GL DOM statements so that x-noderef handles never need to be exposed to b2b.p. The syntax for loading that file is:
Other files related to xml.p are:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |