Versions Compared

Key

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

...

Info
titleConsumer endpoint attributes
borderStylesolidbgColor='lighblue'

Name

Type

Description

Required

service

QName

the service name of the proxied endpoint

  yes

endpoint

String

the endpoint name of the proxied endpoint

  yes

interfaceName

QName

the interface name of the proxied endpoint

 

targetService

QName

the service name of the target endpoint

no (defaults to the service attribute)

targetEndpoint

String

the endpoint name of the target endpoint

no (defaults to the endpoint attribute)

targetInterfaceName

QName

the interface name of the target endpoint

 

role

String

must be 'consumer'

yes

locationURI

URI

the http url where this proxy endpoint will be exposed

yes

defaultMEP

URI

the default MEP uri to use

no

soap

boolean

if set, the component will parse the soap requests and send the content into the NMR

no (defaults to false)

soapVersion

string

can be set to '1.1' to force the use of SOAP 1.1 messages

no

wsdlResource

Spring resource

if set, the wsdl will be retrieved from the given Spring resource

no

 The targetService, targetEndpoint and targetInterfaceName attributes can be used to specify the routing method to use (routing by interface, service or endpoint) and is also useful to allow several proxy endpoints to be created for the same JBI endpoint. For example to create an HTTP only endpoint and an HTTP+SOAP endpoint, both http endpoints will have the same targetEndpoint and targetService, but they must have different endpoint names.

Provider endpoint

A provider endpoint is a client-side jbi endpoint which can receive requests from the NMR and send them to a given url where the service is provided.

...

Info
titleProvider endpoint attributes
borderStylesolidbgColor='lighblue'

Name

Type

Description

Required

service

QName

the service name of the exposed jbi endpoint

yes

endpoint

String

the endpoint name of the exposed jbi endpoint

yes

interfaceName

QName

the interface name of the exposed jbi endpoint

no

role

String

must be 'provider'

yes

locationURI

URI

the http url of the target service

yes

soap

boolean

if set, the component will parse the soap requests and send the content into the NMR

no (defaults to false)

wsdlResource

Spring resource

if set, the wsdl will be retrieved from the given Spring resource

no

...

WSDL Deployment

In addition to xbean based deployment, the component accepts WSDL-based deployment.
The service unit may contain any number of WSDL files, each one being parsed and activating the specified endpoints.
To retrieve the necessary informations from the wsdl, the component can recognize a jbi extension, in addition to the standard http and soap bindings, which specified the role of the component and the default MEP to use for JBI exchanges.

...

The header uses the following syntax:

Code Block
  [target namespace][delimiter][interface name][delimiter][operation name]

...

  • Wiki Markup
    \[delimiter\] is ":" when the \[target namespace\] is a URN, otherwise "/".
  • Wiki Markup
    \[target namespace\] is the namespace of the interface.
  • Wiki Markup
    \[interface name\] is the name of the interface.
  • Wiki Markup
    \[operation name\] is the name of the operation.

For example, the following header

Code Block
xml
xml
  <wsa:Action>http://example.com/stockquote/StockQuoteInterface/GetLastTradePrice</wsa:Action>

...

The header uses the following syntax:

Code Block
  [target namespace][delimiter][service name][delimiter][endpoint name]

...

  • Wiki Markup
    \[delimiter\] is ":" when the \[target namespace\] is a URN, otherwise "/".
  • Wiki Markup
    \[target namespace\] is the namespace of the interface.
  • Wiki Markup
    \[service name\] is the name of the service.
  • Wiki Markup
    \[endpoint name\] is the name of the endpoint.

For example, the following header

Code Block
xml
xml
  <wsa:To>urn:example:stockquote:StockQuoteService:JBIEndpoint</wsa:To>

...