5.2.3.2.2 Description
The implemented function has the capability to convert the given custom typed buffer instance to the single root XML document used by the SOAP message.
The input parameter (CustomerBuffer *a)
, is used to
store the custom typed buffer response instance. 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.
The input parameter (char * type)
, indicates the
custom typed buffer type name. This parameter can be used to verify
if the SALT GWWS server expected custom typed buffer handler
matches the current plug-in function.
The output parameter (char ** xmlbuf)
, is a pointer that indicates the newly converted XML payload. The XML payload buffer must be allocated by this function and uses malloc()
. Plug-in code is not responsible to free the allocated XML payload buffer, it is automatically destroyed by the GWWS server if it is not used.