camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r982379 [1/2] - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache infinispan.html spring-web-services.html
Date Thu, 10 Mar 2016 10:21:13 GMT
Author: buildbot
Date: Thu Mar 10 10:21:12 2016
New Revision: 982379

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/infinispan.html
    websites/production/camel/content/spring-web-services.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Thu Mar 10 10:21:12 2016
@@ -1016,11 +1016,11 @@ template.send("direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 id="BookComponentAppendix-CXFComponent">CXF Component</h2><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to cons
 ume web services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p></div></div><p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1457594333775 {padding: 0px;}
-div.rbtoc1457594333775 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1457594333775 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1457605092046 {padding: 0px;}
+div.rbtoc1457605092046 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1457605092046 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1457594333775">
+/*]]>*/</style></p><div class="toc-macro rbtoc1457605092046">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect" href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -9893,7 +9893,7 @@ The body of the message must be a map (a
 </div></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Dependencies</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>As of Camel 2.8 this component ships with Spring-WS 2.0.x which (like the rest of Camel) requires Spring 3.0.x.</p><p>Earlier Camel versions shipped Spring-WS 1.5.9 which is compatible with Spring 2.5.x and 3.0.x. In order to run earlier versions of <code>camel-spring-ws</code> on Spring 2.5.x you need to add the <code>spring-webmvc</code> module from Spring 2.5.x. In order to run Spring-WS 1.5.9 on Spring 3.0.x you need to exclude the OXM module from Spring 3.0.x as this module is also included in Spring-WS 1.5.9 (see <a shape="rect" class="external-link" href="http://stackoverflow.com/questions/3313314/can-spring-ws-1-5-be-used-with-spring-3" rel="nofollow">this post</a>)</p></div></div><h3 id="BookComponentApp
 endix-URIformat.65">URI format</h3><p>The URI scheme for this component is as follows</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[spring-ws:[mapping-type:]address[?options]
 ]]></script>
-</div></div><p>To expose a web service <strong>mapping-type</strong> needs to be set to any of the following:</p><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Mapping type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>rootqname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Offers the option to map web service requests based on the qualified name of the root element contained in the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapaction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the SOAP action specified in the header of the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>uri</code></p></td><td colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>In order to map web service requests that target a specific URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the evaluation of an XPath <code>expression</code> against the incoming message. The result of the evaluation should match the XPath result specified in the endpoint URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>beanname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to reference an <code>org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher</code> object in order to integrate with existing (legacy) <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/reference/html/server.html#server-endpoint-mapping" rel="nofollow">endpoint mappings</a> like <code>PayloadRootQNameEndpointMapping</code>,
  <code>SoapActionEndpointMapping</code>, etc</p></td></tr></tbody></table></div></div><p>As a consumer the <strong>address</strong> should contain a value relevant to the specified mapping-type (e.g. a SOAP action, XPath expression). As a producer the address should be set to the URI of the web service your calling upon.</p><p>You can append query <strong>options</strong> to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-Options.51">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Required?</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>SOAP action to include inside a SOAP request when accessing remote web services</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>wsAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>WS-Addressing 1.0 action header to include when accessing web services. The <code>To</code> header is set to the <em>address</em> of the web service as specified in the endpoint URI (default Spring-WS behavior).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">outputAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the response WS-Addressing Action<span style="color: rgb(119,183,103);">&#160;</span>header that is provided by the method.</span>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd">faultAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);"><span style="line-height: 1.42857;">Signifies the value for the faultAction response WS-Addressing</span><span style="line-height: 1.42857;"><span style="color: rgb(119,183,103);">&#160;</span></span><span style="line-height: 1.42857;">Fault Action</span><span style="line-height: 1.42857;">&#160;</span><span style="line-height: 1.42857;">header that is provided by the method.</span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">faultTo</td><td colspan="1" rowspan="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Signifies the value for the faultAction response WS-Addressing FaultTo header that is provided by the method.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">replyTo</td><td colspan="1" row
 span="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the replyTo response WS-Addressing<span style="color: rgb(119,183,103);">&#160;</span>ReplyTo header that is provided by the method.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>expression</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>XPath expression to use in the process of mapping web service requests, should match the result specified by <code>xpathresult</code></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Sets the socket read timeout (in milliseconds) wh
 ile invoking a webservice using the producer, see <a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/api/java/net/URLConnection.html#setReadTimeout(int)" rel="nofollow">URLConnection.setReadTimeout()</a> and <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/CommonsHttpMessageSender.html#setReadTimeout(int)" rel="nofollow">CommonsHttpMessageSender.setReadTimeout()</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own timeout configuration.<br clear="none" class="atl-forced-newline"> <strong>Came
 l 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated, see <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/HttpComponentsMessageSender.html#setReadTimeout(int)" rel="nofollow">HttpComponentsMessageSender.setReadTimeout()</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>sslContextParameters</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>&#160;Reference to an&#160;<code>org.apache.camel.util.jsse.SSLContextParameters</code> in&#160;the&#160;<a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. &#160;See&#160;<a shape="rect" class="external-link" href="http://camel.
 apache.org/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own TLS configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>webServiceTemplate</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td c
 olspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/client/core/WebServiceTemplate.html" rel="nofollow">WebServiceTemplate</a>. This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSender</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/transport/WebServiceMessageSender.html" rel="nofollow">WebServiceMessageSender</a>. For example to perform authentication or use alternative transports</p></td></tr><tr><td colspan
 ="1" rowspan="1" class="confluenceTd"><p><code>messageFactory</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/WebServiceMessageFactory.html" rel="nofollow">WebServiceMessageFactory</a>. For example when you want Apache Axiom to handle web service messages instead of SAAJ</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>endpointMapping</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>rootqname</code>, <code>soapaction</code>, <code>uri</code> or <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Reference to an instance of <code><a shape="rect" class="external-link" href="http://org.apache.camel.component.spring.ws" rel="nofollow">org.a
 pache.camel.component.spring.ws</a>.bean.CamelEndpointMapping</code> in the Registry/ApplicationContext. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints. This bean is auto-discovered by the <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/server/MessageDispatcher.html" rel="nofollow">MessageDispatcher</a> and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">endpointDispatcher</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;Spring {@link <a shape="rect" class="external-link" href="http://org.springframework.ws" rel="nofollow">org.springframework.ws</a>.server.endpoint.MessageEndpoint} for dispatching messages received by Spring-WS to a Camel endpoint, to integrate with
  existing (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageFilter</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.3</strong> Option to provide a custom MessageFilter. For example when you want to process your headers or attachments by your own.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">messageIdStrategy</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">A custom MessageIdStrategy to control generation of unique message ids</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>webServiceEndpointUri</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">The default Web Service endpoint uri to use for the pro
 ducer</td></tr></tbody></table></div></div><h4 id="BookComponentAppendix-Messageheaders">Message headers</h4><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceEndpointUri</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI of the web service your accessing as a client, overrides <em>address</em> part of the endpoint URI</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceSoapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Header t
 o specify the SOAP action of the message, overrides <code>soapAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceSoapHeader</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Source</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.11.1:</strong><span> Use this header to specify/access the SOAP headers of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Use this header to specify the WS-Addressing action of the message, overrides <code>wsAddressingAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultTo</span></p></
 td><td colspan="1" rowspan="1" class="confluenceTd">URI</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span>&#160;<span style="color: rgb(0,0,0);">WS-Addressing FaultTo <span>, overrides faultTo option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingReplyTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span><span>&#160;</span><span style="color: rgb(0,0,0);">WS-Addressing ReplyTo , overrides replyTo option if present</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingOutputAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="co
 lor: rgb(0,0,0);"><span>Use this header to specify the</span> WS-Addressing Action<span style="color: rgb(0,0,0);"> , overrides outputAction option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>URI</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Use this header to specify the</span><span style="color: rgb(0,0,0);"> WS-Addressing <span style="color: rgb(0,0,0);">Fault Action</span></span><span style="color: rgb(0,0,0);"> , overrides faultAction option if present</span></p></td></tr></tbody></table></div></div><h2 id="BookComponentAppendix-Accessingwebservices">Accessing web services</h2><p>To call a web service at <code><a shape="rect" class="external-link" href="http://foo.com/bar" rel="nofollow">http://foo.com/bar</a></code> simply define a 
 route:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>To expose a web service <strong>mapping-type</strong> needs to be set to any of the following:</p><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Mapping type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>rootqname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Offers the option to map web service requests based on the qualified name of the root element contained in the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapaction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the SOAP action specified in the header of the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>uri</code></p></td><td colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>In order to map web service requests that target a specific URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the evaluation of an XPath <code>expression</code> against the incoming message. The result of the evaluation should match the XPath result specified in the endpoint URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>beanname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to reference an <code>org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher</code> object in order to integrate with existing (legacy) <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/reference/html/server.html#server-endpoint-mapping" rel="nofollow">endpoint mappings</a> like <code>PayloadRootQNameEndpointMapping</code>,
  <code>SoapActionEndpointMapping</code>, etc</p></td></tr></tbody></table></div></div><p>As a consumer the <strong>address</strong> should contain a value relevant to the specified mapping-type (e.g. a SOAP action, XPath expression). As a producer the address should be set to the URI of the web service your calling upon.</p><p>You can append query <strong>options</strong> to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-Options.51">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Required?</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>SOAP action to include inside a SOAP request when accessing remote web services</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>wsAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>WS-Addressing 1.0 action header to include when accessing web services. The <code>To</code> header is set to the <em>address</em> of the web service as specified in the endpoint URI (default Spring-WS behavior).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">outputAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the response WS-Addressing Action<span style="color: rgb(119,183,103);">&#160;</span>header that is provided by the method.</span>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd">faultAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);"><span style="line-height: 1.42857;">Signifies the value for the faultAction response WS-Addressing</span><span style="line-height: 1.42857;"><span style="color: rgb(119,183,103);">&#160;</span></span><span style="line-height: 1.42857;">Fault Action</span><span style="line-height: 1.42857;">&#160;</span><span style="line-height: 1.42857;">header that is provided by the method.</span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">faultTo</td><td colspan="1" rowspan="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Signifies the value for the faultAction response WS-Addressing FaultTo header that is provided by the method.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">replyTo</td><td colspan="1" row
 span="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the replyTo response WS-Addressing<span style="color: rgb(119,183,103);">&#160;</span>ReplyTo header that is provided by the method.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>expression</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>XPath expression to use in the process of mapping web service requests, should match the result specified by <code>xpathresult</code></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Sets the socket read timeout (in milliseconds) wh
 ile invoking a webservice using the producer, see <a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/api/java/net/URLConnection.html#setReadTimeout(int)" rel="nofollow">URLConnection.setReadTimeout()</a> and <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/CommonsHttpMessageSender.html#setReadTimeout(int)" rel="nofollow">CommonsHttpMessageSender.setReadTimeout()</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own timeout configuration.<br clear="none" class="atl-forced-newline"> <strong>Came
 l 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated, see <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/HttpComponentsMessageSender.html#setReadTimeout(int)" rel="nofollow">HttpComponentsMessageSender.setReadTimeout()</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>sslContextParameters</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>&#160;Reference to an&#160;<code>org.apache.camel.util.jsse.SSLContextParameters</code> in&#160;the&#160;<a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. &#160;See&#160;<a shape="rect" class="external-link" href="http://camel.
 apache.org/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own TLS configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>webServiceTemplate</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td c
 olspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/client/core/WebServiceTemplate.html" rel="nofollow">WebServiceTemplate</a>. This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSender</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/transport/WebServiceMessageSender.html" rel="nofollow">WebServiceMessageSender</a>. For example to perform authentication or use alternative transports</p></td></tr><tr><td colspan
 ="1" rowspan="1" class="confluenceTd"><p><code>messageFactory</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/WebServiceMessageFactory.html" rel="nofollow">WebServiceMessageFactory</a>. For example when you want Apache Axiom to handle web service messages instead of SAAJ</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>endpointMappingKey</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><span><span>Reference to an instance of </span></span>org.apache.camel.component.spring.ws.type.EndpointMappingKey</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>endpointMapping</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>
 mapping-type</em> is <code>rootqname</code>, <code>soapaction</code>, <code>uri</code> or <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Reference to an instance of <code><a shape="rect" class="external-link" href="http://org.apache.camel.component.spring.ws" rel="nofollow">org.apache.camel.component.spring.ws</a>.bean.CamelEndpointMapping</code> in the Registry/ApplicationContext. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints. This bean is auto-discovered by the <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/server/MessageDispatcher.html" rel="nofollow">MessageDispatcher</a> and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">endpointDispatcher</td><td colspan="1" rowspan="1" class="conflue
 nceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;Spring {@link <a shape="rect" class="external-link" href="http://org.springframework.ws" rel="nofollow">org.springframework.ws</a>.server.endpoint.MessageEndpoint} for dispatching messages received by Spring-WS to a Camel endpoint, to integrate with existing (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageFilter</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.3</strong> Option to provide a custom MessageFilter. For example when you want to process your headers or attachments by your own.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">messageIdStrategy</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">A custom Messa
 geIdStrategy to control generation of unique message ids</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>webServiceEndpointUri</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">The default Web Service endpoint uri to use for the producer</td></tr></tbody></table></div></div><h4 id="BookComponentAppendix-Messageheaders">Message headers</h4><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceEndpointUri</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI of the web service your access
 ing as a client, overrides <em>address</em> part of the endpoint URI</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceSoapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Header to specify the SOAP action of the message, overrides <code>soapAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceSoapHeader</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Source</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.11.1:</strong><span> Use this header to specify/access the SOAP headers of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI</p></td><td colspan="1"
  rowspan="1" class="confluenceTd"><p>Use this header to specify the WS-Addressing action of the message, overrides <code>wsAddressingAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd">URI</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span>&#160;<span style="color: rgb(0,0,0);">WS-Addressing FaultTo <span>, overrides faultTo option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingReplyTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span><span>&#160;</span><span style="color: rgb(0,0,0);">WS-Addressing ReplyTo , overrides replyT
 o option if present</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingOutputAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);"><span>Use this header to specify the</span> WS-Addressing Action<span style="color: rgb(0,0,0);"> , overrides outputAction option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>URI</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Use this header to specify the</span><span style="color: rgb(0,0,0);"> WS-Addressing <span style="color: rgb(0,0,0);">Fault Action</span></span><span style="color: rgb(0,0,0);"> , override
 s faultAction option if present</span></p></td></tr></tbody></table></div></div><h2 id="BookComponentAppendix-Accessingwebservices">Accessing web services</h2><p>To call a web service at <code><a shape="rect" class="external-link" href="http://foo.com/bar" rel="nofollow">http://foo.com/bar</a></code> simply define a route:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:example&quot;).to(&quot;spring-ws:http://foo.com/bar&quot;)
 ]]></script>
 </div></div><p>And sent a message:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Thu Mar 10 10:21:12 2016
@@ -3758,11 +3758,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the various <a shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</h2><p>&#160;</p><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Thanks</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This tutorial was kindly donated to Apache Camel by Martin Gilday.</p></div></div><h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the reader through the stages of creating a project which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route works in a synchronous fashion returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1457594351088 {padding: 0px;}
-div.rbtoc1457594351088 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1457594351088 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1457605143880 {padding: 0px;}
+div.rbtoc1457605143880 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1457605143880 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1457594351088">
+/*]]>*/</style></p><div class="toc-macro rbtoc1457605143880">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#BookInOnePage-Preface">Preface</a></li><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-About">About</a></li><li><a shape="rect" href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing the Server</a>
@@ -5877,11 +5877,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards. Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1457594351643 {padding: 0px;}
-div.rbtoc1457594351643 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1457594351643 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1457605144912 {padding: 0px;}
+div.rbtoc1457605144912 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1457605144912 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1457594351643">
+/*]]>*/</style><div class="toc-macro rbtoc1457605144912">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -17336,11 +17336,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 id="BookInOnePage-CXFComponent">CXF Component</h2><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to consume web 
 services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p></div></div><p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1457594361022 {padding: 0px;}
-div.rbtoc1457594361022 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1457594361022 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1457605195603 {padding: 0px;}
+div.rbtoc1457605195603 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1457605195603 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1457594361022">
+/*]]>*/</style></p><div class="toc-macro rbtoc1457605195603">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-URIformat">URI format</a></li><li><a shape="rect" href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -26213,7 +26213,7 @@ The body of the message must be a map (a
 </div></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Dependencies</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>As of Camel 2.8 this component ships with Spring-WS 2.0.x which (like the rest of Camel) requires Spring 3.0.x.</p><p>Earlier Camel versions shipped Spring-WS 1.5.9 which is compatible with Spring 2.5.x and 3.0.x. In order to run earlier versions of <code>camel-spring-ws</code> on Spring 2.5.x you need to add the <code>spring-webmvc</code> module from Spring 2.5.x. In order to run Spring-WS 1.5.9 on Spring 3.0.x you need to exclude the OXM module from Spring 3.0.x as this module is also included in Spring-WS 1.5.9 (see <a shape="rect" class="external-link" href="http://stackoverflow.com/questions/3313314/can-spring-ws-1-5-be-used-with-spring-3" rel="nofollow">this post</a>)</p></div></div><h3 id="BookInOnePage-UR
 Iformat.66">URI format</h3><p>The URI scheme for this component is as follows</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[spring-ws:[mapping-type:]address[?options]
 ]]></script>
-</div></div><p>To expose a web service <strong>mapping-type</strong> needs to be set to any of the following:</p><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Mapping type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>rootqname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Offers the option to map web service requests based on the qualified name of the root element contained in the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapaction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the SOAP action specified in the header of the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>uri</code></p></td><td colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>In order to map web service requests that target a specific URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the evaluation of an XPath <code>expression</code> against the incoming message. The result of the evaluation should match the XPath result specified in the endpoint URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>beanname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to reference an <code>org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher</code> object in order to integrate with existing (legacy) <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/reference/html/server.html#server-endpoint-mapping" rel="nofollow">endpoint mappings</a> like <code>PayloadRootQNameEndpointMapping</code>,
  <code>SoapActionEndpointMapping</code>, etc</p></td></tr></tbody></table></div></div><p>As a consumer the <strong>address</strong> should contain a value relevant to the specified mapping-type (e.g. a SOAP action, XPath expression). As a producer the address should be set to the URI of the web service your calling upon.</p><p>You can append query <strong>options</strong> to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookInOnePage-Options.72">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Required?</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspa
 n="1" class="confluenceTd"><p>SOAP action to include inside a SOAP request when accessing remote web services</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>wsAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>WS-Addressing 1.0 action header to include when accessing web services. The <code>To</code> header is set to the <em>address</em> of the web service as specified in the endpoint URI (default Spring-WS behavior).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">outputAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the response WS-Addressing Action<span style="color: rgb(119,183,103);">&#160;</span>header that is provided by the method.</span>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
 faultAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);"><span style="line-height: 1.42857;">Signifies the value for the faultAction response WS-Addressing</span><span style="line-height: 1.42857;"><span style="color: rgb(119,183,103);">&#160;</span></span><span style="line-height: 1.42857;">Fault Action</span><span style="line-height: 1.42857;">&#160;</span><span style="line-height: 1.42857;">header that is provided by the method.</span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">faultTo</td><td colspan="1" rowspan="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Signifies the value for the faultAction response WS-Addressing FaultTo header that is provided by the method.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">replyTo</td><td colspan="1" rowspan="1"
  class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the replyTo response WS-Addressing<span style="color: rgb(119,183,103);">&#160;</span>ReplyTo header that is provided by the method.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>expression</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>XPath expression to use in the process of mapping web service requests, should match the result specified by <code>xpathresult</code></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Sets the socket read timeout (in milliseconds) while invo
 king a webservice using the producer, see <a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/api/java/net/URLConnection.html#setReadTimeout(int)" rel="nofollow">URLConnection.setReadTimeout()</a> and <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/CommonsHttpMessageSender.html#setReadTimeout(int)" rel="nofollow">CommonsHttpMessageSender.setReadTimeout()</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own timeout configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:<
 /strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated, see <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/HttpComponentsMessageSender.html#setReadTimeout(int)" rel="nofollow">HttpComponentsMessageSender.setReadTimeout()</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>sslContextParameters</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>&#160;Reference to an&#160;<code>org.apache.camel.util.jsse.SSLContextParameters</code> in&#160;the&#160;<a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. &#160;See&#160;<a shape="rect" class="external-link" href="http://camel.apache.o
 rg/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own TLS configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>webServiceTemplate</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="
 1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/client/core/WebServiceTemplate.html" rel="nofollow">WebServiceTemplate</a>. This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSender</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/transport/WebServiceMessageSender.html" rel="nofollow">WebServiceMessageSender</a>. For example to perform authentication or use alternative transports</p></td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"><p><code>messageFactory</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/WebServiceMessageFactory.html" rel="nofollow">WebServiceMessageFactory</a>. For example when you want Apache Axiom to handle web service messages instead of SAAJ</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>endpointMapping</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>rootqname</code>, <code>soapaction</code>, <code>uri</code> or <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Reference to an instance of <code><a shape="rect" class="external-link" href="http://org.apache.camel.component.spring.ws" rel="nofollow">org.apache.ca
 mel.component.spring.ws</a>.bean.CamelEndpointMapping</code> in the Registry/ApplicationContext. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints. This bean is auto-discovered by the <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/server/MessageDispatcher.html" rel="nofollow">MessageDispatcher</a> and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">endpointDispatcher</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;Spring {@link <a shape="rect" class="external-link" href="http://org.springframework.ws" rel="nofollow">org.springframework.ws</a>.server.endpoint.MessageEndpoint} for dispatching messages received by Spring-WS to a Camel endpoint, to integrate with existin
 g (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageFilter</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.3</strong> Option to provide a custom MessageFilter. For example when you want to process your headers or attachments by your own.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">messageIdStrategy</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">A custom MessageIdStrategy to control generation of unique message ids</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>webServiceEndpointUri</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">The default Web Service endpoint uri to use for the producer</t
 d></tr></tbody></table></div></div><h4 id="BookInOnePage-Messageheaders">Message headers</h4><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceEndpointUri</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI of the web service your accessing as a client, overrides <em>address</em> part of the endpoint URI</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceSoapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Header to specify the SO
 AP action of the message, overrides <code>soapAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceSoapHeader</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Source</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.11.1:</strong><span> Use this header to specify/access the SOAP headers of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Use this header to specify the WS-Addressing action of the message, overrides <code>wsAddressingAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultTo</span></p></td><td colspan="
 1" rowspan="1" class="confluenceTd">URI</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span>&#160;<span style="color: rgb(0,0,0);">WS-Addressing FaultTo <span>, overrides faultTo option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingReplyTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span><span>&#160;</span><span style="color: rgb(0,0,0);">WS-Addressing ReplyTo , overrides replyTo option if present</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingOutputAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);
 "><span>Use this header to specify the</span> WS-Addressing Action<span style="color: rgb(0,0,0);"> , overrides outputAction option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>URI</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Use this header to specify the</span><span style="color: rgb(0,0,0);"> WS-Addressing <span style="color: rgb(0,0,0);">Fault Action</span></span><span style="color: rgb(0,0,0);"> , overrides faultAction option if present</span></p></td></tr></tbody></table></div></div><h2 id="BookInOnePage-Accessingwebservices">Accessing web services</h2><p>To call a web service at <code><a shape="rect" class="external-link" href="http://foo.com/bar" rel="nofollow">http://foo.com/bar</a></code> simply define a route:</p><div class="co
 de panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>To expose a web service <strong>mapping-type</strong> needs to be set to any of the following:</p><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Mapping type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>rootqname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Offers the option to map web service requests based on the qualified name of the root element contained in the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapaction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the SOAP action specified in the header of the message.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>uri</code></p></td><td colspan="1" rowspan="1" cl
 ass="confluenceTd"><p>In order to map web service requests that target a specific URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Used to map web service requests based on the evaluation of an XPath <code>expression</code> against the incoming message. The result of the evaluation should match the XPath result specified in the endpoint URI.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>beanname</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to reference an <code>org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher</code> object in order to integrate with existing (legacy) <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/reference/html/server.html#server-endpoint-mapping" rel="nofollow">endpoint mappings</a> like <code>PayloadRootQNameEndpointMapping</code>,
  <code>SoapActionEndpointMapping</code>, etc</p></td></tr></tbody></table></div></div><p>As a consumer the <strong>address</strong> should contain a value relevant to the specified mapping-type (e.g. a SOAP action, XPath expression). As a producer the address should be set to the URI of the web service your calling upon.</p><p>You can append query <strong>options</strong> to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookInOnePage-Options.72">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Required?</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>soapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspa
 n="1" class="confluenceTd"><p>SOAP action to include inside a SOAP request when accessing remote web services</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>wsAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>WS-Addressing 1.0 action header to include when accessing web services. The <code>To</code> header is set to the <em>address</em> of the web service as specified in the endpoint URI (default Spring-WS behavior).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">outputAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the response WS-Addressing Action<span style="color: rgb(119,183,103);">&#160;</span>header that is provided by the method.</span>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
 faultAction</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);"><span style="line-height: 1.42857;">Signifies the value for the faultAction response WS-Addressing</span><span style="line-height: 1.42857;"><span style="color: rgb(119,183,103);">&#160;</span></span><span style="line-height: 1.42857;">Fault Action</span><span style="line-height: 1.42857;">&#160;</span><span style="line-height: 1.42857;">header that is provided by the method.</span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">faultTo</td><td colspan="1" rowspan="1" class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);">Signifies the value for the faultAction response WS-Addressing FaultTo header that is provided by the method.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">replyTo</td><td colspan="1" rowspan="1"
  class="confluenceTd"><span>No</span></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Signifies the value for the replyTo response WS-Addressing<span style="color: rgb(119,183,103);">&#160;</span>ReplyTo header that is provided by the method.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>expression</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-type</em> is <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>XPath expression to use in the process of mapping web service requests, should match the result specified by <code>xpathresult</code></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Sets the socket read timeout (in milliseconds) while invo
 king a webservice using the producer, see <a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/api/java/net/URLConnection.html#setReadTimeout(int)" rel="nofollow">URLConnection.setReadTimeout()</a> and <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/CommonsHttpMessageSender.html#setReadTimeout(int)" rel="nofollow">CommonsHttpMessageSender.setReadTimeout()</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own timeout configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:<
 /strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated, see <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/site/apidocs/org/springframework/ws/transport/http/HttpComponentsMessageSender.html#setReadTimeout(int)" rel="nofollow">HttpComponentsMessageSender.setReadTimeout()</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>sslContextParameters</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>&#160;Reference to an&#160;<code>org.apache.camel.util.jsse.SSLContextParameters</code> in&#160;the&#160;<a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. &#160;See&#160;<a shape="rect" class="external-link" href="http://camel.apache.o
 rg/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</a>. &#160;This option works when using the built-in message sender implementations:&#160;<em>CommonsHttpMessageSender</em>&#160;and&#160;<em>HttpUrlConnectionMessageSender</em>. &#160;One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. &#160;If you are using a non-standard sender, it is assumed that you will handle your own TLS configuration.<br clear="none" class="atl-forced-newline"> <strong>Camel 2.12:</strong>&#160;The built-in message sender&#160;<em>HttpComponentsMessageSender</em>&#160;is considered <strong>instead of</strong>&#160;<em>CommonsHttpMessageSender</em>&#160;which has been deprecated.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>webServiceTemplate</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="
 1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/client/core/WebServiceTemplate.html" rel="nofollow">WebServiceTemplate</a>. This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageSender</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/transport/WebServiceMessageSender.html" rel="nofollow">WebServiceMessageSender</a>. For example to perform authentication or use alternative transports</p></td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"><p><code>messageFactory</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Option to provide a custom <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/WebServiceMessageFactory.html" rel="nofollow">WebServiceMessageFactory</a>. For example when you want Apache Axiom to handle web service messages instead of SAAJ</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>endpointMappingKey</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><span><span>Reference to an instance of </span></span>org.apache.camel.component.spring.ws.type.EndpointMappingKey</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>endpointMapping</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Only when <em>mapping-
 type</em> is <code>rootqname</code>, <code>soapaction</code>, <code>uri</code> or <code>xpathresult</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Reference to an instance of <code><a shape="rect" class="external-link" href="http://org.apache.camel.component.spring.ws" rel="nofollow">org.apache.camel.component.spring.ws</a>.bean.CamelEndpointMapping</code> in the Registry/ApplicationContext. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints. This bean is auto-discovered by the <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ws/sites/1.5/apidocs/org/springframework/ws/server/MessageDispatcher.html" rel="nofollow">MessageDispatcher</a> and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">endpointDispatcher</td><td colspan="1" rowspan="1" class="confluenceTd">N
 o</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;Spring {@link <a shape="rect" class="external-link" href="http://org.springframework.ws" rel="nofollow">org.springframework.ws</a>.server.endpoint.MessageEndpoint} for dispatching messages received by Spring-WS to a Camel endpoint, to integrate with existing (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>messageFilter</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>No</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.3</strong> Option to provide a custom MessageFilter. For example when you want to process your headers or attachments by your own.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">messageIdStrategy</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">A custom MessageIdStra
 tegy to control generation of unique message ids</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>webServiceEndpointUri</span></td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd">The default Web Service endpoint uri to use for the producer</td></tr></tbody></table></div></div><h4 id="BookInOnePage-Messageheaders">Message headers</h4><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceEndpointUri</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI of the web service your accessing as a client,
  overrides <em>address</em> part of the endpoint URI</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceSoapAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Header to specify the SOAP action of the message, overrides <code>soapAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceSoapHeader</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Source</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.11.1:</strong><span> Use this header to specify/access the SOAP headers of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelSpringWebserviceAddressingAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>URI</p></td><td colspan="1" rowspan="1" cla
 ss="confluenceTd"><p>Use this header to specify the WS-Addressing action of the message, overrides <code>wsAddressingAction</code> option if present</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd">URI</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span>&#160;<span style="color: rgb(0,0,0);">WS-Addressing FaultTo <span>, overrides faultTo option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingReplyTo</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use this header to specify the </span><span>&#160;</span><span style="color: rgb(0,0,0);">WS-Addressing ReplyTo , overrides replyTo option if pres
 ent</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingOutputAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>URI</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(0,0,0);"><span>Use this header to specify the</span> WS-Addressing Action<span style="color: rgb(0,0,0);"> , overrides outputAction option if present</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelSpringWebserviceAddressingFaultAction</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>URI</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">Use this header to specify the</span><span style="color: rgb(0,0,0);"> WS-Addressing <span style="color: rgb(0,0,0);">Fault Action</span></span><span style="color: rgb(0,0,0);"> , overrides faultAction op
 tion if present</span></p></td></tr></tbody></table></div></div><h2 id="BookInOnePage-Accessingwebservices">Accessing web services</h2><p>To call a web service at <code><a shape="rect" class="external-link" href="http://foo.com/bar" rel="nofollow">http://foo.com/bar</a></code> simply define a route:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:example&quot;).to(&quot;spring-ws:http://foo.com/bar&quot;)
 ]]></script>
 </div></div><p>And sent a message:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.



Mime
View raw message