[
https://issues.apache.org/jira/browse/SYNAPSE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Isuru Udana Loku Narangoda updated SYNAPSE-965:
-----------------------------------------------
Attachment: SYNAPSE-960-SYNAPSE-965-Documentation.patch
Documentation patch attached.
It contains documentation for improvements I provided for Callout mediator
through SYNAPSE-960 and SYNAPSE-965.
> Callout mediator to use 'To' header as EPR
> ------------------------------------------
>
> Key: SYNAPSE-965
> URL: https://issues.apache.org/jira/browse/SYNAPSE-965
> Project: Synapse
> Issue Type: Improvement
> Reporter: Isuru Udana Loku Narangoda
> Assignee: Hiranya Jayathilaka
> Priority: Minor
> Attachments: SYNAPSE-960-SYNAPSE-965-Documentation.patch,
> SYNAPSE-965.patch
>
>
> Callout mediator can be improved to use the 'To' header as the EPR when
> serviceURL is not specified.
> This will allow us to dynamically set the EPR using the incoming message
> payload etc.
> This is similar to the use case of Default Endpoint which uses the 'To'
> header to send the message out.
> So the sample config looks like follows when serviceURL is not specified.
> <header name="To"
> value="http://localhost:9000/services/SimpleStockQuoteService"/>
> <callout action="urn:getQuote">
> <source xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
> xpath="s11:Body/child::*[fn:position()=1] |
> s12:Body/child::*[fn:position()=1]"/>
> <target xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
> xpath="s11:Body/child::*[fn:position()=1] |
> s12:Body/child::*[fn:position()=1]"/>
> </callout>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]