support ws-addressing
---------------------

                 Key: SM-1019
                 URL: https://issues.apache.org/activemq/browse/SM-1019
             Project: ServiceMix
          Issue Type: Sub-task
            Reporter: Freeman Fang


already support ws-addressing between cxf bc and external request, as for 
things inside jbi container, should refer to how servicemix-http implement 
ws-addressing, append how servicemix-http do ws-addressing from wiki

WS-Addressing

When used on a SOAP consumer endpoint, servicemix-http handles the WS-Adressing 
Action and To headers.
wsa:Action

The wsa:Action header can be used to specify the target interface name and 
operation to use for the JBI exchange.

The header uses the following syntax:

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

where:

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

For example, the following header

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

will be used to address the JBI exchange with the following properties:

    * interface name: {http://example.com/stockquote\}StockQuoteInterface
    * operation name: {http://example.com/stockquote\}GetLastTradePrice

wsa:To

The wsa:To header specifies the target JBI service name and endpoint name.

The header uses the following syntax:

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

where:

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

For example, the following header

<wsa:To>urn:example:stockquote:StockQuoteService:JBIEndpoint</wsa:To>

will be used to address the JBI exchange with the following properties:

    * service name: {urn:example:stockquote}StockQuoteService
    * endpoint name: JBIEndpoint


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to