cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [41/46] - in /websites/production/cxf/content: ./ 2008/04/28/ 2008/06/20/ 2009/02/10/ 2009/08/04/ cache/ docs/ docs/cxf-architecture.thumbs/ docs/cxf-dependency-graphs.thumbs/ docs/logbrowser-configuration.thumbs/ docs/logbrowser-so...
Date Mon, 24 Jun 2013 17:10:57 GMT
Modified: websites/production/cxf/content/docs/ws-trust.html
==============================================================================
--- websites/production/cxf/content/docs/ws-trust.html (original)
+++ websites/production/cxf/content/docs/ws-trust.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WS-Trust">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- WS-Trust
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WS-Trust
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- WS-Trust
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -145,37 +153,37 @@ Apache CXF -- WS-Trust
 In this scenario, a STSClient object is created directly as a property of the client object.   The wsdlLocation, service/endpoint names, etc... are all configured in line for that client.  </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;jaxws:client name=<span class="code-quote">"{http://cxf.apache.org/}MyService"</span> createdFromAPI=<span class="code-quote">"true"</span>&gt;</span>
-    <span class="code-tag">&lt;jaxws:properties&gt;</span>
-        <span class="code-tag">&lt;entry key=<span class="code-quote">"ws-security.sts.client"</span>&gt;</span>
-            <span class="code-tag"><span class="code-comment">&lt;!-- direct STSClient config and creation --&gt;</span></span>
-            <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.ws.security.trust.STSClient"</span>&gt;</span>
-                <span class="code-tag">&lt;constructor-arg ref=<span class="code-quote">"cxf"</span>/&gt;</span>
-                &lt;property name=<span class="code-quote">"wsdlLocation"</span> 
-                   value=<span class="code-quote">"target/wsdl/trust.wsdl"</span>/&gt;
-                &lt;property name=<span class="code-quote">"serviceName"</span> 
-                   value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenService"</span>/&gt;
-                &lt;property name=<span class="code-quote">"endpointName"</span> 
-                   value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"</span>/&gt;
-                <span class="code-tag">&lt;property name=<span class="code-quote">"properties"</span>&gt;</span>
-                    <span class="code-tag">&lt;map&gt;</span>
-                       <span class="code-tag">&lt;entry key=<span class="code-quote">"ws-security.username"</span> value=<span class="code-quote">"alice"</span>/&gt;</span>
-                       &lt;entry key=<span class="code-quote">"ws-security.callback-handler"</span> 
-                          value=<span class="code-quote">"client.MyCallbackHandler"</span>/&gt;
-                       &lt;entry key=<span class="code-quote">"ws-security.signature.properties"</span> 
-                          value=<span class="code-quote">"clientKeystore.properties"</span>/&gt;
-                       &lt;entry key=<span class="code-quote">"ws-security.encryption.properties"</span> 
-                          value=<span class="code-quote">"clientKeystore.properties"</span>/&gt;
-                       &lt;entry key=<span class="code-quote">"ws-security.encryption.username"</span> 
-                          value=<span class="code-quote">"mystskey"</span>/&gt; 
-                    <span class="code-tag">&lt;/map&gt;</span>
-                <span class="code-tag">&lt;/property&gt;</span>
-            <span class="code-tag">&lt;/bean&gt;</span>            
-        <span class="code-tag">&lt;/entry&gt;</span> 
-    <span class="code-tag">&lt;/jaxws:properties&gt;</span>
-<span class="code-tag">&lt;/jaxws:client&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxws:client name="{http://cxf.apache.org/}MyService" createdFromAPI="true"&gt;
+    &lt;jaxws:properties&gt;
+        &lt;entry key="ws-security.sts.client"&gt;
+            &lt;!-- direct STSClient config and creation --&gt;
+            &lt;bean class="org.apache.cxf.ws.security.trust.STSClient"&gt;
+                &lt;constructor-arg ref="cxf"/&gt;
+                &lt;property name="wsdlLocation" 
+                   value="target/wsdl/trust.wsdl"/&gt;
+                &lt;property name="serviceName" 
+                   value="{http://cxf.apache.org/securitytokenservice}SecurityTokenService"/&gt;
+                &lt;property name="endpointName" 
+                   value="{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"/&gt;
+                &lt;property name="properties"&gt;
+                    &lt;map&gt;
+                       &lt;entry key="ws-security.username" value="alice"/&gt;
+                       &lt;entry key="ws-security.callback-handler" 
+                          value="client.MyCallbackHandler"/&gt;
+                       &lt;entry key="ws-security.signature.properties" 
+                          value="clientKeystore.properties"/&gt;
+                       &lt;entry key="ws-security.encryption.properties" 
+                          value="clientKeystore.properties"/&gt;
+                       &lt;entry key="ws-security.encryption.username" 
+                          value="mystskey"/&gt; 
+                    &lt;/map&gt;
+                &lt;/property&gt;
+            &lt;/bean&gt;            
+        &lt;/entry&gt; 
+    &lt;/jaxws:properties&gt;
+&lt;/jaxws:client&gt;
+]]></script>
 </div></div>
 
 <p>The above example shows a configuration where the STS uses the UsernameToken profile to validate the client.  It is assumed the keystore identified within clientKeystore.properties contains both the private key of the client and the public key (identified above as mystskey) of the STS; if not, create separate property files for the signature properties and the encryption properties, pointing to the keystore and truststore respectively.</p>
@@ -184,49 +192,49 @@ In this scenario, a STSClient object is 
 
 <p>This also works for "code first" cases as you can do:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-STSClient sts = <span class="code-keyword">new</span> STSClient(...);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+STSClient sts = new STSClient(...);
 sts.setXXXX(....)
 .....
-((BindingProvider)port).getRequestContext().put(<span class="code-quote">"ws-security.sts.client"</span>, sts);
-</pre>
+((BindingProvider)port).getRequestContext().put("ws-security.sts.client", sts);
+]]></script>
 </div></div>
 
 <p>Sample clientKeystore.properties format:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
 org.apache.ws.security.crypto.merlin.keystore.type=jks
 org.apache.ws.security.crypto.merlin.keystore.password=KeystorePasswordHere
 org.apache.ws.security.crypto.merlin.keystore.alias=ClientKeyAlias
 org.apache.ws.security.crypto.merlin.keystore.file=NameOfKeystore.jks 
-</pre>
+]]></script>
 </div></div>
 
 <p><b>Indirect configuration based on endpoint name:</b><br clear="none">
 If the runtime does not find a STSClient bean configured directly on the client, it checks the configuration for a STSClient bean with the name of the endpoint appended with ".sts-client".   For example, if the endpoint name for your client is "{<a shape="rect" href="http://cxf.apache.org/">http://cxf.apache.org/</a>}TestEndpoint", then it can be configured as:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;bean name=<span class="code-quote">"{http://cxf.apache.org/}TestEndpoint.sts-client"</span> 
-    class=<span class="code-quote">"org.apache.cxf.ws.security.trust.STSClient"</span> abstract=<span class="code-quote">"true"</span>&gt;
-    <span class="code-tag">&lt;property name=<span class="code-quote">"wsdlLocation"</span> value=<span class="code-quote">"WSDL/wsdl/trust.wsdl"</span>/&gt;</span>
-    &lt;property name=<span class="code-quote">"serviceName"</span> 
-        value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenService"</span>/&gt;
-    &lt;property name=<span class="code-quote">"endpointName"</span> 
-        value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"</span>/&gt;
-    <span class="code-tag">&lt;property name=<span class="code-quote">"properties"</span>&gt;</span>
-        <span class="code-tag">&lt;map&gt;</span>
-            &lt;entry key=<span class="code-quote">"ws-security.signature.properties"</span> 
-                value=<span class="code-quote">"etc/alice.properties"</span>/&gt; 
-            &lt;entry key=<span class="code-quote">"ws-security.encryption.properties"</span> 
-                value=<span class="code-quote">"etc/bob.properties"</span>/&gt;	
-            <span class="code-tag">&lt;entry key=<span class="code-quote">"ws-security.encryption.username"</span> value=<span class="code-quote">"stskeyname"</span>/&gt;</span>	
-        <span class="code-tag">&lt;/map&gt;</span>
-    <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean name="{http://cxf.apache.org/}TestEndpoint.sts-client" 
+    class="org.apache.cxf.ws.security.trust.STSClient" abstract="true"&gt;
+    &lt;property name="wsdlLocation" value="WSDL/wsdl/trust.wsdl"/&gt;
+    &lt;property name="serviceName" 
+        value="{http://cxf.apache.org/securitytokenservice}SecurityTokenService"/&gt;
+    &lt;property name="endpointName" 
+        value="{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"/&gt;
+    &lt;property name="properties"&gt;
+        &lt;map&gt;
+            &lt;entry key="ws-security.signature.properties" 
+                value="etc/alice.properties"/&gt; 
+            &lt;entry key="ws-security.encryption.properties" 
+                value="etc/bob.properties"/&gt;	
+            &lt;entry key="ws-security.encryption.username" value="stskeyname"/&gt;	
+        &lt;/map&gt;
+    &lt;/property&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p>This properties configured in this example demonstrate STS validation of the client using the X.509 token profile.  The abstract="true" setting for the bean defers creation of the STSClient object until it is actually needed.  When that occurs, the CXF runtime will instantiate a new STSClient using the values configured for this bean.</p>
@@ -254,42 +262,42 @@ If an STSClient is not found from the ab
 <p>For example, the following code fragment demonstrates how to use an interceptor to dynamically set the content of the ActAs element in the STS RST, by specifying a value for SecurityConstants.STS_TOKEN_ACT_AS. Note that this interceptor is applied to the secured client, the initiator, and not to the STSClient's interceptor chain.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class ActAsOutInterceptor <span class="code-keyword">extends</span> AbstractPhaseInterceptor&lt;Message&gt; {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class ActAsOutInterceptor extends AbstractPhaseInterceptor&lt;Message&gt; {
    
     ActAsOutInterceptor () {
-        <span class="code-comment">// This can be in any stage before the WS-SP interceptors
-</span>        <span class="code-comment">// setup the STS client and issued token interceptor.
-</span>        <span class="code-keyword">super</span>(Phase.SETUP);
+        // This can be in any stage before the WS-SP interceptors
+        // setup the STS client and issued token interceptor.
+        super(Phase.SETUP);
     }
 
     @Override
-    <span class="code-keyword">public</span> void handleMessage(Message message) <span class="code-keyword">throws</span> Fault {
+    public void handleMessage(Message message) throws Fault {
         message.put(SecurityConstants.STS_TOKEN_ACT_AS, ...);
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>Alternatively, the ActAs content may be set directly on the STS as shown below.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;bean name=<span class="code-quote">"{http://cxf.apache.org/}TestEndpoint.sts-client"</span> 
-    class=<span class="code-quote">"org.apache.cxf.ws.security.trust.STSClient"</span> abstract=<span class="code-quote">"true"</span>&gt;
-    <span class="code-tag">&lt;property name=<span class="code-quote">"wsdlLocation"</span> value=<span class="code-quote">"WSDL/wsdl/trust.wsdl"</span>/&gt;</span>
-    &lt;property name=<span class="code-quote">"serviceName"</span> 
-        value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenService"</span>/&gt;
-    &lt;property name=<span class="code-quote">"endpointName"</span> 
-        value=<span class="code-quote">"{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"</span>/&gt;
-    <span class="code-tag">&lt;property name=<span class="code-quote">"actAs"</span> value=<span class="code-quote">"..."</span>/&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"properties"</span>&gt;</span>
-        <span class="code-tag">&lt;map&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean name="{http://cxf.apache.org/}TestEndpoint.sts-client" 
+    class="org.apache.cxf.ws.security.trust.STSClient" abstract="true"&gt;
+    &lt;property name="wsdlLocation" value="WSDL/wsdl/trust.wsdl"/&gt;
+    &lt;property name="serviceName" 
+        value="{http://cxf.apache.org/securitytokenservice}SecurityTokenService"/&gt;
+    &lt;property name="endpointName" 
+        value="{http://cxf.apache.org/securitytokenservice}SecurityTokenEndpoint"/&gt;
+    &lt;property name="actAs" value="..."/&gt;
+    &lt;property name="properties"&gt;
+        &lt;map&gt;
             ...	
-        <span class="code-tag">&lt;/map&gt;</span>
-    <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+        &lt;/map&gt;
+    &lt;/property&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="WS-Trust-OnBehalfOf"></a>OnBehalfOf</h3>

Modified: websites/production/cxf/content/docs/wsaconfiguration.html
==============================================================================
--- websites/production/cxf/content/docs/wsaconfiguration.html (original)
+++ websites/production/cxf/content/docs/wsaconfiguration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSAConfiguration">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- WSAConfiguration
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WSAConfiguration
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- WSAConfiguration
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -143,15 +151,15 @@ Apache CXF -- WSAConfiguration
 <p>For example, to apply this feature to a JAX-WS server endpoint:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;beans ... <span class="code-keyword">xmlns:wsa</span>=<span class="code-quote">"http://cxf.apache.org/ws/addressing"</span> ...&gt;</span>
-    <span class="code-tag">&lt;jaxws:endpoint ...&gt;</span>
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-            <span class="code-tag">&lt;wsa:addressing allowDuplicates=<span class="code-quote">"false"</span>/&gt;</span>
-        <span class="code-tag">&lt;/jaxws:features&gt;</span>
-    <span class="code-tag">&lt;/bean&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans ... xmlns:wsa="http://cxf.apache.org/ws/addressing" ...&gt;
+    &lt;jaxws:endpoint ...&gt;
+        &lt;jaxws:features&gt;
+            &lt;wsa:addressing allowDuplicates="false"/&gt;
+        &lt;/jaxws:features&gt;
+    &lt;/bean&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="WSAConfiguration-AddingtheAddressingInterceptorsManually"></a>Adding the Addressing Interceptors Manually</h2>
@@ -160,31 +168,31 @@ Apache CXF -- WSAConfiguration
 On a global level, i.e. applicable to all client and server endpoints, this can be done as in the example below (see also <a shape="rect" href="bus-configuration.html" title="Bus Configuration">Bus Configuration</a>). Note that, as allowDuplicates and usingAddressingAdvisory are actually properties of the MAPAggregator interceptor, they can also be set using Spring syntax.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"mapAggregator"</span> class=<span class="code-quote">"org.apache.cxf.ws.addressing.MAPAggregator"</span>&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"allowDuplicates"</span> value=<span class="code-quote">"false"</span>/&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-<span class="code-tag">&lt;bean id=<span class="code-quote">"mapCodec"</span> class=<span class="code-quote">"org.apache.cxf.ws.addressing.soap.MAPCodec"</span>/&gt;</span>
-
-<span class="code-tag">&lt;cxf:bus&gt;</span>
-    <span class="code-tag">&lt;cxf:inInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapAggregator"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:inInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:inFaultInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapAggregator"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:inFaultInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:outInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapAggregator"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:outInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:outFaultInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapAggregator"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"mapCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:outFaultInterceptors&gt;</span>
-<span class="code-tag">&lt;/cxf:bus&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"&gt;
+    &lt;property name="allowDuplicates" value="false"/&gt;
+&lt;/bean&gt;
+&lt;bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/&gt;
+
+&lt;cxf:bus&gt;
+    &lt;cxf:inInterceptors&gt;
+        &lt;ref bean="mapAggregator"/&gt;
+        &lt;ref bean="mapCodec"/&gt;
+    &lt;/cxf:inInterceptors&gt;
+    &lt;cxf:inFaultInterceptors&gt;
+        &lt;ref bean="mapAggregator"/&gt;
+        &lt;ref bean="mapCodec"/&gt;
+    &lt;/cxf:inFaultInterceptors&gt;
+    &lt;cxf:outInterceptors&gt;
+        &lt;ref bean="mapAggregator"/&gt;
+        &lt;ref bean="mapCodec"/&gt;
+    &lt;/cxf:outInterceptors&gt;
+    &lt;cxf:outFaultInterceptors&gt;
+        &lt;ref bean="mapAggregator"/&gt;
+        &lt;ref bean="mapCodec"/&gt;
+    &lt;/cxf:outFaultInterceptors&gt;
+&lt;/cxf:bus&gt;
+]]></script>
 </div></div>
 
 

Modified: websites/production/cxf/content/docs/wsdl-bindings.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-bindings.html (original)
+++ websites/production/cxf/content/docs/wsdl-bindings.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL Bindings">
+
+
     <title>
 Apache CXF -- WSDL Bindings
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL Bindings
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL Bindings
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdl-to-corba.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-corba.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-corba.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to CORBA">
+
+
     <title>
 Apache CXF -- WSDL to CORBA
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL to CORBA
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL to CORBA
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdl-to-java.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-java.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-java.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to Java">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- WSDL to Java
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WSDL to Java
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- WSDL to Java
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -176,30 +184,30 @@ Apache CXF -- WSDL to Java
 <p>The wsdl2java command can be wrapped inside an Ant target as shown below:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span>?&gt;</span>
-<span class="code-tag">&lt;project name=<span class="code-quote">"cxf wsdl2java"</span> basedir=<span class="code-quote">"."</span>&gt;</span>   
-   <span class="code-tag">&lt;property name=<span class="code-quote">"cxf.home"</span> location =<span class="code-quote">"/usr/myapps/cxf-2.5.1"</span>/&gt;</span>
-
-   <span class="code-tag">&lt;path id=<span class="code-quote">"cxf.classpath"</span>&gt;</span>
-      <span class="code-tag">&lt;fileset dir=<span class="code-quote">"${cxf.home}/lib"</span>&gt;</span>
-         <span class="code-tag">&lt;include name=<span class="code-quote">"*.jar"</span>/&gt;</span>
-      <span class="code-tag">&lt;/fileset&gt;</span>
-   <span class="code-tag">&lt;/path&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0"?&gt;
+&lt;project name="cxf wsdl2java" basedir="."&gt;   
+   &lt;property name="cxf.home" location ="/usr/myapps/cxf-2.5.1"/&gt;
+
+   &lt;path id="cxf.classpath"&gt;
+      &lt;fileset dir="${cxf.home}/lib"&gt;
+         &lt;include name="*.jar"/&gt;
+      &lt;/fileset&gt;
+   &lt;/path&gt;
       
-   <span class="code-tag">&lt;target name=<span class="code-quote">"cxfWSDLToJava"</span>&gt;</span>
-      <span class="code-tag">&lt;java classname=<span class="code-quote">"org.apache.cxf.tools.wsdlto.WSDLToJava"</span> fork=<span class="code-quote">"true"</span>&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"-client"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"-d"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"src"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"MyWSDL.wsdl"</span>/&gt;</span>
-         <span class="code-tag">&lt;classpath&gt;</span>
-            <span class="code-tag">&lt;path refid=<span class="code-quote">"cxf.classpath"</span>/&gt;</span>
-         <span class="code-tag">&lt;/classpath&gt;</span>
-      <span class="code-tag">&lt;/java&gt;</span>
-   <span class="code-tag">&lt;/target&gt;</span>
-<span class="code-tag">&lt;/project&gt;</span>
-</pre>
+   &lt;target name="cxfWSDLToJava"&gt;
+      &lt;java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true"&gt;
+         &lt;arg value="-client"/&gt;
+         &lt;arg value="-d"/&gt;
+         &lt;arg value="src"/&gt;
+         &lt;arg value="MyWSDL.wsdl"/&gt;
+         &lt;classpath&gt;
+            &lt;path refid="cxf.classpath"/&gt;
+         &lt;/classpath&gt;
+      &lt;/java&gt;
+   &lt;/target&gt;
+&lt;/project&gt;
+]]></script>
 </div></div>
 
 <p>Make sure you set the "fork=true" attribute for the &lt;java/&gt; task as shown above.  Also, remember to keep each word or flag within the command line options in its own &lt;arg/&gt; element (e.g., do not use &lt;arg value="-d src"/&gt;, but split them up into two &lt;arg/&gt; elements as done here.)</p>
@@ -215,17 +223,17 @@ Apache CXF -- WSDL to Java
 
 <p>A: We don't have a command-line option to do this, but you can have a binding file like the following snippet to achieve this goal</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;bindings
-    <span class="code-keyword">xmlns:xsd</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema"</span>
-    <span class="code-keyword">xmlns:wsdl</span>=<span class="code-quote">"http://schemas.xmlsoap.org/wsdl/"</span>
-    wsdlLocation=<span class="code-quote">"hello_world.wsdl"</span>
-    xmlns=<span class="code-quote">"http://java.sun.com/xml/ns/jaxws"</span>&gt;
-    <span class="code-tag">&lt;bindings node=<span class="code-quote">"wsdl:definitions/wsdl:portType"</span>&gt;</span>
-	<span class="code-tag">&lt;class name=<span class="code-quote">"GreeterSEI"</span>/&gt;</span>
-    <span class="code-tag">&lt;/bindings&gt;</span>
-<span class="code-tag">&lt;/bindings&gt;</span>
-</pre>
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    wsdlLocation="hello_world.wsdl"
+    xmlns="http://java.sun.com/xml/ns/jaxws"&gt;
+    &lt;bindings node="wsdl:definitions/wsdl:portType"&gt;
+	&lt;class name="GreeterSEI"/&gt;
+    &lt;/bindings&gt;
+&lt;/bindings&gt;
+]]></script>
 </div></div>
 
 <p><b>Q: How do I pass the binding file to wsdl2java?</b></p>
@@ -243,21 +251,21 @@ Well, people don't like the XMLGregorian
 We can use the jaxws customization to change the default mapping, here are some sample binding files<br clear="none">
 If you have schema inside the wsdl, here is the binding file you can use:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;jaxws:bindings wsdlLocation=<span class="code-quote">"YOUR_WSDL_LOCATION"</span>
-          xmlns:jaxws=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxws"</span>
-</span>          xmlns:xs=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>          xmlns:jxb=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxb"</span>
-</span>          xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>&gt;
-</span>  &lt;jaxws:bindings  node=<span class="code-quote">"wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='THE_NAMESPACE_OF_YOUR_SCHEMA']"</span>&gt;
-      &lt;jxb:globalBindings xmlns:jxb=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxb"</span> xmlns:xs=<span class="code-quote">"http://www.w3.org/2001/XMLSchema"</span>&gt;
-</span>        &lt;jxb:javaType name=<span class="code-quote">"java.util.Date"</span> xmlType=<span class="code-quote">"xs:dateTime"</span>
-                      parseMethod=<span class="code-quote">"org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"</span>
-                      printMethod=<span class="code-quote">"org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxws:bindings wsdlLocation="YOUR_WSDL_LOCATION"
+          xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
+          xmlns:xs="http://www.w3.org/2001/XMLSchema"
+          xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
+  &lt;jaxws:bindings  node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='THE_NAMESPACE_OF_YOUR_SCHEMA']"&gt;
+      &lt;jxb:globalBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
+        &lt;jxb:javaType name="java.util.Date" xmlType="xs:dateTime"
+                      parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
+                      printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/&gt;
       &lt;/jxb:globalBindings&gt;
   &lt;/jaxws:bindings&gt;
 &lt;/jaxws:bindings&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>If you want to use java.util.Calendar, just change the org.apache.cxf.tools.common.DataTypeAdapter to javax.xml.bind.DatatypeConverter, and change the name value to "java.util.Calendar"</p>
@@ -265,19 +273,19 @@ If you have schema inside the wsdl, here
 <p>If your schema is out of wsdl, here is an example you can try:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;jxb:bindings version=<span class="code-quote">"2.0"</span>
-              xmlns:jxb=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxb"</span>
-</span>              xmlns:xs=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>&gt;
-</span>  &lt;jxb:bindings schemaLocation=<span class="code-quote">"file:&lt;path&gt;&lt;name&gt;.xsd"</span> node=<span class="code-quote">"/xs:schema"</span>&gt;
-    &lt;jxb:globalBindings xmlns:jxb=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxb"</span> xmlns:xs=<span class="code-quote">"http://www.w3.org/2001/XMLSchema"</span>&gt;
-</span>      &lt;jxb:javaType name=<span class="code-quote">"java.util.Date"</span> xmlType=<span class="code-quote">"xs:dateTime"</span> 
-                    parseMethod=<span class="code-quote">"org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"</span> 
-                    printMethod=<span class="code-quote">"org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jxb:bindings version="2.0"
+              xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+              xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
+  &lt;jxb:bindings schemaLocation="file:&lt;path&gt;&lt;name&gt;.xsd" node="/xs:schema"&gt;
+    &lt;jxb:globalBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
+      &lt;jxb:javaType name="java.util.Date" xmlType="xs:dateTime" 
+                    parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime" 
+                    printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/&gt;
     &lt;/jxb:globalBindings&gt;
   &lt;/jxb:bindings&gt;
 &lt;/jxb:bindings&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p><a shape="rect" name="WSDLtoJava-wrapperstyle"></a><br clear="none">
@@ -286,31 +294,31 @@ If you have schema inside the wsdl, here
 <p>A: Create an external binding file and set the value of &lt;enableWrapperStyle/&gt; to true or false as desired:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;jaxws:bindings
-    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    wsdlLocation=<span class="code-quote">"your.wsdl"</span>
-    xmlns=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxws"</span>
-</span>    xmlns:jaxws=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxws"</span>&gt;
-</span>    &lt;enableWrapperStyle&gt;<span class="code-keyword">false</span>&lt;/enableWrapperStyle&gt;
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    wsdlLocation="your.wsdl"
+    xmlns="http://java.sun.com/xml/ns/jaxws"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"&gt;
+    &lt;enableWrapperStyle&gt;false&lt;/enableWrapperStyle&gt;
 &lt;/jaxws:bindings&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>Alternatively you can embed this instruction within the WSDL file directly, as the immediate child of the wsdl:portType:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;wsdl:portType name=<span class="code-quote">"MyWebServicePortType"</span>&gt;
-    &lt;jaxws:bindings xmlns:jaxws=<span class="code-quote">"http:<span class="code-comment">//java.sun.com/xml/ns/jaxws"</span>&gt;
-</span>        &lt;jaxws:enableWrapperStyle&gt;<span class="code-keyword">false</span>&lt;/jaxws:enableWrapperStyle&gt;
-        ... other binding settings <span class="code-keyword">if</span> needed ...
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsdl:portType name="MyWebServicePortType"&gt;
+    &lt;jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"&gt;
+        &lt;jaxws:enableWrapperStyle&gt;false&lt;/jaxws:enableWrapperStyle&gt;
+        ... other binding settings if needed ...
     &lt;/jaxws:bindings&gt;
-    &lt;wsdl:operation name=<span class="code-quote">"sayHello"</span>&gt;
+    &lt;wsdl:operation name="sayHello"&gt;
     ...
 &lt;/wsdl:portType&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>Note: The meaning of "wrapper-style" and "non-wrapper style" as defined in the <a shape="rect" class="external-link" href="http://jcp.org/aboutJava/communityprocess/pfd/jsr224/index.html" rel="nofollow">JAX-WS 2.1 specification</a> can be counterintuitive.  Wrapper-style indicates that each data element within the request message gets its own Java parameter, while non-wrapper style means that a single Java object containing all the data elements serves as the lone parameter to the web service method call.  (See Figure 2.2 of the specification for an example.)  Also, <b>note the wrapper style is not always available</b>, the WSDL criteria specified in Section 2.3.1.2 ("Wrapper Style") of the specification must be met or only non-wrapper style will be generated.</p>

Modified: websites/production/cxf/content/docs/wsdl-to-javascript.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-javascript.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-javascript.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to Javascript">
+
+
     <title>
 Apache CXF -- WSDL to Javascript
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL to Javascript
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL to Javascript
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdl-to-service.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-service.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-service.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to Service">
+
+
     <title>
 Apache CXF -- WSDL to Service
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL to Service
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL to Service
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdl-to-soap.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-soap.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-soap.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to SOAP">
+
+
     <title>
 Apache CXF -- WSDL to SOAP
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL to SOAP
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL to SOAP
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdl-to-xml.html
==============================================================================
--- websites/production/cxf/content/docs/wsdl-to-xml.html (original)
+++ websites/production/cxf/content/docs/wsdl-to-xml.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDL to XML">
+
+
     <title>
 Apache CXF -- WSDL to XML
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDL to XML
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDL to XML
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wsdlvalidator.html
==============================================================================
--- websites/production/cxf/content/docs/wsdlvalidator.html (original)
+++ websites/production/cxf/content/docs/wsdlvalidator.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSDLValidator">
+
+
     <title>
 Apache CXF -- WSDLValidator
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- WSDLValidator
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- WSDLValidator
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/wspconfiguration.html
==============================================================================
--- websites/production/cxf/content/docs/wspconfiguration.html (original)
+++ websites/production/cxf/content/docs/wspconfiguration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSPConfiguration">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- WSPConfiguration
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WSPConfiguration
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- WSPConfiguration
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -145,22 +153,22 @@ Apache CXF -- WSPConfiguration
 <p>For example, to apply this feature to the bus and prevent exceptions being thrown when encountering unknown assertions:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-       <span class="code-keyword">xmlns:cxf</span>=<span class="code-quote">"http://cxf.apache.org/core"</span>
-       <span class="code-keyword">xmlns:p</span>=<span class="code-quote">"http://cxf.apache.org/policy"</span>
-       <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
 http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
 http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
-    <span class="code-tag">&lt;cxf:bus&gt;</span>
-        <span class="code-tag">&lt;cxf:features&gt;</span>
-            <span class="code-tag">&lt;p:policies ignoreUnknownAssertions=<span class="code-quote">"true"</span>/&gt;</span>
-        <span class="code-tag">&lt;/cxf:features&gt;</span>
-    <span class="code-tag">&lt;/cxf:bus&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+    &lt;cxf:bus&gt;
+        &lt;cxf:features&gt;
+            &lt;p:policies ignoreUnknownAssertions="true"/&gt;
+        &lt;/cxf:features&gt;
+    &lt;/cxf:bus&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="WSPConfiguration-ConfiguringthePolicyEngine"></a>Configuring the Policy Engine</h2>
@@ -173,19 +181,19 @@ http://www.springframework.org/schema/be
 <p>The following configuration achieves the same as in the example above:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-       <span class="code-keyword">xmlns:cxf</span>=<span class="code-quote">"http://cxf.apache.org/core"</span>
-       <span class="code-keyword">xmlns:p</span>=<span class="code-quote">"http://cxf.apache.org/policy"</span>
-       <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
 http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
 http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
 
-    <span class="code-tag">&lt;p:engine enabled=<span class="code-quote">"true"</span> ignoreUnknownAssertions=<span class="code-quote">"true"</span>/&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+    &lt;p:engine enabled="true" ignoreUnknownAssertions="true"/&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p><b>Note:</b> Starting with CXF 2.2, the Policy Engine defaults to enabled=true and ignoreUnknownAssertions=true. Thus, the above configuration is no-longer needed as that is the default.</p>
@@ -203,9 +211,9 @@ http://www.springframework.org/schema/be
 <p>Example:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-    <span class="code-tag">&lt;p:externalAttachment location=<span class="code-quote">"classpath:org/apache/cxf/systest/ws/policy/addr-external.xml"</span>/&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+    &lt;p:externalAttachment location="classpath:org/apache/cxf/systest/ws/policy/addr-external.xml"/&gt;
+]]></script>
 </div></div>
 
 <p>You can have any number of &lt;externalAttachment&gt;  elements in your configuration file.</p></div>

Modified: websites/production/cxf/content/docs/wsrmconfiguration.html
==============================================================================
--- websites/production/cxf/content/docs/wsrmconfiguration.html (original)
+++ websites/production/cxf/content/docs/wsrmconfiguration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - WSRMConfiguration">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- WSRMConfiguration
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WSRMConfiguration
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- WSRMConfiguration
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -134,52 +142,52 @@ Apache CXF -- WSRMConfiguration
 
 <p>For example, to enable the WS-Policy Framework on the server side, you configuration file could look like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;jaxws:endpoint ...&gt;</span>
-    <span class="code-tag">&lt;jaxws:features&gt;</span>
-        <span class="code-tag">&lt;p:policies/&gt;</span>
-    <span class="code-tag">&lt;/jaxws:features&gt;</span>
-<span class="code-tag">&lt;/jaxws:endpoint&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxws:endpoint ...&gt;
+    &lt;jaxws:features&gt;
+        &lt;p:policies/&gt;
+    &lt;/jaxws:features&gt;
+&lt;/jaxws:endpoint&gt;
+]]></script>
 </div></div>
 
 <p>and your wsdl:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;wsp:Policy wsu:Id=<span class="code-quote">"RM"</span> <span class="code-keyword">xmlns:wsp</span>=<span class="code-quote">"http://www.w3.org/2006/07/ws-policy"</span>
-<span class="code-keyword">xmlns:wsu</span>=<span class="code-quote">"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"</span>&gt;
-    <span class="code-tag">&lt;wsam:Addressing <span class="code-keyword">xmlns:wsam</span>=<span class="code-quote">"http://www.w3.org/2007/02/addressing/metadata"</span>&gt;</span>
-        <span class="code-tag">&lt;wsp:Policy/&gt;</span>
-    <span class="code-tag">&lt;/wsam:Addressing&gt;</span>
-    <span class="code-tag">&lt;wsrmp:RMAssertion <span class="code-keyword">xmlns:wsrmp</span>=<span class="code-quote">"http://schemas.xmlsoap.org/ws/2005/02/rm/policy"</span>&gt;</span>
-        <span class="code-tag">&lt;wsrmp:BaseRetransmissionInterval Milliseconds=<span class="code-quote">"10000"</span>/&gt;</span> 
-    <span class="code-tag">&lt;/wsrmp:RMAssertion&gt;</span>
-<span class="code-tag">&lt;/wsp:Policy&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsp:Policy wsu:Id="RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"
+xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;
+    &lt;wsam:Addressing xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"&gt;
+        &lt;wsp:Policy/&gt;
+    &lt;/wsam:Addressing&gt;
+    &lt;wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"&gt;
+        &lt;wsrmp:BaseRetransmissionInterval Milliseconds="10000"/&gt; 
+    &lt;/wsrmp:RMAssertion&gt;
+&lt;/wsp:Policy&gt;
 ...
-<span class="code-tag">&lt;wsdl:service name=<span class="code-quote">"ReliableGreeterService"</span>&gt;</span>
-    <span class="code-tag">&lt;wsdl:port binding=<span class="code-quote">"tns:GreeterSOAPBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;</span>
-        <span class="code-tag">&lt;soap:address location=<span class="code-quote">"http://localhost:9020/SoapContext/GreeterPort"</span>/&gt;</span>
-        <span class="code-tag">&lt;wsp:PolicyReference URI=<span class="code-quote">"#RM"</span> <span class="code-keyword">xmlns:wsp</span>=<span class="code-quote">"http://www.w3.org/2006/07/ws-policy"</span>/&gt;</span>        
-    <span class="code-tag">&lt;/wsdl:port&gt;</span>
-<span class="code-tag">&lt;/wsdl:service&gt;</span>
-</pre>
+&lt;wsdl:service name="ReliableGreeterService"&gt;
+    &lt;wsdl:port binding="tns:GreeterSOAPBinding" name="GreeterPort"&gt;
+        &lt;soap:address location="http://localhost:9020/SoapContext/GreeterPort"/&gt;
+        &lt;wsp:PolicyReference URI="#RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/&gt;        
+    &lt;/wsdl:port&gt;
+&lt;/wsdl:service&gt;
+]]></script>
 </div></div>
 
 <p>Instead of attaching the PolicyReference attached to the wsdl:port element, you can also specify it as a child element of the policies features, e.g. for the server endpoint:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;wsp:Policy wsu:Id=<span class="code-quote">"RM"</span> <span class="code-keyword">xmlns:wsp</span>=<span class="code-quote">"http://www.w3.org/2006/07/ws-policy"</span> ...&gt;</span>
-<span class="code-tag">&lt;/wsp:Policy&gt;</span>
-
-<span class="code-tag">&lt;jaxws:endpoint ...&gt;</span>
-    <span class="code-tag">&lt;jaxws:features&gt;</span>
-        <span class="code-tag">&lt;p:policies&gt;</span>
-            <span class="code-tag">&lt;wsp:PolicyReference URI=<span class="code-quote">"#RM"</span> <span class="code-keyword">xmlns:wsp</span>=<span class="code-quote">"http://www.w3.org/2006/07/ws-policy"</span>/&gt;</span>
-        <span class="code-tag">&lt;/p:policies&gt;</span>
-    <span class="code-tag">&lt;/jaxws:features&gt;</span>
-<span class="code-tag">&lt;/jaxws:endpoint&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsp:Policy wsu:Id="RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy" ...&gt;
+&lt;/wsp:Policy&gt;
+
+&lt;jaxws:endpoint ...&gt;
+    &lt;jaxws:features&gt;
+        &lt;p:policies&gt;
+            &lt;wsp:PolicyReference URI="#RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/&gt;
+        &lt;/p:policies&gt;
+    &lt;/jaxws:features&gt;
+&lt;/jaxws:endpoint&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="WSRMConfiguration-UsingtheReliableMessagingFeature"></a>Using the Reliable Messaging Feature</h2>
@@ -195,26 +203,26 @@ Apache CXF -- WSRMConfiguration
 
 <p>Example (feature applied at bus level):</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;cxf:bus&gt;</span>
-    <span class="code-tag">&lt;cxf:features&gt;</span>
-        <span class="code-tag">&lt;wsa:addressing/&gt;</span>
-        <span class="code-tag">&lt;wsrm-mgr:reliableMessaging&gt;</span>
-            <span class="code-tag">&lt;wsrm-policy:RMAssertion&gt;</span>
-                <span class="code-tag">&lt;wsrm-policy:BaseRetransmissionInterval Milliseconds=<span class="code-quote">"4000"</span>/&gt;</span>           
-                <span class="code-tag">&lt;wsrm-policy:AcknowledgementInterval Milliseconds=<span class="code-quote">"2000"</span>/&gt;</span>          
-            <span class="code-tag">&lt;/wsrm-policy:RMAssertion&gt;</span> 
-            <span class="code-tag">&lt;wsrm-mgr:sourcePolicy&gt;</span>
-                <span class="code-tag">&lt;wsrm-mgr:sequenceTerminationPolicy maxLength=<span class="code-quote">"5"</span>/&gt;</span>                    
-            <span class="code-tag">&lt;/wsrm-mgr:sourcePolicy&gt;</span>     
-            <span class="code-tag">&lt;wsrm-mgr:destinationPolicy acceptOffers=<span class="code-quote">"false"</span>&gt;</span>            
-            <span class="code-tag">&lt;wsrm:store&gt;</span>
-               <span class="code-tag">&lt;ref bean=<span class="code-quote">"myStore"</span>/&gt;</span>
-            <span class="code-tag">&lt;/wsrm:store&gt;</span>
-        <span class="code-tag">&lt;/wsrm-mgr:reliableMessaging&gt;</span>
-    <span class="code-tag">&lt;/cxf:features&gt;</span>
-<span class="code-tag">&lt;/cxf:bus&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;cxf:bus&gt;
+    &lt;cxf:features&gt;
+        &lt;wsa:addressing/&gt;
+        &lt;wsrm-mgr:reliableMessaging&gt;
+            &lt;wsrm-policy:RMAssertion&gt;
+                &lt;wsrm-policy:BaseRetransmissionInterval Milliseconds="4000"/&gt;           
+                &lt;wsrm-policy:AcknowledgementInterval Milliseconds="2000"/&gt;          
+            &lt;/wsrm-policy:RMAssertion&gt; 
+            &lt;wsrm-mgr:sourcePolicy&gt;
+                &lt;wsrm-mgr:sequenceTerminationPolicy maxLength="5"/&gt;                    
+            &lt;/wsrm-mgr:sourcePolicy&gt;     
+            &lt;wsrm-mgr:destinationPolicy acceptOffers="false"&gt;            
+            &lt;wsrm:store&gt;
+               &lt;ref bean="myStore"/&gt;
+            &lt;/wsrm:store&gt;
+        &lt;/wsrm-mgr:reliableMessaging&gt;
+    &lt;/cxf:features&gt;
+&lt;/cxf:bus&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="WSRMConfiguration-ConfiguringtheReliableMessagingStore"></a>Configuring the Reliable Messaging Store</h2>
@@ -229,46 +237,46 @@ Apache CXF -- WSRMConfiguration
 <p>Example:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;wsrm-mgr:jdbcStore id=<span class="code-quote">"myStore"</span>
-    driverClassName=<span class="code-quote">"org.apache.derby.jdbc.ClientDriver"</span>/&gt;
-    url=<span class="code-quote">"jdbc:derby://localhost:1527/rmdb;create=true"</span>/&gt;
-    password=<span class="code-quote">"password"</span>/&gt;
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsrm-mgr:jdbcStore id="myStore"
+    driverClassName="org.apache.derby.jdbc.ClientDriver"/&gt;
+    url="jdbc:derby://localhost:1527/rmdb;create=true"/&gt;
+    password="password"/&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="WSRMConfiguration-AddingtheReliableMessagingInterceptorsManually"></a>Adding the Reliable Messaging Interceptors Manually</h2>
 
 <p>To ensure that the Reliable Messaging interceptors are added to the appropriate interceptor chains, e.g. for all client and server endpoints:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"rmLogicalOut"</span> class=<span class="code-quote">"org.apache.cxf.ws.rm.RMOutInterceptor"</span>&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span>/&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-<span class="code-tag">&lt;bean id=<span class="code-quote">"rmLogicalIn"</span> class=<span class="code-quote">"org.apache.cxf.ws.rm.RMInInterceptor"</span>&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span>/&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span>
-<span class="code-tag">&lt;bean id=<span class="code-quote">"rmCodec"</span> class=<span class="code-quote">"org.apache.cxf.ws.rm.soap.RMSoapInterceptor"</span>/&gt;</span>
-
-<span class="code-tag">&lt;cxf:bus ...&gt;</span>
-    <span class="code-tag">&lt;cxf:inInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmLogicalIn"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:inInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:inFaultInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmLogicalIn"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:inFaultInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:outInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmLogicalOut"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;/cxf:outInterceptors&gt;</span>
-    <span class="code-tag">&lt;cxf:outFaultInterceptors&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmLogicalOut"</span>/&gt;</span>
-        <span class="code-tag">&lt;ref bean=<span class="code-quote">"rmCodec"</span>/&gt;</span>
-    <span class="code-tag">&lt;cxf:outFaultInterceptors&gt;</span>
-<span class="code-tag">&lt;/cxf:bus&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="rmLogicalOut" class="org.apache.cxf.ws.rm.RMOutInterceptor"&gt;
+    &lt;property name="bus" ref="cxf"/&gt;
+&lt;/bean&gt;
+&lt;bean id="rmLogicalIn" class="org.apache.cxf.ws.rm.RMInInterceptor"&gt;
+    &lt;property name="bus" ref="cxf"/&gt;
+&lt;/bean&gt;
+&lt;bean id="rmCodec" class="org.apache.cxf.ws.rm.soap.RMSoapInterceptor"/&gt;
+
+&lt;cxf:bus ...&gt;
+    &lt;cxf:inInterceptors&gt;
+        &lt;ref bean="rmLogicalIn"/&gt;
+        &lt;ref bean="rmCodec"/&gt;
+    &lt;/cxf:inInterceptors&gt;
+    &lt;cxf:inFaultInterceptors&gt;
+        &lt;ref bean="rmLogicalIn"/&gt;
+        &lt;ref bean="rmCodec"/&gt;
+    &lt;/cxf:inFaultInterceptors&gt;
+    &lt;cxf:outInterceptors&gt;
+        &lt;ref bean="rmLogicalOut"/&gt;
+        &lt;ref bean="rmCodec"/&gt;
+    &lt;/cxf:outInterceptors&gt;
+    &lt;cxf:outFaultInterceptors&gt;
+        &lt;ref bean="rmLogicalOut"/&gt;
+        &lt;ref bean="rmCodec"/&gt;
+    &lt;cxf:outFaultInterceptors&gt;
+&lt;/cxf:bus&gt;
+]]></script>
 </div></div>
 
 <p>The RetransmissionIntercepor will be added on the fly by the RMOutInterceptor so need not appear in your configuration file.</p>
@@ -278,13 +286,13 @@ Apache CXF -- WSRMConfiguration
 <p>To configure properties of the RM Manager, you can use the rmManager element from the <a shape="rect" href="http://cxf.apache.org/ws/rm/manager">http://cxf.apache.org/ws/rm/manager</a> namespace. It supports the same child elements as the reliableMessaging feature element above. For example, without using features, you can determine that seuences should have a maximum length of 5 as follows:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;wsrm-mgr:rmManager <span class="code-keyword">xmlns:wsrm-mgr</span>=<span class="code-quote">"http://cxf.apache.org/ws/rm/manager"</span>&gt;</span>
-    <span class="code-tag">&lt;wsrm-mgr:sourcePolicy&gt;</span>
-        <span class="code-tag">&lt;wsrm-mgr:sequenceTerminationPolicy maxLength=<span class="code-quote">"5"</span>/&gt;</span>                    
-    <span class="code-tag">&lt;/wsrm-mgr:sourcePolicy&gt;</span>
-<span class="code-tag">&lt;/wsrm-mgr:rmManager&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsrm-mgr:rmManager xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager"&gt;
+    &lt;wsrm-mgr:sourcePolicy&gt;
+        &lt;wsrm-mgr:sequenceTerminationPolicy maxLength="5"/&gt;                    
+    &lt;/wsrm-mgr:sourcePolicy&gt;
+&lt;/wsrm-mgr:rmManager&gt;
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->



Mime
View raw message