NonStop SOAP User's Manual
NonStop SOAP User-Exits
NonStop SOAP User’s Manual—520501-012
C-40
3. SoapUEHandler_impl.cpp
(void) fprintf(stderr,"Error allocating send buffer\n");
tpterm();
exit(1);
}
// tpalloc is TUXEDO memory allocation call, used to initialize the response
buffer with NULL
if((rcvbuf = (char *) tpalloc("STRING", NULL, sendlen+1)) == NULL)
{
(void) fprintf(stderr,"Error allocating receive buffer\n");
// If Response buffer is not allocated then we have to free the Request
buffer memory before exiting the process.
tpfree(sendbuf);
tpterm();
exit(1);
}