Using the HL7 Binding Component

Defining an HL7 Binding Component Application Configuration

The HL7 Binding Component's Application Configuration property allows you to change the configuration information for an endpoint without changing a projects business logic. The HL7 WSDL endpoint properties can be configured from the HL7 Binding Component Runtime Properties Editor.

ProcedureTo Define the HL7 Application Configuration

  1. To associate a Configuration Extension profile with the HL7 endpoint, open your project service assembly in the CASA Editor. To do this, from the Project window, right-click your composite application's Service Assembly node, and then select Edit.

    The CASA Editor opens.

    Image shows the CASA Editor as described in context
  2. Right-click the HL7 consumer port icon, and then select Properties.

    The HL7 WSDL Port Properties Editor appears.

    Image shows the HL7 WSDL Port Properties Editor
  3. From the Properties Editor, under Config Extension, enter a name for your profile, such as the name of the HL7 WSDL. Click Close.

  4. From the NetBeans IDE Services window, make sure that GlassFish V2 server is started. If the GlassFish server is not started, right-click GlassFish V2 and then select Start. In the same way, make sure that the HL7 Binding Component (sun-hl7-binding) is also started.

  5. Right-click the sun-hl7-binding and then select Properties.

    Image shows the sun-hl7-binding node in the NetBeans
Services window

    The sun-hl7-binding Properties Editor appears.

  6. From the sun-hl7-binding Properties Editor, click the edit button for the Application Configuration property.

    The sun-hl7-binding Application Configuration Editor appears.

    Image shows the Application Configuration property
editor
  7. Click Add to add a new row to the Application Configuration Editor, representing all of the application configurable parameters for the HL7 Binding Component.

  8. Enter the properties for your binding.

    For more information about Application Configuration properties, see Application Configuration under Runtime Properties.

  9. Click OK and Close to save properties.

    When the composite application is deployed, the HL7 Binding Component will use the new application configuration that has been defined for the respective endpoint.

Defining the Application Configuration Using Other Tools

In addition to the NetBeans IDE, you can also use these other tools to edit the HL7 Binding Component Application Configuration.