Using the HTTP Binding Component

Configuring Reliable Message Delivery

The following example demonstrates how to configure Reliable Message Delivery for a project, and uses the Synchronous BPEL Process sample included with NetBeans.

ProcedureInstalling the Synchronous BPEL Process sample

  1. In the NetBeans IDE, select the Projects tab to display the Projects window.

  2. From the File menu, select New Project.

    The New Project dialog box appears.

  3. In the Categories list of the New Project dialog box, select Samples -> SOA -> Synchronous BPEL Process, and click Next.

  4. Accept the default project name and location, and click Finish.

    Your new project appears in the Projects window.

ProcedureConfiguring Web Services for a Project from the CASA Editor

  1. In the NetBeans IDE, expand the SynchronousSampleApplication node in the Projects window. Right-click Service Assembly and select Edit.

    The CASA Editor opens in the NetBeans IDE, displaying the Design View of the Synchronous Sample application. The CASA Editor creates and modifies a .casa file, which contains the configuration information for the composite application. For this sample, the CASA Editor created the file.

  2. In the CASA Editor, click the Build Project icon to build the composite application.

    When the build successfully completes, the Design View displays a WSDL port endpoint, a JBI module, and the connection between the endpoint and the JBI module.

  3. Right-click the SOAP Binding and select Clone WSDL Port to edit... from the popup menu.

    The Clone WSDL port to CompApp dialog appears. Click OK to continue. The SOAP Binding icon now contains icons to access the Properties Editor and Server/Client Configuration.

  4. Click the Server/Client Configuration icon on the SOAP Binding, and select Server Configuration.

    The WS-Policy Attachment dialog box for the SOAP Binding port appears.

  5. From the WS-Policy Attachment dialog box, click the check box for Reliable Message Delivery to enable reliable messaging, and click the check box for Deliver Messages In Exact Order to enable message order. For even more options click the Advanced button.

  6. Click OK.