WS Addressing

The DSB components (binding and engines) are all exposing some business services. Some of them also provide one endpoint which is 'WSAdressing aware': All messages which are send to this WSAdressing endpoint will be forwarded to an external service (if all the required data is filled).

The endpoint is defined as:

  • Endpoint name: WSAEndpoint
  • Service QName: URI/WSAService
  • Interface QName: URI/WSAInterface

Where the URI is defined with this pattern : *http://petals.ow2.org/wsa/%s/* where %s is the supported protocol.

Using it

Raw usage

Call the WSAdressing endpoint and set the target address (as String) in the message exchange org.ow2.petals.component.framework.api.Constants.WSStar.Addressing.TO_QNAME property.

API

The DSB provides clients APIs at the kernel and at the components level. These APIs abstract all the DSB machinery and provides a really simple way to invoke services. Additionally, this API also allows to create WSA-enabled messages so you can forget the previous statement about Raw usage and setting properties in messages...

Please refer to the client page for instructions on getting and using the client API.

Once you get a client, you can create a WSA-enabled message by instantiating org.petalslink.dsb.service.client.WSAMessageImpl with the target endpoint.

Code TODO

URI pattern list

Labels

todo todo Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.