Author: buildbot
Date: Mon Jan 14 10:47:59 2013
New Revision: 846604

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/debugging-and-logging.html

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

Modified: websites/production/cxf/content/docs/debugging-and-logging.html
==============================================================================
--- websites/production/cxf/content/docs/debugging-and-logging.html (original)
+++ websites/production/cxf/content/docs/debugging-and-logging.html Mon Jan 14 
10:47:59 2013
@@ -314,38 +314,33 @@ org.apache.cxf.common.logging.Slf4jLogge
 <p><b>This feature is available since CXF 2.3.4</b></p>
 
 <h2><a shape="rect" 
name="DebuggingandLogging-Stacktraceinfaultdetails"></a>Stack trace in fault 
details</h2>
-<p>CXF support to put the stack trace information of the server into the fault 
message fault details, if you enable the option of faultStackTraceEnabled.<br 
clear="none">
-It is useful for debugging if the soap fault message is not defined in the 
WSDL operation.</p>
+<p>CXF supports the ability to put server stack trace information into the 
fault message fault details, if you enable the option of 
'faultStackTraceEnabled'. It is useful for debugging if the soap fault message 
is not defined in the WSDL operation.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
 &lt;jaxws:endpoint id=<span class="code-quote">"server"</span> address=<span 
class="code-quote">"http:<span 
class="code-comment">//localhost:9002/TestMessage"</span> 
-</span>             wsdlURL=<span class="code-quote">"ship.wsdl"</span>
-         endpointName=<span class="code-quote">"s:TestSoapEndpoint"</span>
-         serviceName=<span class="code-quote">"s:TestService"</span>
-        xmlns:s=<span class="code-quote">"http:<span 
class="code-comment">//test"</span> &gt;
-</span>          &lt;jaxws:properties&gt;
-                       
-           &lt;entry key=<span 
class="code-quote">"faultStackTraceEnabled"</span> value=<span 
class="code-quote">"<span class="code-keyword">true</span>"</span> /&gt;
-                       
-       &lt;/jaxws:properties&gt;
+</span>   wsdlURL=<span class="code-quote">"ship.wsdl"</span>
+   endpointName=<span class="code-quote">"s:TestSoapEndpoint"</span>
+   serviceName=<span class="code-quote">"s:TestService"</span>
+   xmlns:s=<span class="code-quote">"http:<span 
class="code-comment">//test"</span> &gt;
+</span>   &lt;jaxws:properties&gt;             
+      &lt;entry key=<span class="code-quote">"faultStackTraceEnabled"</span> 
value=<span class="code-quote">"<span class="code-keyword">true</span>"</span> 
/&gt;
+   &lt;/jaxws:properties&gt;
 &lt;/jaxws:endpoint&gt;
 </pre>
 </div></div>
 
 <h2><a shape="rect" 
name="DebuggingandLogging-Showingthecauseexceptionmessage"></a>Showing the 
cause exception message</h2>
-<p>CXF doesn't show the cause exception message due to security consideration 
in the fault message. But it will cause some trouble from the client side, as 
we can't see what is real cause of the exception. You can let CXF server return 
the fault message with the cause exception message to help client developer 
trace the issue by enable the option of exceptionMessageCauseEnabled like 
this</p>
+<p>CXF doesn't show the cause exception message in the fault message due to 
security consideration. However, this could potentially cause some trouble on 
the client side, as the client will not be able to see what the real cause of 
the exception is. You can let the CXF server return the fault message with the 
embedded cause exception message by enabling the option of 
'exceptionMessageCauseEnabled' like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
 &lt;jaxws:endpoint id=<span class="code-quote">"server"</span> address=<span 
class="code-quote">"http:<span 
class="code-comment">//localhost:9002/TestMessage"</span> 
-</span>             wsdlURL=<span class="code-quote">"ship.wsdl"</span>
-         endpointName=<span class="code-quote">"s:TestSoapEndpoint"</span>
-         serviceName=<span class="code-quote">"s:TestService"</span>
-        xmlns:s=<span class="code-quote">"http:<span 
class="code-comment">//test"</span> &gt;
-</span>          &lt;jaxws:properties&gt;
-                       
-           &lt;entry key=<span 
class="code-quote">"exceptionMessageCauseEnabled"</span> value=<span 
class="code-quote">"<span class="code-keyword">true</span>"</span> /&gt;
-                       
-       &lt;/jaxws:properties&gt;
+</span>   wsdlURL=<span class="code-quote">"ship.wsdl"</span>
+   endpointName=<span class="code-quote">"s:TestSoapEndpoint"</span>
+   serviceName=<span class="code-quote">"s:TestService"</span>
+   xmlns:s=<span class="code-quote">"http:<span 
class="code-comment">//test"</span> &gt;
+</span>   &lt;jaxws:properties&gt;     
+      &lt;entry key=<span 
class="code-quote">"exceptionMessageCauseEnabled"</span> value=<span 
class="code-quote">"<span class="code-keyword">true</span>"</span> /&gt;        
        
+   &lt;/jaxws:properties&gt;
 &lt;/jaxws:endpoint&gt;
 </pre>
 </div></div>
@@ -573,14 +568,14 @@ It is useful for debugging if the soap f
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
 &lt;bean id=<span class="code-quote">"atomPullServer"</span> class=<span 
class="code-quote">"org.apache.cxf.management.web.logging.atom.AtomPullServer"</span>
 init-method=<span class="code-quote">"init"</span>&gt;
-&lt;property name=<span class="code-quote">"loggers"</span> value=<span 
class="code-quote">"org.apache.cxf.systest.jaxrs.JAXRSLoggingAtomPullSpringTest$Resource:ALL"</span>/&gt;
-&lt;property name=<span class="code-quote">"bus"</span>&gt;
-&lt;ref bean=<span class="code-quote">"cxf"</span>/&gt;
-&lt;/property&gt;
-&lt;!-- <span class="code-keyword">this</span> is a jaxrs:server/@adrress or 
jaxws:endpoint/@address of the endpoint generating the log events --&gt;
-&lt;property name=<span class="code-quote">"endpointAddress"</span> 
value=<span class="code-quote">"/resource"</span>/&gt;
-&lt;!-- <span class="code-keyword">this</span> is a jaxrs:server/@address of 
the endpoint <span class="code-keyword">for</span> which <span 
class="code-keyword">this</span> atomPullServer bean is registered as a service 
bean --&gt;
-&lt;property name=<span class="code-quote">"serverAddress"</span> value=<span 
class="code-quote">"/atom"</span>/&gt;
+   &lt;property name=<span class="code-quote">"loggers"</span> value=<span 
class="code-quote">"org.apache.cxf.systest.jaxrs.JAXRSLoggingAtomPullSpringTest$Resource:ALL"</span>/&gt;
+   &lt;property name=<span class="code-quote">"bus"</span>&gt;
+      &lt;ref bean=<span class="code-quote">"cxf"</span>/&gt;
+   &lt;/property&gt;
+   &lt;!-- <span class="code-keyword">this</span> is a jaxrs:server/@adrress 
or jaxws:endpoint/@address of the endpoint generating the log events --&gt;
+   &lt;property name=<span class="code-quote">"endpointAddress"</span> 
value=<span class="code-quote">"/resource"</span>/&gt;
+   &lt;!-- <span class="code-keyword">this</span> is a jaxrs:server/@address 
of the endpoint <span class="code-keyword">for</span> which <span 
class="code-keyword">this</span> atomPullServer bean is registered as a service 
bean --&gt;
+   &lt;property name=<span class="code-quote">"serverAddress"</span> 
value=<span class="code-quote">"/atom"</span>/&gt;
 &lt;/bean&gt;
 </pre>
 </div></div>


Reply via email to