# ebXML Control Interface

The EBXMLControl interface extends com.bea.control and includes the following methods:

Method Name | Description
--- | ---
onAck | Invoked when an ebXML SOAP envelope containing an acknowledgement is received. Base control method.
onError | Invoked when an ebXML SOAP envelope containing an error is received.
setProperties | Sets dynamic properties at run-time, such as the business ID of the sender or recipient.
getProperties | Displays the current property settings.

After creating a JCX control instance, the following generated methods are available. You can use the default method names or rename them to be more descriptive of your implementation.

Method Name | Description
--- | ---
request | Sends the specified message. Specified in the Control Send node in the initiator business process. Note: The default return type for the request method is void. However, you can also specify the return type to be XmlObject. If you use XmlObject as the return type, the content the XmlObject is the ebXML envelope data.
response | Invoked when a business message is received. Specified in the Control Receive node in the initiator business process.

Note: To learn about the syntax for using a particular method, view the method in Source View.

Related Topics

ebXML Control Annotations