The following is a list of the steps that you need to complete to expose your J2EE application to a Web service using the FUSE Services Framework JCA Connector. It assumes that the Web service WSDL file already exists. If, however, you need to develop a WSDL file, please refer to Writing WSDL Contracts.
Set your FUSE Services Framework environment (see
Setting Up Your Environment in
Obtain a copy of, or details of the location of, the WSDL file that defines the Web service to which your application needs to connect.
Map the WSDL file to Java to obtain the Java interfaces that you will use when writing your application. FUSE Services Framework provides a wsdl2java tool that does this for you.
For more information on the wsdl2java tool see
wsdl2java in
Write your application. For details, see Writing Your Application.
Package your application. For details, see Packaging Your Application.
Build the FUSE Services Framework JCA Connector RAR file. It must have the following structure and contents:
Table 3.1. Outbound Connections: RAR File Structure and Contents
| Directory | Contents |
|---|---|
META-INF | The ra.xml file that configures the resource adapter |
Root |
|
The sample application's build.xml file includes a generate.rar
target that you can use to build the RAR file (see Example 2.4).
Deploy the FUSE Services Framework JCA Connector RAR file and your application to your J2EE application server. For details, see Deploying FUSE Services Framework JCA Connector.