You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2012/04/23 18:48:34 UTC
svn commit: r814089 - in /websites/production/cxf/content:
cache/docs.pageCache docs/client-http-transport-including-ssl-support.html
Author: buildbot
Date: Mon Apr 23 16:48:34 2012
New Revision: 814089
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
==============================================================================
--- websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html (original)
+++ websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html Mon Apr 23 16:48:34 2012
@@ -355,7 +355,7 @@ http.setClient(httpClientPolicy);
<h3><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-The%7B%7Bconduit%7D%7Delement"></a>The <tt>conduit</tt> element</h3>
-<p>You configure an HTTP client using the <tt>http-conf:conduit</tt> element and its children. The <tt>http-conf:conduit</tt> element takes a single attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds to the endpoint. The value for the <tt>name</tt> attribute takes the form <em>portQName</em><tt>.http-conduit</tt>. For example, the code below shows the <tt>http-conf:conduit</tt> element that would be used to add configuration for an endpoint that was specified by the WSDL fragment <tt><port binding="widgetSOAPBinding" name="widgetSOAPPort></tt> if the endpoint's target namespace was <tt><a shape="rect" class="external-link" href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
+<p>You configure an HTTP client using the <tt>http-conf:conduit</tt> element and its children. The <tt>http-conf:conduit</tt> element takes a single attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds to the endpoint. The value for the <tt>name</tt> attribute takes the form <em>portQName</em><tt>.http-conduit</tt>. For example, the code below shows the <tt>http-conf:conduit</tt> element that would be used to add configuration for an endpoint that was specified by the WSDL fragment <tt><port binding="widgetSOAPBinding" name="widgetSOAPPort></tt> if the endpoint's target namespace was <tt><a shape="rect" class="external-link" href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></tt>. Alternatively, the <tt>name</tt> attribute can be a regular expression to match a URL. This allows configuration of conduits that are not used for purposes of WSDL based endpoints such as JAX-RS and for WSDL retrieval.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>http-conf:conduit Element</b></div><div class="codeContent panelContent">
<pre class="code-xml">
...
@@ -368,9 +368,18 @@ http.setClient(httpClientPolicy);
the http-conduit that you want to configure -->
...
<span class="code-tag"></http-conf:conduit></span>
+
+ <span class="code-tag"><http-conf:conduit name=<span class="code-quote">"http://localhost:8080/.*"</span>></span>
+ <!-- you can also using the reg-ex URL matching for
+ the http-conduit that you want to configure -->
+ ...
+ <span class="code-tag"></http-conf:conduit></span>
...
</pre>
</div></div>
+
+
+
<p>The <tt>http-conf:conduit</tt> element has a number of child elements that specify configuration information. They are described below. See also Sun's <a shape="rect" class="external-link" href="http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html" rel="nofollow">JSSE Guide</a> for more information on configuring SSL.</p>
<div class="table-wrap">
<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Element </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>http-conf:client</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the HTTP connection properties such as timeouts, keep-alive requests, content types, etc. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>http-conf:authorization</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the the parameters for configuring the basic authentication method that the endpoint uses preemptively. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>http-conf:proxyAuthorization</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the parameters for configuring basic authentication against outgoing HTTP proxy servers. </td></tr><tr><td colspan="1" rowspan="1" class="conflu
enceTd"> <tt>http-conf:tlsClientParameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the parameters used to configure SSL/TLS. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>http-conf:basicAuthSupplier</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the bean reference or class name of the object that supplies the the basic authentication information used by the endpoint both preemptively or in response to a 401 HTTP challenge. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>http-conf:trustDecider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the bean reference or class name of the object that checks the HTTP(S) URLConnection object in order to establish trust for a connection with an HTTPS service provider before any information is transmitted. </td></tr></tbody></table>