2009年4月25日星期六

Something about SOAPFault in CXF

In the implementation of SOAP/JMS for CXF, I need build the Fault Message's by myself (http://www.w3.org/TR/2008/WD-soapjms-20081121/#binding-faults). So I just investigate the usage of SOAPFault in CXF.

Firstly, I learn something in subproject cxf-rt-bindings-soap, I can use org.apcche.cxf.binding.soap.SoapFault to create SOAP Fault Message. The method createFault can create different SOAP Fault Messages for different versions.

Secondly, I know that the WS-Reliablemessaging also need build the fault message about SOAPFault. So I investigate subproject cxf-rt-ws-rm and find some useful code and test for org.apache.cxf.ws.rm.soap.SOAPFactory. I have read some codes about it and know how to build a SOAPFault message.

Are there ny other comments in CXF for SOAPFault?
Welcome!

没有评论:

发表评论