我正在使用Apache CXF进行Web服务的客户端应用程序。我打算为此使用 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]
.........
------------------------------------
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贡献者