LibraryToggle FramesPrintFeedback

The following is a list of the steps that you need to complete to expose your J2EE application to a Web service using the Apache CXF 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.

  1. Set your environment (see Setting Up Your Environment in Configuring and Deploying Web Service Endpoints).

  2. 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.

  3. 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 Tool Reference.

  4. Write your application. For details, see Writing Your Application.

  5. Package your application. For details, see Packaging Your Application.

  6. Build the Apache CXF JCA Connector RAR file. It must have the following structure and contents:


    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).

  7. Deploy the Apache CXF JCA Connector RAR file and your application to your J2EE application server. For details, see Deploying Apache CXF JCA Connector.

Comments powered by Disqus