Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Request-Reply | The Server | Delivering Replies | Delivering Null Replies
Delivering Null Replies
The server application may deliver a null reply if the request was successfully processed and there are no data to be returned. When invoking the awDeliverNullReplyEvent function, you may either specify a valid publish sequence number or specify a value of zero if you do not wish to use publish sequence numbers. For more information, see Using Sequence Numbers.
The following example shows the delivery of a null reply:
. . .
printf("Delivering null reply to requestor\n");
err = awDeliverNullReplyEvent(c,e,"Sample::Reply",0);
if (err != AW_NO_ERROR) {
printf("Error on awDeliverNullReplyEvent\n");
return 0;
. . .