cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [17/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/java-to-ws.html
==============================================================================
--- websites/production/cxf/content/docs/java-to-ws.html (original)
+++ websites/production/cxf/content/docs/java-to-ws.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 - Java to WS">
+
+  <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 -- Java to WS
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Java to WS
     <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 -- Java to WS
 
 
 <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>
@@ -170,32 +178,32 @@ Apache CXF -- Java to WS
 <p>The java2ws 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 java2ws"</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-trunk"</span>/&gt;</span>
-   <span class="code-tag">&lt;property name=<span class="code-quote">"build.classes.dir"</span> location =<span class="code-quote">"${basedir}/build/classes"</span>/&gt;</span>
-
-   <span class="code-tag">&lt;path id=<span class="code-quote">"cxf.classpath"</span>&gt;</span>
-      <span class="code-tag">&lt;pathelement location=<span class="code-quote">"${build.classes.dir}"</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 java2ws" basedir="."&gt;   
+   &lt;property name="cxf.home" location ="/usr/myapps/cxf-trunk"/&gt;
+   &lt;property name="build.classes.dir" location ="${basedir}/build/classes"/&gt;
+
+   &lt;path id="cxf.classpath"&gt;
+      &lt;pathelement location="${build.classes.dir}"/&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">"cxfJavaToWS"</span>&gt;</span>
-      <span class="code-tag">&lt;java classname=<span class="code-quote">"org.apache.cxf.tools.java2ws.JavaToWS"</span> fork=<span class="code-quote">"true"</span>&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"-wsdl"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"-o"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"hello.wsdl"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"service.Greeter"</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="cxfJavaToWS"&gt;
+      &lt;java classname="org.apache.cxf.tools.java2ws.JavaToWS" fork="true"&gt;
+         &lt;arg value="-wsdl"/&gt;
+         &lt;arg value="-o"/&gt;
+         &lt;arg value="hello.wsdl"/&gt;
+         &lt;arg value="service.Greeter"/&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="-o hello.wsdl"/&gt;, but split them up into two &lt;arg/&gt; elements as done here.)</p>

Modified: websites/production/cxf/content/docs/java-to-wsdl.html
==============================================================================
--- websites/production/cxf/content/docs/java-to-wsdl.html (original)
+++ websites/production/cxf/content/docs/java-to-wsdl.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 - Java to WSDL">
+
+  <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 -- Java to WSDL
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Java to WSDL
     <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 -- Java to WSDL
 
 
 <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>
@@ -123,10 +131,10 @@ Apache CXF -- Java to WSDL
            <div class="wiki-content">
 <div id="ConfluenceContent"><h2><a shape="rect" name="JavatoWSDL-Synopsis"></a>Synopsis</h2>
 <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[
 java2wsdl [-?|-help|-h][-o &lt;output-file&gt;][-cp &lt;class-path&gt;][-soap12][-t &lt;target-namespace&gt;][-servicenam &lt;seservice-name&gt;][-v][-verbose|-quiet][-s &lt;source-directory&gt;]
           [-classdir &lt;compile-classes-directory&gt;][-portname &lt;port-name&gt;][-createxsdimports][-d &lt;output-directory&gt;] { classname }
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="JavatoWSDL-Description"></a>Description</h2>
@@ -162,31 +170,31 @@ java2wsdl [-?|-help|-h][-o &lt;output-fi
 <p>The java2wsdl 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 java2wsdl"</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.0.1"</span>/&gt;</span>
-   <span class="code-tag">&lt;property name=<span class="code-quote">"build.classes.dir"</span> location =<span class="code-quote">"${basedir}/build/classes"</span>/&gt;</span>
-
-   <span class="code-tag">&lt;path id=<span class="code-quote">"cxf.classpath"</span>&gt;</span>
-      <span class="code-tag">&lt;pathelement location=<span class="code-quote">"${build.classes.dir}"</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 java2wsdl" basedir="."&gt;   
+   &lt;property name="cxf.home" location ="/usr/myapps/cxf-2.0.1"/&gt;
+   &lt;property name="build.classes.dir" location ="${basedir}/build/classes"/&gt;
+
+   &lt;path id="cxf.classpath"&gt;
+      &lt;pathelement location="${build.classes.dir}"/&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">"cxfJavaToWSDL"</span>&gt;</span>
-      <span class="code-tag">&lt;java classname=<span class="code-quote">"org.apache.cxf.tools.java2wsdl.JavaToWSDL"</span> fork=<span class="code-quote">"true"</span>&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"-o"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"hello.wsdl"</span>/&gt;</span>
-         <span class="code-tag">&lt;arg value=<span class="code-quote">"service.Greeter"</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="cxfJavaToWSDL"&gt;
+      &lt;java classname="org.apache.cxf.tools.java2wsdl.JavaToWSDL" fork="true"&gt;
+         &lt;arg value="-o"/&gt;
+         &lt;arg value="hello.wsdl"/&gt;
+         &lt;arg value="service.Greeter"/&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="-o hello.wsdl"/&gt;, but split them up into two &lt;arg/&gt; elements as done here.)</p>

Modified: websites/production/cxf/content/docs/javadoc.html
==============================================================================
--- websites/production/cxf/content/docs/javadoc.html (original)
+++ websites/production/cxf/content/docs/javadoc.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 - Javadoc">
+
+
     <title>
 Apache CXF -- Javadoc
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Javadoc
     <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 -- Javadoc
 
 
 <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/javascript-client-code.html
==============================================================================
--- websites/production/cxf/content/docs/javascript-client-code.html (original)
+++ websites/production/cxf/content/docs/javascript-client-code.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,19 @@
 <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 - JavaScript Client Code">
+
+  <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 src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJScript.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- JavaScript Client Code
     </title>
@@ -42,19 +55,15 @@ Apache CXF -- JavaScript Client Code
     <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 +103,7 @@ Apache CXF -- JavaScript Client Code
 
 
 <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>
@@ -136,12 +145,12 @@ Apache CXF -- JavaScript Client Code
 <p>The Schema code generates one object for each 'bean' used in your service. This code is organized by XML Schema. The code for each schema starts with a comment like:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
 //
-// Definitions <span class="code-keyword">for</span> schema: http://apache.org/hello_world_soap_http/types
+// Definitions for schema: http://apache.org/hello_world_soap_http/types
 //  file:/home/benson/cxf/trunk/distribution/src/main/release/samples/js_browser_client/wsdl/hello_world.wsdl#types1
 //
-</pre>
+]]></script>
 </div></div>
 
 <p>The generator generates a JavaScript constructor for each global complex type and element in the schema. Generally, you will find that the service methods are defined in terms of types, not elements. However, depending on whether you use Document or RPC, and depending on exactly how you configure your parts and types, you may find that a particular method is defined in terms of an 'element'-based JavaScript type instead of a 'type'-based class.</p>
@@ -149,19 +158,19 @@ Apache CXF -- JavaScript Client Code
 <p>A typical JavaScript class for a type looks like:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
-<span class="code-keyword">function</span> apache_org_hello_world_soap_http_types_sayHiResponse () {
-    <span class="code-keyword">this</span>._responseType = '';
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
+function apache_org_hello_world_soap_http_types_sayHiResponse () {
+    this._responseType = '';
 }
 
-<span class="code-keyword">function</span> apache_org_hello_world_soap_http_types_sayHiResponse_getResponseType() { <span class="code-keyword">return</span> <span class="code-keyword">this</span>._responseType;}
+function apache_org_hello_world_soap_http_types_sayHiResponse_getResponseType() { return this._responseType;}
 apache_org_hello_world_soap_http_types_sayHiResponse.prototype.getResponseType = 
   apache_org_hello_world_soap_http_types_sayHiResponse_getResponseType;
-<span class="code-keyword">function</span> apache_org_hello_world_soap_http_types_sayHiResponse_setResponseType(value) {<span class="code-keyword">this</span>._responseType = value;}
+function apache_org_hello_world_soap_http_types_sayHiResponse_setResponseType(value) {this._responseType = value;}
 apache_org_hello_world_soap_http_types_sayHiResponse.prototype.setResponseType = 
   apache_org_hello_world_soap_http_types_sayHiResponse_setResponseType;
 
-</pre>
+]]></script>
 </div></div>
 
 <p>This is very simple type, derived from the return part of a Document/Literal service. It has one piece of data in it, called 'responseType'. Note that the code style here is to define getters and setters over 'private' properties. The code does not go to elaborate lengths to make the properties <em>private</em>; it just puts an _ on the front of the names.</p>
@@ -171,19 +180,19 @@ apache_org_hello_world_soap_http_types_s
 <p>The code for a service starts with a comment, followed by a constructor for the per-service object:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
-// Javascript <span class="code-keyword">for</span> {http://apache.org/hello_world_soap_http}Greeter
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
+// Javascript for {http://apache.org/hello_world_soap_http}Greeter
 
-<span class="code-keyword">function</span> apache_org_hello_world_soap_http_Greeter () {
-    <span class="code-keyword">this</span>.jsutils = <span class="code-keyword">new</span> CxfApacheOrgUtil();
-    <span class="code-keyword">this</span>.synchronous = <span class="code-keyword">false</span>;
-    <span class="code-keyword">this</span>.url = <span class="code-keyword">null</span>;
-    <span class="code-keyword">this</span>.client = <span class="code-keyword">null</span>;
-    <span class="code-keyword">this</span>.response = <span class="code-keyword">null</span>;
-    <span class="code-keyword">this</span>._onsuccess = <span class="code-keyword">null</span>;
-    <span class="code-keyword">this</span>._onerror = <span class="code-keyword">null</span>;
+function apache_org_hello_world_soap_http_Greeter () {
+    this.jsutils = new CxfApacheOrgUtil();
+    this.synchronous = false;
+    this.url = null;
+    this.client = null;
+    this.response = null;
+    this._onsuccess = null;
+    this._onerror = null;
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>There are two important properties defined here: <b>url</b> and <b>synchronous</b>. </p>
@@ -226,34 +235,34 @@ fault information as a third parameter t
 <p>The present author finds that, at least for JAX-WS, BARE has a lot to recommend it, as it avoids surprising interactions between JAX-WS and JAXB. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-<span class="code-keyword">function</span> errorCallback(httpStatus, httpStatusText) 
+function errorCallback(httpStatus, httpStatusText) 
 {
 	globalErrorStatus = httpStatus; // integer HTTP status
 	globalStatusText = httpStatusText; // Textual HTTP status
 }
 
-<span class="code-keyword">function</span> successCallback(responseObject) 
+function successCallback(responseObject) 
 {
-// the parameter is an object of the type declared <span class="code-keyword">for</span> the
+// the parameter is an object of the type declared for the
 // method.
 	globalResponseObject = responseObject;
 }
 
-<span class="code-keyword">function</span> compliantTest(url)
+function compliantTest(url)
 {
-    <span class="code-keyword">var</span> intf;
-    // class <span class="code-keyword">for</span> the service.
-    intf = <span class="code-keyword">new</span> org_apache_cxf_javascript_fortest_SimpleDocLitBare();
+    var intf;
+    // class for the service.
+    intf = new org_apache_cxf_javascript_fortest_SimpleDocLitBare();
     intf.url = url;
-    <span class="code-keyword">var</span> bareParam = <span class="code-keyword">new</span> my_param_class_object();
+    var bareParam = new my_param_class_object();
     bareParam.setWhatever(someValue);
     // ...
     intf.compliant(successCallback, errorCallback, bareParam); 
 }
 
-</pre>
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="JavaScriptClientCode-xs%3AanyExample%3AUsingaDescribedType"></a>xs:any Example: Using a Described Type</h3>
@@ -261,17 +270,17 @@ fault information as a third parameter t
 <p>The following function calls a Document/Literal/Bare method. The bare parameter element is declared as:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;element name=<span class="code-quote">"acceptAny1"</span>&gt;</span>
- <span class="code-tag">&lt;complexType&gt;</span>
-  <span class="code-tag">&lt;sequence&gt;</span>
-    <span class="code-tag">&lt;element name='before' type='string' /&gt;</span>
-    <span class="code-tag">&lt;any minOccurs='1' maxOccurs='1' namespace='##other' /&gt;</span>
-    <span class="code-tag">&lt;element name='after' type='string' /&gt;</span>
-  <span class="code-tag">&lt;/sequence&gt;</span>
- <span class="code-tag">&lt;/complexType&gt;</span>
-<span class="code-tag">&lt;/element&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;element name="acceptAny1"&gt;
+ &lt;complexType&gt;
+  &lt;sequence&gt;
+    &lt;element name='before' type='string' /&gt;
+    &lt;any minOccurs='1' maxOccurs='1' namespace='##other' /&gt;
+    &lt;element name='after' type='string' /&gt;
+  &lt;/sequence&gt;
+ &lt;/complexType&gt;
+&lt;/element&gt;
+]]></script>
 </div></div>
 
 <p>The target namespace for this schema is <b>uri:cxf.apache.org:jstest:types:any</b>.</p>
@@ -291,21 +300,21 @@ defined in the WSDL's schemas. To constr
 
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
-<span class="code-keyword">function</span> testAny1ToServerChalk(url)
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
+function testAny1ToServerChalk(url)
 {
-	<span class="code-keyword">var</span> service = <span class="code-keyword">new</span> cxf_apache_org_jstest_any_AcceptAny();
+	var service = new cxf_apache_org_jstest_any_AcceptAny();
 	service.url = url;
-	<span class="code-keyword">var</span> param = <span class="code-keyword">new</span> cxf_apache_org_jstest_types_any_acceptAny1();
+	var param = new cxf_apache_org_jstest_types_any_acceptAny1();
 	param.setBefore("before chalk");
-	<span class="code-keyword">var</span> anyOb = <span class="code-keyword">new</span> cxf_apache_org_jstest_types_any_alts_alternative1();
+	var anyOb = new cxf_apache_org_jstest_types_any_alts_alternative1();
 	anyOb.setChalk("bismuth");
-	<span class="code-keyword">var</span> holder = <span class="code-keyword">new</span> org_apache_cxf_any_holder("uri:cxf.apache.org:jstest:types:any:alts", "alternative1", anyOb);
+	var holder = new org_apache_cxf_any_holder("uri:cxf.apache.org:jstest:types:any:alts", "alternative1", anyOb);
 	param.setAny(holder);
 	param.setAfter("after chalk");
 	service.acceptAny1(param);
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>What if your xs:any calls for more than one item? You supply an array of holders, since each holder could be some different element.</p>
@@ -326,19 +335,19 @@ org_apache_cxf_any_holder. However, the 
 'false'. CXF may be enhanced to support passing non-described elements to JavaScript at a later time. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-javascript">
-<span class="code-keyword">function</span> testAny1ToServerRaw(url)
+<script class="theme: Default; brush: javascript; gutter: false" type="syntaxhighlighter"><![CDATA[
+function testAny1ToServerRaw(url)
 {
-	<span class="code-keyword">var</span> service = <span class="code-keyword">new</span> cxf_apache_org_jstest_any_AcceptAny();
+	var service = new cxf_apache_org_jstest_any_AcceptAny();
 	service.url = url;
-	<span class="code-keyword">var</span> param = <span class="code-keyword">new</span> cxf_apache_org_jstest_types_any_acceptAny1();
+	var param = new cxf_apache_org_jstest_types_any_acceptAny1();
 	param.setBefore("before chalk");
-	<span class="code-keyword">var</span> holder = <span class="code-keyword">new</span> org_apache_cxf_raw_any_holder("&lt;walrus xmlns='uri:iam'&gt;tusks&lt;/walrus&gt;");
+	var holder = new org_apache_cxf_raw_any_holder("&lt;walrus xmlns='uri:iam'&gt;tusks&lt;/walrus&gt;");
 	param.setAny(holder);
 	param.setAfter("after chalk");
 	service.acceptAny1(param);
 }
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/javascript-client-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/javascript-client-configuration.html (original)
+++ websites/production/cxf/content/docs/javascript-client-configuration.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 - JavaScript Client Configuration">
+
+
     <title>
 Apache CXF -- JavaScript Client Configuration
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- JavaScript Client Configur
     <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 -- JavaScript Client Configur
 
 
 <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/javascript-client-limitations.html
==============================================================================
--- websites/production/cxf/content/docs/javascript-client-limitations.html (original)
+++ websites/production/cxf/content/docs/javascript-client-limitations.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 - JavaScript Client Limitations">
+
+
     <title>
 Apache CXF -- JavaScript Client Limitations
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- JavaScript Client Limitati
     <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 -- JavaScript Client Limitati
 
 
 <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/javascript-client-samples.html
==============================================================================
--- websites/production/cxf/content/docs/javascript-client-samples.html (original)
+++ websites/production/cxf/content/docs/javascript-client-samples.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 - JavaScript Client Samples">
+
+  <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 -- JavaScript Client Samples
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- JavaScript Client Samples
     <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 -- JavaScript Client Samples
 
 
 <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>
@@ -124,64 +132,64 @@ Apache CXF -- JavaScript Client Samples
 <div id="ConfluenceContent"><p>So far, there is one sample in the distribution. This sample, called js_browser_client_simple, provides an HTML user interface to the tiny hello_world service also present in the wsdl_first sample. The HTML page for the sample is here. This gives a flavor of an HTML page invoking a web service via the CXF JavaScript client generator.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-html">
-<span class="code-tag"><span class="code-comment">&lt;!-- Generate and retrieve a JavaScript client for the server. --&gt;</span></span>
-<span class="code-tag">&lt;script type=<span class="code-quote">"text/javascript"</span> src=<span class="code-quote">"/SoapContext/SoapPort?js"</span>&gt;</span><span class="code-tag">&lt;/script&gt;</span>
-<span class="code-tag">&lt;script type=<span class="code-quote">"text/javascript"</span>&gt;</span>
-<span class="code-tag"><span class="code-comment">&lt;!-- create an object that talks to the Greeter service. --&gt;</span></span>
+<script class="theme: Default; brush: html; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;!-- Generate and retrieve a JavaScript client for the server. --&gt;
+&lt;script type="text/javascript" src="/SoapContext/SoapPort?js"&gt;&lt;/script&gt;
+&lt;script type="text/javascript"&gt;
+&lt;!-- create an object that talks to the Greeter service. --&gt;
 var Greeter = new apache_org_hello_world_soap_http_Greeter();
-<span class="code-tag"><span class="code-comment">&lt;!-- set the URL for the service. No cross-scripting allowed. --&gt;</span></span>
-Greeter.url = <span class="code-quote">"/SoapContext/SoapPort"</span>;
+&lt;!-- set the URL for the service. No cross-scripting allowed. --&gt;
+Greeter.url = "/SoapContext/SoapPort";
 
 var responseSpan;
 
-<span class="code-tag"><span class="code-comment">&lt;!-- This is the function called upon success. --&gt;</span></span>
+&lt;!-- This is the function called upon success. --&gt;
 function sayHiResponse(response)
 {
     responseSpan.firstChild.nodeValue = response.getResponseType();
 }
 
-<span class="code-tag"><span class="code-comment">&lt;!-- This is the function called for an error. --&gt;</span></span>
+&lt;!-- This is the function called for an error. --&gt;
 function sayHiError(error)
 {
       alert('error ' + error);
 }
 
-<span class="code-tag"><span class="code-comment">&lt;!-- This function is invoked from the button press to run the service. --&gt;</span></span>
+&lt;!-- This function is invoked from the button press to run the service. --&gt;
 function invokeSayHi()
 {
     responseSpan = document.getElementById('sayHiResponse');
-    responseSpan.firstChild.nodeValue = <span class="code-quote">" - pending - "</span>;
+    responseSpan.firstChild.nodeValue = " - pending - ";
     Greeter.sayHi(sayHiResponse, sayHiError);
 }
-<span class="code-tag">&lt;/script&gt;</span>
-<span class="code-tag">&lt;/head&gt;</span>
-<span class="code-tag">&lt;body&gt;</span>
-<span class="code-tag">&lt;h1&gt;</span>
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;h1&gt;
 Hello World Sample
-<span class="code-tag">&lt;/h1&gt;</span>
-<span class="code-tag">&lt;form&gt;</span>
-<span class="code-tag">&lt;div&gt;</span>
-        <span class="code-tag">&lt;table&gt;</span>
-          <span class="code-tag">&lt;tr&gt;</span>
-            <span class="code-tag">&lt;td&gt;</span>Run sayHi<span class="code-tag">&lt;/td&gt;</span>
-            <span class="code-tag">&lt;td&gt;</span>&lt;input type=<span class="code-quote">"button"</span>
-                       value=<span class="code-quote">"invoke"</span> name=<span class="code-quote">"sayHi"</span>
-                       onClick=<span class="code-quote">"invokeSayHi()"</span>&gt;
-          <span class="code-tag">&lt;/tr&gt;</span>
-          <span class="code-tag">&lt;tr&gt;</span>
-            <span class="code-tag">&lt;td&gt;</span>sayHi response<span class="code-tag">&lt;/td&gt;</span>
-            <span class="code-tag">&lt;td&gt;</span><span class="code-tag">&lt;span id='sayHiResponse'&gt;</span>- not yet invoked -<span class="code-tag">&lt;/span&gt;</span><span class="code-tag">&lt;/td&gt;</span>
-          <span class="code-tag">&lt;/tr&gt;</span>
-        <span class="code-tag">&lt;/table&gt;</span>
-<span class="code-tag">&lt;/div&gt;</span>
-<span class="code-tag">&lt;/form&gt;</span>
-<span class="code-tag">&lt;/body&gt;</span>
-<span class="code-tag">&lt;/html&gt;</span>
+&lt;/h1&gt;
+&lt;form&gt;
+&lt;div&gt;
+        &lt;table&gt;
+          &lt;tr&gt;
+            &lt;td&gt;Run sayHi&lt;/td&gt;
+            &lt;td&gt;&lt;input type="button"
+                       value="invoke" name="sayHi"
+                       onClick="invokeSayHi()"&gt;
+          &lt;/tr&gt;
+          &lt;tr&gt;
+            &lt;td&gt;sayHi response&lt;/td&gt;
+            &lt;td&gt;&lt;span id='sayHiResponse'&gt;- not yet invoked -&lt;/span&gt;&lt;/td&gt;
+          &lt;/tr&gt;
+        &lt;/table&gt;
+&lt;/div&gt;
+&lt;/form&gt;
+&lt;/body&gt;
+&lt;/html&gt;
 
 
 
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/javascript-clients.html
==============================================================================
--- websites/production/cxf/content/docs/javascript-clients.html (original)
+++ websites/production/cxf/content/docs/javascript-clients.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 - JavaScript Clients">
+
+
     <title>
 Apache CXF -- JavaScript Clients
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- JavaScript Clients
     <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 -- JavaScript Clients
 
 
 <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/javascript.html
==============================================================================
--- websites/production/cxf/content/docs/javascript.html (original)
+++ websites/production/cxf/content/docs/javascript.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <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 - JavaScript">
+
+  <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 type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- JavaScript
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- 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 +101,7 @@ Apache CXF -- 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>
@@ -151,16 +158,15 @@ Apache CXF -- JavaScript
 
 <p><a shape="rect" href="#JavaScript-ex1">Example 1</a> shows a metadata description for a JavaScript service implementation.</p>
 
-<p><a shape="rect" name="JavaScript-ex1"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 1:JavaScript Metadata</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">var</span> WebServiceProvider1 = {
+<p><a shape="rect" name="JavaScript-ex1"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 1:JavaScript Metadata</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+var WebServiceProvider1 = {
     'wsdlLocation': 'file:./wsdl/hello_world.wsdl',
     'serviceName': 'SOAPService1',
     'portName': 'SoapPort1',
-    'targetNamespace': 'http:<span class="code-comment">//apache.org/hello_world_soap_http',
-</span>};
-</pre>
+    'targetNamespace': 'http://apache.org/hello_world_soap_http',
+};
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="JavaScript-ImplementingtheServiceLogic"></a>Implementing the Service Logic</h3>
@@ -169,21 +175,20 @@ Apache CXF -- JavaScript
 
 <p><a shape="rect" href="#JavaScript-ex2">Example 2</a> shows an <tt>invoke</tt> property for a simple JavaScript service implementation.</p>
 
-<p><a shape="rect" name="JavaScript-ex2"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 2:JavaScript Service Implementation</b></div><div class="codeContent panelContent">
-<pre class="code-java">
+<p><a shape="rect" name="JavaScript-ex2"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 2:JavaScript Service Implementation</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 WebServiceProvider.invoke = function(document) {
-    <span class="code-keyword">var</span> ns4 = <span class="code-quote">"http:<span class="code-comment">//apache.org/hello_world_soap_http/types"</span>;
-</span>    <span class="code-keyword">var</span> list = document.getElementsByTagNameNS(ns4, <span class="code-quote">"requestType"</span>);
-    <span class="code-keyword">var</span> name = list.item(0).getFirstChild().getNodeValue();
-    <span class="code-keyword">var</span> newDoc = document.getImplementation().createDocument(ns4, <span class="code-quote">"ns4:greetMeResponse"</span>, <span class="code-keyword">null</span>);
-    <span class="code-keyword">var</span> el = newDoc.createElementNS(ns4, <span class="code-quote">"ns4:responseType"</span>);
-    <span class="code-keyword">var</span> txt = newDoc.createTextNode(<span class="code-quote">"Hi "</span> + name);
-    el.insertBefore(txt, <span class="code-keyword">null</span>);
-    newDoc.getDocumentElement().insertBefore(el, <span class="code-keyword">null</span>);
-    <span class="code-keyword">return</span> newDoc;
+    var ns4 = "http://apache.org/hello_world_soap_http/types";
+    var list = document.getElementsByTagNameNS(ns4, "requestType");
+    var name = list.item(0).getFirstChild().getNodeValue();
+    var newDoc = document.getImplementation().createDocument(ns4, "ns4:greetMeResponse", null);
+    var el = newDoc.createElementNS(ns4, "ns4:responseType");
+    var txt = newDoc.createTextNode("Hi " + name);
+    el.insertBefore(txt, null);
+    newDoc.getDocumentElement().insertBefore(el, null);
+    return newDoc;
 }
-</pre>
+]]></script>
 </div></div>
 <h2><a shape="rect" name="JavaScript-ImplementingaServiceinECMAScriptforXML%28E4X%29"></a>Implementing a Service in ECMAScript for XML(E4X)</h2>
 
@@ -193,26 +198,25 @@ WebServiceProvider.invoke = function(doc
 
 <p><a shape="rect" href="#JavaScript-ex3">Example 3</a> shows an <tt>invoke</tt> property for a simple E4X service implementation.</p>
 
-<p><a shape="rect" name="JavaScript-ex3"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 3:E4X Service Implementation</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">var</span> SOAP_ENV = <span class="code-keyword">new</span> Namespace('SOAP-ENV',
-                             'http:<span class="code-comment">//schemas.xmlsoap.org/soap/envelope/');
-</span><span class="code-keyword">var</span> xs = <span class="code-keyword">new</span> Namespace('xs', 'http:<span class="code-comment">//www.w3.org/2001/XMLSchema');
-</span><span class="code-keyword">var</span> xsi = <span class="code-keyword">new</span> Namespace('xsi', 'http:<span class="code-comment">//www.w3.org/2001/XMLSchema-instance');
-</span><span class="code-keyword">var</span> ns = <span class="code-keyword">new</span> Namespace('ns', 'http:<span class="code-comment">//apache.org/hello_world_soap_http/types');
-</span>
+<p><a shape="rect" name="JavaScript-ex3"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example 3:E4X Service Implementation</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+var SOAP_ENV = new Namespace('SOAP-ENV',
+                             'http://schemas.xmlsoap.org/soap/envelope/');
+var xs = new Namespace('xs', 'http://www.w3.org/2001/XMLSchema');
+var xsi = new Namespace('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
+var ns = new Namespace('ns', 'http://apache.org/hello_world_soap_http/types');
+
 WebServiceProvider1.invoke = function(req) {
-    <span class="code-keyword">default</span> xml namespace = ns;
-    <span class="code-keyword">var</span> name = (req..requestType)[0];
-    <span class="code-keyword">default</span> xml namespace = SOAP_ENV;
-    <span class="code-keyword">var</span> resp = &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV={SOAP_ENV} xmlns:xs={xs} xmlns:xsi={xsi}/&gt;;
+    default xml namespace = ns;
+    var name = (req..requestType)[0];
+    default xml namespace = SOAP_ENV;
+    var resp = &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV={SOAP_ENV} xmlns:xs={xs} xmlns:xsi={xsi}/&gt;;
     resp.Body = &lt;Body/&gt;;
     resp.Body.ns::greetMeResponse = &lt;ns:greetMeResponse xmlns:ns={ns}/&gt;;
     resp.Body.ns::greetMeResponse.ns::responseType = 'Hi ' + name;
-    <span class="code-keyword">return</span> resp;
+    return resp;
 }
-</pre>
+]]></script>
 </div></div>
 <h2><a shape="rect" name="JavaScript-DeployingScriptedServices"></a>Deploying Scripted Services</h2>
 

Modified: websites/production/cxf/content/docs/jax-rs-advanced-features.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-advanced-features.html (original)
+++ websites/production/cxf/content/docs/jax-rs-advanced-features.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 - JAX-RS Advanced Features">
+
+  <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 -- JAX-RS Advanced Features
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- JAX-RS Advanced Features
     <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 -- JAX-RS Advanced Features
 
 
 <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>
@@ -136,13 +144,13 @@ support the JMS transport. </p>
 <p>If you would like your JAXRS endpoint be capable of serving not only HTTP but also JMS requests then you need to specify a JMS transportId, example:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;jaxrs:server serviceName=<span class="code-quote">"s:BookService"</span> transportId=<span class="code-quote">"http://cxf.apache.org/transports/jms"</span> address=<span class="code-quote">"/"</span>&gt;</span>
- <span class="code-tag">&lt;jaxrs:serviceBeans&gt;</span>
-   <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.systest.jaxrs.JMSBookStore"</span>/&gt;</span>
- <span class="code-tag">&lt;/jaxrs:serviceBeans&gt;</span>
-<span class="code-tag">&lt;/jaxrs:server&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxrs:server serviceName="s:BookService" transportId="http://cxf.apache.org/transports/jms" address="/"&gt;
+ &lt;jaxrs:serviceBeans&gt;
+   &lt;bean class="org.apache.cxf.systest.jaxrs.JMSBookStore"/&gt;
+ &lt;/jaxrs:serviceBeans&gt;
+&lt;/jaxrs:server&gt;
+]]></script>
 </div></div> 
 
 <p>Additionally, JMS queue or topic <a shape="rect" href="http://cxf.apache.org/docs/using-the-jmsconfigfeature.html">configuration</a> needs to be done, for example, please see this <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/resources/jms_server_config.xml">beans.xml</a>. Please note how a serviceName attribute is used to specify a service QName for a jaxrs endpoint (default is {<a shape="rect" class="external-link" href="http://reverse.package.name" rel="nofollow">http://reverse.package.name</a>}ServiceClassName), this service name is <br clear="none">
@@ -166,19 +174,19 @@ jaxrs:server/@address is set to "/bar" t
 <p>Starting from CXF 2.5.5 and CXF 2.6.2 it is possible to use the client proxies to invoke on JMS endpoints. All one needs to do is to provide a JMS endpoint address and then continue working with the proxy as usual. For example:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">// setup the the client
-</span><span class="code-object">String</span> endpointAddressUrlEncoded = <span class="code-quote">"jms:jndi:dynamicQueues/test.jmstransport.text"</span>
-             + <span class="code-quote">"?jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>
-             + <span class="code-quote">"&amp;replyToName=dynamicQueues/test.jmstransport.response"</span>
-             + <span class="code-quote">"&amp;jndiURL=tcp:<span class="code-comment">//localhost:"</span> + JMS_PORT
-</span>             + <span class="code-quote">"&amp;jndiConnectionFactoryName=ConnectionFactory"</span>;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+// setup the the client
+String endpointAddressUrlEncoded = "jms:jndi:dynamicQueues/test.jmstransport.text"
+             + "?jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+             + "&amp;replyToName=dynamicQueues/test.jmstransport.response"
+             + "&amp;jndiURL=tcp://localhost:" + JMS_PORT
+             + "&amp;jndiConnectionFactoryName=ConnectionFactory";
                
 JMSBookStore client = JAXRSClientFactory.create(endpointAddressUrlEncoded, JMSBookStore.class);
-Book book = client.getBook(<span class="code-quote">"123"</span>);
-assertEquals(<span class="code-quote">"Get a wrong response code."</span>, 200, WebClient.client(client).getResponse().getStatus());
-assertEquals(<span class="code-quote">"Get a wrong book id."</span>, 123, book.getId());
-</pre>
+Book book = client.getBook("123");
+assertEquals("Get a wrong response code.", 200, WebClient.client(client).getResponse().getStatus());
+assertEquals("Get a wrong book id.", 123, book.getId());
+]]></script>
 </div></div>
 
 <p>The client runtime will set up the JMS properties described in the previous section according to JAX-RS and other annotations (such as org.apache.cxf.jaxrs.ext.Oneway) available in JMSBookStore resource class.</p>
@@ -205,52 +213,52 @@ the server-side caching.</p>
 <p>For example, the only thing you need to do to interpose Ehcache-Web on top of CXF JAX-RS endpoints is to add the following declarations to the web.xml, assuming the name of the war is 'ehcache-cxf':</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;context-param&gt;</span>
-        <span class="code-tag">&lt;param-name&gt;</span>webAppRootKey<span class="code-tag">&lt;/param-name&gt;</span>
-        <span class="code-tag">&lt;param-value&gt;</span>ehcache-cxf<span class="code-tag">&lt;/param-value&gt;</span>
-    <span class="code-tag">&lt;/context-param&gt;</span>
-<span class="code-tag">&lt;filter&gt;</span>
-        <span class="code-tag">&lt;filter-name&gt;</span>SimplePageCachingFilter<span class="code-tag">&lt;/filter-name&gt;</span>
-        <span class="code-tag">&lt;filter-class&gt;</span>net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter<span class="code-tag">&lt;/filter-class&gt;</span>
-        <span class="code-tag">&lt;init-param&gt;</span>
-            <span class="code-tag">&lt;param-name&gt;</span>varyHeader<span class="code-tag">&lt;/param-name&gt;</span>
-            <span class="code-tag">&lt;param-value&gt;</span>true<span class="code-tag">&lt;/param-value&gt;</span>
-        <span class="code-tag">&lt;/init-param&gt;</span>
-    <span class="code-tag">&lt;/filter&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;context-param&gt;
+        &lt;param-name&gt;webAppRootKey&lt;/param-name&gt;
+        &lt;param-value&gt;ehcache-cxf&lt;/param-value&gt;
+    &lt;/context-param&gt;
+&lt;filter&gt;
+        &lt;filter-name&gt;SimplePageCachingFilter&lt;/filter-name&gt;
+        &lt;filter-class&gt;net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter&lt;/filter-class&gt;
+        &lt;init-param&gt;
+            &lt;param-name&gt;varyHeader&lt;/param-name&gt;
+            &lt;param-value&gt;true&lt;/param-value&gt;
+        &lt;/init-param&gt;
+    &lt;/filter&gt;
     
-    <span class="code-tag">&lt;filter-mapping&gt;</span>
-        <span class="code-tag">&lt;filter-name&gt;</span>SimplePageCachingFilter<span class="code-tag">&lt;/filter-name&gt;</span>
-        <span class="code-tag">&lt;url-pattern&gt;</span>/*<span class="code-tag">&lt;/url-pattern&gt;</span>
-    <span class="code-tag">&lt;/filter-mapping&gt;</span>
-</pre>
+    &lt;filter-mapping&gt;
+        &lt;filter-name&gt;SimplePageCachingFilter&lt;/filter-name&gt;
+        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
+    &lt;/filter-mapping&gt;
+]]></script>
 </div></div> 
 
 <p>Please see the <a shape="rect" class="external-link" href="http://ehcache.org/documentation/web_caching.html" rel="nofollow">Ehcache-Web</a> page for more information on how to configure it, here is one example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;ehcache <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-    xsi:noNamespaceSchemaLocation=<span class="code-quote">"../../main/config/ehcache.xsd"</span>
-    updateCheck=<span class="code-quote">"false"</span>
-    monitoring=<span class="code-quote">"autodetect"</span>
-    dynamicConfig=<span class="code-quote">"true"</span>&gt;
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"
+    updateCheck="false"
+    monitoring="autodetect"
+    dynamicConfig="true"&gt;
 	
 	&lt;defaultCache
-		maxElementsInMemory=<span class="code-quote">"10"</span>
-		eternal=<span class="code-quote">"false"</span>
-		timeToIdleSeconds=<span class="code-quote">"5"</span>
-		timeToLiveSeconds=<span class="code-quote">"10"</span>
-		overflowToDisk=<span class="code-quote">"true"</span> /&gt;
+		maxElementsInMemory="10"
+		eternal="false"
+		timeToIdleSeconds="5"
+		timeToLiveSeconds="10"
+		overflowToDisk="true" /&gt;
 	
-    &lt;cache name=<span class="code-quote">"SimplePageCachingFilter"</span>
-		maxElementsInMemory=<span class="code-quote">"100"</span>
-		eternal=<span class="code-quote">"false"</span>
-		overflowToDisk=<span class="code-quote">"false"</span>
-		timeToIdleSeconds=<span class="code-quote">"5"</span>
-		timeToLiveSeconds=<span class="code-quote">"10"</span>
-        memoryStoreEvictionPolicy=<span class="code-quote">"LFU"</span> /&gt;
-<span class="code-tag">&lt;/ehcache&gt;</span>
-</pre>
+    &lt;cache name="SimplePageCachingFilter"
+		maxElementsInMemory="100"
+		eternal="false"
+		overflowToDisk="false"
+		timeToIdleSeconds="5"
+		timeToLiveSeconds="10"
+        memoryStoreEvictionPolicy="LFU" /&gt;
+&lt;/ehcache&gt;
+]]></script>
 </div></div>
 
 <p>This configuration has to be saved in ehcache-web.xml file and available as a class-path resource starting from the root.</p>
@@ -271,28 +279,28 @@ Every operation can have a number of 'pa
 <p>Here is an example :</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;model xmlns=<span class="code-quote">"http://cxf.apache.org/jaxrs"</span>&gt;</span>
-  &lt;resource name=<span class="code-quote">"org.apache.cxf.systest.jaxrs.BookStoreNoAnnotations"</span> path=<span class="code-quote">"bookstore"</span>
-    produces=<span class="code-quote">"application/json"</span> consumes=<span class="code-quote">"application/json"</span>&gt;
-    <span class="code-tag">&lt;operation name=<span class="code-quote">"getBook"</span> verb=<span class="code-quote">"GET"</span> path=<span class="code-quote">"/books/{id}"</span> produces=<span class="code-quote">"application/xml"</span>&gt;</span>
-       <span class="code-tag">&lt;param name=<span class="code-quote">"id"</span> type=<span class="code-quote">"PATH"</span>/&gt;</span>
-    <span class="code-tag">&lt;/operation&gt;</span>
-    <span class="code-tag">&lt;operation name=<span class="code-quote">"getBookChapter"</span> path=<span class="code-quote">"/books/{id}/chapter"</span>&gt;</span>
-       <span class="code-tag">&lt;param name=<span class="code-quote">"id"</span> type=<span class="code-quote">"PATH"</span>/&gt;</span>
-    <span class="code-tag">&lt;/operation&gt;</span>
-    <span class="code-tag">&lt;operation name=<span class="code-quote">"updateBook"</span> verb=<span class="code-quote">"PUT"</span>&gt;</span>
-       <span class="code-tag">&lt;param name=<span class="code-quote">"book"</span> type=<span class="code-quote">"REQUEST_BODY"</span>/&gt;</span>
-    <span class="code-tag">&lt;/operation&gt;</span>
-  <span class="code-tag">&lt;/resource&gt;</span>
-  <span class="code-tag">&lt;resource name=<span class="code-quote">"org.apache.cxf.systest.jaxrs.ChapterNoAnnotations"</span>&gt;</span>
-    <span class="code-tag">&lt;operation name=<span class="code-quote">"getItself"</span> verb=<span class="code-quote">"GET"</span>/&gt;</span>
-    <span class="code-tag">&lt;operation name=<span class="code-quote">"updateChapter"</span> verb=<span class="code-quote">"PUT"</span> consumes=<span class="code-quote">"application/xml"</span>&gt;</span>
-        <span class="code-tag">&lt;param name=<span class="code-quote">"content"</span> type=<span class="code-quote">"REQUEST_BODY"</span>/&gt;</span>
-    <span class="code-tag">&lt;/operation&gt;</span>
-  <span class="code-tag">&lt;/resource&gt;</span>
-<span class="code-tag">&lt;/model&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;model xmlns="http://cxf.apache.org/jaxrs"&gt;
+  &lt;resource name="org.apache.cxf.systest.jaxrs.BookStoreNoAnnotations" path="bookstore"
+    produces="application/json" consumes="application/json"&gt;
+    &lt;operation name="getBook" verb="GET" path="/books/{id}" produces="application/xml"&gt;
+       &lt;param name="id" type="PATH"/&gt;
+    &lt;/operation&gt;
+    &lt;operation name="getBookChapter" path="/books/{id}/chapter"&gt;
+       &lt;param name="id" type="PATH"/&gt;
+    &lt;/operation&gt;
+    &lt;operation name="updateBook" verb="PUT"&gt;
+       &lt;param name="book" type="REQUEST_BODY"/&gt;
+    &lt;/operation&gt;
+  &lt;/resource&gt;
+  &lt;resource name="org.apache.cxf.systest.jaxrs.ChapterNoAnnotations"&gt;
+    &lt;operation name="getItself" verb="GET"/&gt;
+    &lt;operation name="updateChapter" verb="PUT" consumes="application/xml"&gt;
+        &lt;param name="content" type="REQUEST_BODY"/&gt;
+    &lt;/operation&gt;
+  &lt;/resource&gt;
+&lt;/model&gt;
+]]></script>
 </div></div>
 
 <p>This model describes two resources, BookStoreNoAnnotations and ChapterNoAnnotations. The BookStoreNoAnnotations resource has three resource operations, 'getBook', 'getBookChapter' and 'updateBook'. Note that the 'getBookChapter' operation element (described in the model) has no 'verb' attribute so runtime will identify it as a subresource locator.<br clear="none">
@@ -319,18 +327,18 @@ You can avoid this double instantiation 
 <p>You can also register a model programmatically, for example :</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-JAXRSServerFactoryBean sf = <span class="code-keyword">new</span> JAXRSServerFactoryBean();
-            sf.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9080/"</span>);
-</span><span class="code-object">String</span> modelRef = <span class="code-quote">"classpath:/org/apache/cxf/systest/jaxrs/resources/resources2.xml"</span>;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
+            sf.setAddress("http://localhost:9080/");
+String modelRef = "classpath:/org/apache/cxf/systest/jaxrs/resources/resources2.xml";
 sf.setModelRef(modelRef);
 
-<span class="code-comment">// or <span class="code-keyword">if</span> you have <span class="code-keyword">interface</span> classes described in the model already loaded, ex : OSGI
-</span><span class="code-comment">// sf.setModelRefWithServiceClass(modelRef, BookStoreNoAnnotationsInterface.class);
-</span>
-<span class="code-comment">// register an actual bean only <span class="code-keyword">if</span> the model describes interfaces
-</span>sf.setServiceBeans(<span class="code-keyword">new</span> BookStoreNoAnnotationsImpl());
-</pre>
+// or if you have interface classes described in the model already loaded, ex : OSGI
+// sf.setModelRefWithServiceClass(modelRef, BookStoreNoAnnotationsInterface.class);
+
+// register an actual bean only if the model describes interfaces
+sf.setServiceBeans(new BookStoreNoAnnotationsImpl());
+]]></script>
 </div></div>
 
 <p>Please also see <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceTest.java">this system test</a> for the example of how model beans like UserResource can be created and registered programmatically.</p>
@@ -338,13 +346,13 @@ sf.setModelRef(modelRef);
 <p>Similarly, you can register a user model on the client side, either from jaxrs:client or programmatically, example :</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-JAXRSClientFactoryBean cf = <span class="code-keyword">new</span> JAXRSClientFactoryBean();
-cf.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9080/"</span>);
-</span><span class="code-object">String</span> modelRef = <span class="code-quote">"classpath:/org/apache/cxf/systest/jaxrs/resources/resources2.xml"</span>;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+JAXRSClientFactoryBean cf = new JAXRSClientFactoryBean();
+cf.setAddress("http://localhost:9080/");
+String modelRef = "classpath:/org/apache/cxf/systest/jaxrs/resources/resources2.xml";
 sf.setModelRef(modelRef);
 BookStoreNoAnnotations proxy = cf.create(BookStoreNoAnnotations.class);
-</pre>
+]]></script>
 </div></div>
 
 <p>At the moment it is only possible to register a user model with CXFNonSpringJAXRSServlet using the latest 2.2.3-SNAPSHOT like the way it is done in this <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_non_spring/WEB-INF/web.xml">web.xml</a>. See CXFServlet3 and CXFServlet4 servlet declarations. Note that CXFServlet4 registers a model containing interfaces so it also registers a BookStoreNoAnnotationsImpl service class.</p>
@@ -352,27 +360,27 @@ BookStoreNoAnnotations proxy = cf.create
 <p>The workaround is to create a custom servlet :</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class JAXRSUserModelServlet <span class="code-keyword">extends</span> CXFNonSpringJaxrsServlet  {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class JAXRSUserModelServlet extends CXFNonSpringJaxrsServlet  {
 
 @Override
-<span class="code-keyword">public</span> void loadBus(ServletConfig servletConfig) <span class="code-keyword">throws</span> ServletException {
+public void loadBus(ServletConfig servletConfig) throws ServletException {
 
-<span class="code-keyword">super</span>.loadBus(servletConfig);
+super.loadBus(servletConfig);
 
-JAXRSServerFactoryBean sf = <span class="code-keyword">new</span> JAXRSServerFactoryBean();
-<span class="code-object">String</span> address = servletConfig.getInitParameter(SERVICE_ADDRESS_PARAM); <span class="code-comment">//jaxrs.address
-</span><span class="code-keyword">if</span> (address == <span class="code-keyword">null</span>) {
-address = <span class="code-quote">"/"</span>;
+JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
+String address = servletConfig.getInitParameter(SERVICE_ADDRESS_PARAM); //jaxrs.address
+if (address == null) {
+address = "/";
 }
 sf.setAddress(address);
 
-<span class="code-comment">// modelRef needs to start from 'classpath:', ex 'classpath:/WEB-INF/models/model1.xml
-</span><span class="code-object">String</span> modelRef = servletConfig.getInitParameter(<span class="code-quote">"user.model"</span>);
+// modelRef needs to start from 'classpath:', ex 'classpath:/WEB-INF/models/model1.xml
+String modelRef = servletConfig.getInitParameter("user.model");
 sf.setModelRef(modelRef);
 sf.create();
 }
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->



Mime
View raw message