我怎么知道CXF是否使用JIBX数据绑定?

时间:2012-11-23 08:17:50

标签: cxf jibx

我正在使用Apache CXF for Web Service的客户端应用程序。我打算使用JIBX数据绑定。

当我测试我的应用程序时,我得到了以下日志。我很困惑我的应用程序是否使用日志中的JIBX数据绑定,因为“绑定贡献的拦截器”列表不包含与JIBX相关的拦截器。

我对CXF和JIBX知之甚少。请让我知道。

提前致谢。

----------------------------------
Part of Logging 
........
2012. 11. 23 오후 4:49:28 org.apache.cxf.jibx.JibxDataBinding initialize
더 자세히: Initialize JiBX Databinding for [{http://server.sample.prototype.topas/}TopasPrototypeWebServiceServerService] service
........

자세히: Interceptors contributed by binding: [org.apache.cxf.interceptor.AttachmentOutInterceptor@14dd758, org.apache.cxf.interceptor.StaxOutInterceptor@174d93a, org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor@61a907, org.apache.cxf.interceptor.WrappedOutInterceptor@1a0225b, org.apache.cxf.interceptor.BareOutInterceptor@2f8b5a, org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@165c7f6, org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@12aea3e]
.........
------------------------------------

1 个答案:

答案 0 :(得分:0)

Paulius,

JiBX网站上有几个例子。

使用JiBX实现CXF SOAP服务器: http://jibx.sourceforge.net/maven-jibx-plugin/webservice.html

使用JiBX实现RESTful服务: http://jibx.sourceforge.net/maven-jibx-plugin/rest.html

祝你好运!

唐科利 JiBX撰稿人