This class does not support SAAJ 1.3

泪湿孤枕 提交于 2019-12-12 03:56:24

问题


In trying to call a webservice from a portlet from Glassfish to a webservice hosted remotely on weblogic we are getting this error:

Caused by: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.3
    at   weblogic.webservice.core.soap.SOAPHeaderImpl.addHeaderElement(SOAPHeaderImpl.java:178)

I added the webservicesclient.jar from WebLogic to the portlet WAR file.

How is the best way to handle this problem?

EDIT: Adding webservicesclient.jar was the wrong thing to do. I removed the jar file and that fixed the problem. The underlying problem was also fixed with a restart.


回答1:


Answered my own question. See edit in the question:

EDIT: Adding webservicesclient.jar was the wrong thing to do. I removed the jar file and that fixed the problem. The underlying problem was also fixed with a restart.



来源:https://stackoverflow.com/questions/12534365/this-class-does-not-support-saaj-1-3

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