I have figure out the reason. The reason is SOAP version not matched in
server/client side.
Here is the post for setting client use SOAP1.2
http://www.nabble.com/How-to-set-Soap-version-on-client-side-td14692146.html

Interesting, this only happens when Server side throws
exception(Soap12FaultOutInterceptor).
If server SOAP1.2 doesn't throw exception, Client SOAP1.1 can handle it.

--------------------------------------------------------------


yulinxp wrote:
> 
> In Eclipse, I was using SOAP1.2 for WSDL Generation Option. On Server
> side, I have the following error:
> 
> Dec 26, 2007 1:48:25 PM
> org.apache.cxf.binding.soap.interceptor.Soap12FaultOutIn
> terceptor handleMessage
> INFO: class
> org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptorapp
> lication/soap+xml
> 
> Everything works fine after I changed to use SOAP1.1. Now the question is
> why SOAP1.2 is not working for CXF?
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-handle-exception-in-CXF-tp14505864p14698413.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to