本课不支持SAAJ 1.3 [英] This class does not support SAAJ 1.3

查看:161
本文介绍了本课不支持SAAJ 1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试从一个Portlet从Glassfish调用webservice到weblogic远程托管的web服务时,我们得到这个错误:

 导致:java.lang.UnsupportedOperationException:该类不支持SAAJ 1.3 
at weblogic.webservice.core.soap.SOAPHeaderImpl.addHeaderElement(SOAPHeaderImpl.java:178)

我将WebLogic的webservicesclient.jar添加到portlet WAR文件中。

处理这个问题的最好方法是怎样的?

编辑:添加webservicesclient.jar是错误的。我删除了jar文件,解决了这个问题。解决方案

回答了我自己的问题。请参阅编辑问题:



编辑:添加webservicesclient.jar是错误的。我删除了jar文件,解决了这个问题。底层问题也在重新启动时修复。


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.

解决方案

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.

这篇关于本课不支持SAAJ 1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆