首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

cxf调用失误

2012-06-23 
cxf调用出错用cxf调用webservice的时候,出现以下问题,求解DefaultValidationEventHandler: [ERROR]: unexp

cxf调用出错
用cxf调用webservice的时候,出现以下问题,求解

DefaultValidationEventHandler: [ERROR]: unexpected element (uri:"http://tempuri.org/", local:"Coder2008EncodeResult"). Expected elements are <{}Coder2008EncodeResult> 
  Location: line 1
2011-3-7 17:04:59 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
警告: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"http://tempuri.org/",

[解决办法]

CSS code
是不是直接传递集合对象了,用一个JavaBean包装集合对象,然后传递JavaBean看看
[解决办法]
楼主问题解决了没有?我也遇到这问题了
[解决办法]
我也遇到了, 怎么解决的?

热点排行
Bad Request.