• 沒有找到結果。

Service Reference

在文檔中 TIBCO ActiveMatrix® (頁 63-68)

General Tab WSDL Interface

Field Description

Name The name of the service.

Default: Servicen, where n is an integer.

Port Type The port type of the service.

WSDL Location The location of the WSDL file that defines the port type. Read-only.

Context Parameters

Column Description

Name The name of the context parameter.

Operations The operations in the port type of the service or reference to which the parameter applies.

Direction The direction of the message to which the parameter applies: Input, Output, Fault. If Fault, the list of fault messages.

Column Description

Type The type of the parameter:

Basic - a basic property.

Message - a message associated with the binding. The binding cannot reference a message used by an operation in the port type.

Bag - a collection of properties.

Definition

Basic - the definition of the property. If the Direction is Input or Output, one of string, int, long, or boolean. If the Direction is Fault, one of string, int, long, boolean, QName, or URI.

Message - the definition of the message, consisting of a message and a message part.

Advanced

Field Description

Conversational Indicate that there is a sequence of operations in the port type that must be called in order to achieve some higher level goal. Supported only when WS-Reliable Messaging is enabled for a SOAP binding.

Default: False.

Bindings Tab

See SOAP Binding Reference on page 69 and JMS Binding Reference on page 92.

Policies Tab

Policy Management on page 111.

Appearance Tab

Field Description

Fonts and Colors Specifies the font and color.

Lines and

Arrows Specifies the style of lines and arrows.

Gradient Specifies the color gradient.

Reference Reference

General Tab WSDL Interface

Field Description

Name The name of the reference.

Default: Referencen, where n is an integer.

Port Type The port type of the reference.

WSDL Location The location of the WSDL file that defines the port type. Read-only.

Context Parameters

Column Description

Name The name of the context parameter.

Operations The operations in the port type of the service or reference to which the parameter applies.

Direction The direction of the message to which the parameter applies: Input, Output, Fault. If Fault, the list of fault messages.

Type The type of the parameter:

Basic - a basic property.

Message - a message associated with the binding. The binding cannot reference a message used by an operation in the port type.

Bag - a collection of properties.

Definition

Basic - the definition of the property. If the Direction is Input or Output, one of string, int, long, or boolean. If the Direction is Fault, one of string, int, long, boolean, QName, or URI.

Message - the definition of the message, consisting of a message and a message part.

Advanced

Field Description

Wired by

Implementation Indicate that the implementation will dynamically wire the reference to a service when the component runs.

Default: False.

Field Description

Conversational Indicate that there is a sequence of operations in the port type that must be called in order to achieve some higher level goal. Supported only when WS-Reliable Messaging is enabled for a SOAP binding.

Default: False.

End Operation The operation that signifies the end of the conversation. Enabled when Conversational is checked.

Bindings Tab

See SOAP Binding Reference on page 69 and JMS Binding Reference on page 92.

Policies Tab

Policy Management on page 111 Appearance Tab

Field Description

Fonts and Colors Specifies the font and color.

Lines and

Arrows Specifies the style of lines and arrows.

Gradient Specifies the color gradient.

Bindings

A Binding specifies how communication happens between a Reference and a Service. A Service Binding describes the mechanism a client uses to access a Service. A Reference Binding describes the access mechanism a Reference uses to invoke a Service. References can have at most one Binding.

TIBCO ActiveMatrix supports the following binding types:

Virtualization

REST

SOAP

JMS

EJB

Adapters

Virtualization Bindings connect Services and References to the Messaging Bus. Virtualization Bindings are automatically created for every Composite Service and every wired component Service and Reference. At design-time, Virtualization Bindings of Component Services and References are implicit;

their properties cannot be viewed.

There are two types of Virtualization Bindings: internal and external. An internal binding is associated with a Component Service or Reference. An external binding is associated with a Service or Reference promoted to the root composite. Administrators can create or modify wires connected to external bindings and can monitor, start, and stop external bindings.

The following bindings are explicitly created by architects and developers only on promoted services and references:

SOAP

Adapters

JMS

REST

TIBCO Business Studio and TIBCO ActiveMatrix Administrator provide the option to choose between TIBCO's SOAP/JMS and W3C SOAP/JMS for SOAP Binding Type while adding a Binding to a Service.

The following figure, Bindings are indicated by a icon. The promoted Service HelloWorldPT has a SOAP and external Virtualization Binding. The Components have internal Virtualization bindings. The promoted reference DateManagerPT has a SOAP binding. In addition, any time a Service or Reference has a binding of type other than Virtualization, a pair of proxy (Virtualization) bindings are created to connect the Service or Reference to the Component to which the Service or Reference Service is wired.

This figure is a representation of the TIBCO_HOME/samples/java/helloworld2.zip sample in the installation. You can run the sample to get a better understanding of the Bindings.

Bindings

在文檔中 TIBCO ActiveMatrix® (頁 63-68)