Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-442

Please document the new "faultStackTraceEnabled" cxf flag

XMLWordPrintable

    • Icon: Documentation Documentation
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Hi Fintan,

      Willem created a new flag to fix MR-438 to allow the CXF Fault message return the cause exception message. In order to use this feature, the following configuration needs to be implemented:

      <cxf:cxfEndpoint id="router" address="http://localhost:9002/TestMessage" 
      	     wsdlURL="ship.wsdl"
               endpointName="s:TestSoapEndpoint"
               serviceName="s:TestService"
          	 xmlns:s="http://test" >
          	 <cxf:properties>
                      <!-- enable to show the cause exception message and the default value is false -->
      		<entry key="exceptionMessageCauseEnabled" value="true" />
      		<!-- enable to send the stack trace back to client,  the default value is false-->
                      <entry key="faultStackTraceEnabled" value="true" />
      		<entry key="dataFormat" value="PAYLOAD" />
      	</cxf:properties>
      </cxf:cxfEndpoint>
      

      There is a more detailed write-up on the wiki. Is it possible to get this added into our docs somewhere perhaps in:

      • Fuse SF guide
      • Apache Camel FAQ entry: How to enable sending stacktraces back to clients with camel-cxf
      • Apache CXF

      Thank you,
      Susan

              emjohnson_jira Eric Johnson (Inactive)
              rhn-support-sjavurek Susan Javurek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: