5.2.3.1.2 Description

The implemented function should have the capability to parse the given XML buffer and convert concrete data items to an Oracle Tuxedo custom typed buffer instance.

The input parameter, char * xmlbuf, indicates a NULL terminated string with the XML format data stream.

Note:

The XML data is the actual XML payload for the custom typed buffer, not the whole SOAP envelop document or the whole SOAP body document.

The input parameter, char * type, indicates the custom type buffer type name, this parameter is used to verify that the GWWS server expected custom typed buffer handler matches the current plug-in function.

The output parameter, CustomerBuffer *a, is used to store the allocated custom typed buffer instance. An Oracle Tuxedo custom typed buffer must be allocated by this plug-in function via the tpalloc(). Plug-in code is not responsible to free the allocated custom typed buffer, it is automatically destroyed by the GWWS server if it is not used.