Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awDeliver | awDeliverNullReplyEvent
 
awDeliverNullReplyEvent
BrokerError awDeliverNullReplyEvent(
BrokerClient client,
BrokerEvent request_event,
char *reply_event_type_name,
BrokerLong publish_seqn);
client
The Broker client that is delivering the reply event.
request_event
The original request event. Used to determine the client ID of the sender of the original request.
reply_event_type_name
The type name of the null reply event.
publish_seqn
The publish sequence number for the reply event. Set to zero if your application is not using publish sequence numbers.
Delivers a null event of type reply_event_type_name to the publisher of the request_event. The envelope tag, appSeqn, and appLastSeqn fields are set to indicate that this is a null event. This indicates that the request was successful and resulted in no data.
If the trackId envelope field was set on request_event, that value is copied to the null reply event. If the request_event trackId envelope field was not set, the pubId envelope field from the request_event will be used instead.
Note:
An error will not be returned if the recipient, represented by the pubId field in request_event, no longer exists.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The Broker client, represented by the client parameter, has been destroyed or disconnected.
AW_ERROR_INVALID_EVENT
The request_event is invalid.
AW_ERROR_NO_PERMISSION
The client does not have permission to publish the event type.
AW_ERROR_NULL_PARAM
The parameter reply_event_type_name is NULL.
AW_ERROR_UNKNOWN_EVENT_TYPE
The event type for the reply event does not exist on the Broker.
See also: