Using the HL7 Binding Component

Using Application Variables for Password Protection

To protect passwords that would otherwise appear as clear text in your WSDL file, you can enter a password Application Variable as a token. In the following example, a password Application Variable is created that uses the name SECRET and the password PROTECT.

ProcedureCreating a Password Application Variable

  1. In the NetBeans Servers window, expand Servers -> GlassFish V2 -> JBI -> Binding Components.

  2. Right click sun-hl7-binding.

    The sun-hl7-binding Properties appear in the Properties window.

  3. Click the Application Variables property ellipsis (...) button.

    The Application Variables editor appears.

  4. Click Add, select Password as your variable type, and then click OK.

    A new row is added to the Application Variables editor.

  5. Enter SECRET as the name, and enter PROTECT as the value.

    Because this is a password type, the characters of your password are displayed as asterisks.

  6. Use the application variable name ${SECRET} as your WSDL password attribute, using the dollar sign and curly braces as shown.