Publishing Business Event with Reply

This service method is used to generate a publication request to the plug-in and it waits for the reply data processed through an external Siebel plug-in activity.

The following table describes the EAI TIBCO HTTP Agent Publish Business Event with Reply Arguments:

Argument Type Description
AgentHTTPServer Input The name or IP address of the machine on which the plug-in is running. The server name must include the port number. For example, if the plug-in is configured to listen on port 9191 on the computer myMachine, then the parameter AgentHTTPServer has the value myMachine:9191. Ensure that the value entered in the myMachine field is the same as that entered while generating the certificate. For example, if you have entered the IP address of the machine as your First Name and Last Name while generating the certificate, enter the same in myMachine field.
ErrorCode Output Returns error code if the service method failed to query the state of the plug-in on the network.
ErrorMessage Output Returns error description about the query failure.
EventName Input Name of the Business Event to request for publishing.
KeyName Input (Optional) Name of the Siebel field as the key for setting up the top-level matching criterion for the adapter to process the publication request. If this is not given, the default top-level match field in the Business Event specifications is used.
KeyValue Input Value of the key field value in generating the top-level matching criterion.
OperationType Input
  • insert - insert operation code
  • update - update operation code
  • delete - delete operation code
  • upsert - insert or update operation code
NumInputKeySets Input (Optional) Number of search key name or value pairs in the input InputKeySets arguments for setting the top-level matching criteria for the plug-in to process the publication request.
ReplyNumeric Output Reply data as numeric value returned from the operation implementation for businessEvent.processEvent().
ReplyString Output Reply data as string value returned from the operation implementation for Request-Response Invocation service.
ReplyMessage Output Reply data as Siebel Property Set returned from the operation implementation for businessEvent.processEvent().
ReplyTimeout Input In the Request-Response Invocation service, it is the time interval lapsed between receiving a request and sending a response back to the external system. The value set in HTTPReplyTimeout overrides the timeout values set at the session level. The interval is measured in milliseconds (ms.) By default, the timeout interval is 100000 ms. Receives timeout in seconds for the operation implementation for businessEvent.processEvent().
CharSetConversion Input Specifies how the character set should be converted while exchanging data between the plug-in and an external system. The same character set conversion is assumed for both requests and responses. None, UTF-8, and UTF-16 are the accepted values for this argument. By default, the value is None.
CheckAdapterAvailability Input The Business Service checks for plug-in availability when this flag is set to Y. By default, this field is set to N.
SiebelMessage Input The XML representation of the Siebel Integration Object. Provide this input to send a complete Integration Object to the adapter. For example,
<Siebel Message IntObjectName=”Sample Account”>
<ListOfSample Account>
<Account>
<Name>John<\Name>
<Location>Palo Alto<\Location>
<\Account>
<\ListOfSample Account>
<\Siebel Message>
<Siebel Message IntObjectName=”Sample Account”>
<ListOfSample Account>
<Account>
<Name>John<\Name>
<Location>Palo Alto<\Location>
<ListOfContact>
<Contact>
<First Name>Tibco<\First Name>
<Last Name>Software<\Last Name>
<Contact>
<ListOfContact>
<\Account>
<\ListOfSample Account>
<\Siebel Message>
HTTPRequestTimeout Input Is the timeout interval required to login, send, and log off requests. The value is in milliseconds (ms). The default value is 120000 ms.
TIBErrorCode Output Returns error codes specific to the TIBCO Siebel Plug-in. For more information, see Error Codes.
IsSecureConn Input Set this flag to Y to enforce a secured connection using SSL. If you choose Y, you must establish a certified connection on both, client and server. By default, IsSecureConn is set to N.
The following table describes the Invoking the Publish Business Event Method with Reply parameters.
Required Argument Description
KeyValue only The default top-level match field specified in the Business Event specification is used as the matching criterion for generating one publication event.
KeyName and KeyValue The top-level match field is set using the KeyName input argument (overwriting the default top-level match field) and is used as the match criterion for generating one publication request.
NumInputKeySets, InputKeySets The top-level match fields are set using the name or value pairs specified in theI nputKeySets as Siebel Property Sets and are used as the match criteria for generating one publication request.
Note: If you are using service type as SendReceive Integration Objects in the Request-Response Invocation service, SiebelMessage must be entered as KeyName, for example,
<Siebel Message IntObjectName=”Sample Account”>
 <ListOfSample Account>
 <Account>
 <Name>John<\Name>
 <Location>Palo Alto<\Location>
 <ListOfContact>
 <Contact>
 <First Name>Tibco<\First Name>
 <Last Name>Software<\Last Name>
 <Contact>
 <ListOfContact>
 <\Account>
 <\ListOfSample Account>
<\Siebel Message>
and the KeyValue must contain the whole integration object instance.