当前位置: 代码迷 >> J2EE >> cxf调用失误
  详细解决方案

cxf调用失误

热度:43   发布时间:2016-04-22 01:13:51.0
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看看
------解决方案--------------------
楼主问题解决了没有?我也遇到这问题了
------解决方案--------------------
我也遇到了, 怎么解决的?
  相关解决方案