SOAP response wrongly deserializing as null in CXF + Simple frontend + Aegis databinding

余生长醉 提交于 2019-12-01 02:34:34

Just a thought:

In a project I recently experienced that a CXF webservice worked fine when run locally in Jetty, whereas all top-level Collection's deserialized as null when run in a Weblogic container.

Apparently this was caused by a known bug in JAXB (don't have a reference handy, sorry) and the workaround was to wrap the Collection in this manner:

public class Wrapper 
{ 
    private List<Reference> references; 
    ... 
}

and have the webservice work with this object on the wire instead.

I hope this may apply to your issue as well, if not good luck anyways :-)

/Anders/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!