Use this page to configure transport settings for a business service using the EJB transport protocol.
Option
|
To create or edit...
|
---|---|
Service Account
|
|
Supports Transaction
|
Select this check box to specify transaction support.
|
Client Jar
|
Click Browse and select an EJB client JAR resource from the list displayed.
|
Converter Jar
|
Click Browse and select an EJB converter class JAR resource from the list displayed. To learn more about EJB client JAR resources and converter classes, see
EJB Transport in the AquaLogic Service Bus User Guide.
|
Home Interface
|
Select the required EJBHome interface from the options populated by the JAR. The JNDI name in this URI sample must be associated with the EJBHome interface you select here. If the EJB is not of the required type or an EJBHome interface is not specified in the client-jar, a warning will be displayed.
|
Remote Interface
|
This field is automatically populated depending on the configuration of the Home Interface.
|
Target Namespace
|
This field is populated by information picked up from the JAR.
|
Style
|
Select Document Wrapped or RPC according to your requirements. If two or more methods of your stateless session EJB have the same number and data type of parameters, and you want the operations to be document-oriented, you must specify that they be document-wrapped.
The style is important because when routing or publishing to the EJB,
$body must have content that matches the style. Also when calling out to an EJB, the style affects the parameter contents, especially for document wrapped. Secondly one usage pattern is to define an EJB business service and then create a proxy service with the same WSDL that routes to the EJB. In this case care must be taken on the style of the WSDL because the client tool used to invoke the proxy might have limitations on the style of the WSDL.
|
Encoding
|
Select Encoded or Literal.
|
Methods
|
Select the required methods (you can select multiple methods). Click + to expand the method and: edit the default parameter values and select a converter if provided (or required).
|