日期:2014-05-19  浏览次数:20752 次

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看看

------解决方案--------------------
楼主问题解决了没有?我也遇到这问题了
------解决方案--------------------
我也遇到了, 怎么解决的?