Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Java CAPS HL7 Binding Component User's Guide Java CAPS Documentation |
Oracle HL7 Binding Component User's Guide
About the HL7 Binding Component
The Health Level 7 Messaging Standard
HL7 Binding Component as a Consumer
HL7 Binding Component as a Provider
HL7 Binding Component Features
Using the HL7 Binding Component Wizard
Accessing the HL7 Binding Component Wizard
To Access the Wizard by Creating a New File
To Access the Wizard by Creating a New Binding
To Access the Wizard by Creating a New WSDL Document
Configuring the HL7 Binding Component in the Wizard
To Configure the HL7 Binding Component in the Wizard
MLLP Version 2 Properties (Outbound Only)
HL7 Binding WSDL Extensibility Elements
Adding HL7 Extensibility Attributes From the WSDL Editor
To add Service Level HL7 Extensibility Attributes
Service Level HL7 Extensibility Elements
HL7 protocolproperties Element
HL7 communicationcontrols Element
Binding Level HL7 Extensibility Elements
Dynamically Configuring HL7 Endpoints
Dynamic Addressing Using Normalized Message Properties
Enabling Dynamic Endpoint Configuration
Using Normalized Message Properties in a BPEL Process
Using Predefined Normalized Message Properties in a BPEL Process
To Use Predefined Normalized Message Properties in a BPEL Process
General Normalized Message Properties
HL7 Binding Component Normalized Message Properties for Outbound Endpoints
HL7 Binding Component Normalized Message Properties for Inbound Endpoints
HL7 Binding Component Runtime Properties
Configuring the HL7 Binding Component Runtime Properties
To Edit HL7 Binding Component Runtime Properties
Defining an HL7 Binding Component Application Configuration
To Define the HL7 Application Configuration
Defining the Application Configuration Using Other Tools
Using Application Variables to Define Name/Value Pairs
Using Application Variables for Password Protection
Creating a Password Application Variable
Using HL7 Quality of Service (QoS) Features
Quality of Service (QoS) Properties
Dynamic configuration is the ability to make changes at runtime, without reconfiguring a project's design-time configuration. WSDL files provide static configuration controls for the behavior of JBI endpoints.
To dynamically configure an HL7 project, there are three alternatives:
The following topics provide additional information and instructions on using normalized message properties:
Application Variables are name value pairs of a given type (String, number, Boolean, or password) and are defined at the binding component level. The Application Variable name acts as a token for a WSDL extensibility element attribute in a corresponding binding. For example, if you were defining an application variable for the hostname as FOO, then the WSDL attribute would be ${FOO}. In the Application Variables property you would enter a String value of FOO for the name, and the desired attribute as the value. For more information on using Application Variables see Using Application Variables to Define Name/Value Pairs.
The Application Configuration property allows you to configure the connectivity and level parameters for an application that you have created, and without changing or rebuilding the application, deploy the same application into a different system. For example, you can take an application that is running in a test environment and deploy it to a production environment without rebuilding the application. A Composite Application's external connectivity parameters, which are normally defined in the WSDL service extensibility elements, can be configured in the runtime properties. For more information on using Application Configurations see Defining an HL7 Binding Component Application Configuration.
Dynamic Addressing uses Normalized Message Properties to dynamically override the static configuration of an endpoint and reroute messages accordingly. The message payload can contain the location of the message consumer as well as other binding protocol specific information to configure endpoint behavior.
Normalized Message properties are commonly used to specify metadata that is associated with message content. javax.jbi.security.subject and javax.jbi.message.protocol.type are two examples of standard normalized Message properties defined in the JBI Specification.
Normalized Message properties provide additional capabilities, including the following:
Getting and setting transport context properties; for example, HTTP headers in the incoming HTTP request or file names read by the File Binding Component.
Getting and setting protocol-specific headers or context properties (SOAP headers).
Getting and setting additional message metadata; for example. a unique message identifier or an endpoint name associated with a message.
Dynamic configurations; for example, to dynamically overwrite the statically configured destination file name at runtime.
Some of the use cases mentioned above require protocol and binding specific properties, typically used by a particular binding component. Other properties are considered common or general purpose properties that all participating JBI components make use of, such as the message ID property, which can be utilized to uniquely identify or track a given message in the integration.
Normalized Message Properties are component specific, different for every binding component type. To enable HL7 Normalized Message properties to be applied to a Dynamic Endpoint configuration, set the HL7 runtime configuration property Allow Dynamic Endpoint to true (checked). You will also need to set the HL7 Normalized Message Property, Use Dynamic Endpoint, to true.
When Allow Dynamic Endpoint is enabled, the HL7 Binding Component behaves as follows:
Inbound Endpoint Behavior:
The HL7 Binding Component receives the message from the external system.
It creates the Message Exchange and adds the normalized message.
It checks to see if the runtime Allow Dynamic Endpoint property is enabled. If enabled, it populates the respective Normalized Message Properties with the specified values.
It appends these Normalized Message Properties to the Message Exchange.
It sends the Message Exchange to the delivery channel.
Outbound Endpoint Behavior:
The HL7 Binding Component receives the Message Exchange from the delivery channel.
It checks to see if the runtime Allow Dynamic Endpoint property, and the Outbound Normalized Message property Use Dynamic Endpoint (org.glassfish.openesb.hl7.use.dynamic.endpoint) are enabled. If enabled, it retrieves the Normalized Message properties from Message Exchange and uses them to overwrite the static binding configuration of the endpoint.
It uses the overwritten property information while communicating with the external system.
The Normalized Message properties are accessed from the BPEL Designer Mapper view. When you expand a variable's Properties folder it exposes the variable's predefined NM properties, as well as the regular BPEL specific WSDL properties used in correlation sets, assigns, and to build expressions .
Predefined Normalized Message properties are ready for use, from a variable's Properties file.
The property is highlighted with a blue field indicating that you are applying an action to this item.
A String Literal method box is added to the properties action field.
A line now links the String Literal box to the property.
The HL7 Binding Component uses the General Normalized Message properties, as well as the HL7 Normalized Message properties for outbound and inbound endpoints.
The following General NM properties are available to all binding components.
Table 7 General Normalized Message Properties
|
The following table defines the HL7 Normalized Messages for outbound endpoints.
Table 8 HL7 NM Properties for Outbound Endpoints
|
The following table defines the HL7 Normalized Messages for inbound endpoints.
Table 9 HL7 NM Properties for Inbound Endpoints
|