Before the doVerbFor() method exits, it must prepare
the response it sends back to the connector framework. This
response indicates the success (or lack thereof) of the verb
processing. The connector framework, which
has invoked doVerbFor(), uses this information to
determine its next action and to build the response it returns to
the integration broker.
The doVerbFor() method can provide the response
information in Table 37 to
the connector framework.
Table 37. Response
information from the doVerbFor() method
Response
information |
How the
response is returned |
Outcome
status |
Integer
return code of doVerbFor() |
Return-status
descriptor |
Return-status
descriptor that was passed in as an argument--Connector framework
passes in an empty return-status descriptor as an argument to
doVerbFor(). The method can update this descriptor with a
message and status value to provide informational, warning, or
error status. |
Response
business object |
Request
business object that was passed in as an argument--Connector
framework passes in the request business object as an argument to
doVerbFor(). The method can update this request business
object with attribute values to provide a response business
object. |
For information on how to send this response information for a
C++ connector, see Sending the verb-processing
response.
