Understanding of wtcSAP class structure
wtcSAP class structure comes with an HTTP adapter that
supports the communication with the HTTP server. It also enables the exchange of
the documents of the MIME type using the HTTP GET and POST methods. The HTTP
adapter in turn has host objects, which represent the HTTP GET and POST methods.
This data in the host objects is represented in the form of simple text in the
string variable in a single section message and as an array of strings in the
case of multi- section message. In addition to HTTP adapter wtcSAP has a WT
Filter that gives the option of converting XML documents into WT Script objects,
for simplified analysis and synthesis of contents. Also, this representation of
XML documents as WT script objects (a Document Object Model (DOM) in WT script)
makes the contents available to the WT Script program (WTML template) for
suitable processing. The data flow in the wtcSAP class structure follows the
following pathway:
Fig: Schematic Representation of Data Flow in wtcSAP
|