Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Concrete service descriptions in WSDL build upon the abstract service model, supplying information needed to "map" the abstract definition to a particular communications protocol and communications endpoint. JBI bases its component interaction model primarily on the abstract service model, thus giving it the desirable property of being communications protocol neutral. However, to be consistent with the WSDL service model, component interactions need to be defined using WSDL's concrete service model. In JBI this is a very simple model, using the abstract model "as is" wherever possible, thus creating a simple processing model for interacting components.

Section
Column

The concrete service model defines the following items:

  • Binding types. A binding type identifies the type of protocol to which the service is being "bound".
  • Endpoints. An endpoint designates the communications endpoint information needed by a service consumer to interact with a service provider, using a particular protocol. In JBI endpoints are pro forma; the only protocol used internally is the standard Java-based JBI messaging contracts, which do not involve the use of normal communications protocols at all. An endpoint definition includes the following items that are of interest to JBI:
    • Endpoint name. This is a simple name, used to designate the endpoint within its service.
    • Binding type. This associates a binding type with an endpoint.
  • Service. A service is a collection of endpoints that offer access to the same service. A service "implements" a particular service type (interface). A service has the following items:
    • Service name. A qualified name used to indicate the particular service implementation.
    • Service type name. The name of the interface implemented by the service.
    • Endpoints. The service "contains" one or more endpoints, which are the individual endpoints providing access to the concrete service.

The image to the right displays an example of how these items are mapped from a ServiceMix SU project into WSDL. This example applies to both the servicemix-http and the servicemix-jsr181 components that come with ServiceMix.

Column
Panel
borderColor#ccc
bgColor#ffffff
titleMapping WSDL to a SU
borderStylesolid

Image Added

Note that normally an endpoint is identified by the combination of its service name and its endpoint name. This combination is referred to as the service endpoint.

...