啊_sdf12
2011-05-15 18:27
浏览 464
已采纳

javax.xml.ws.soap.SOAPFaultException: This class does not support SAAJ 1.1

调用 远程的 由 CXF 写 的 WebService,Tomcat下 可以正常运行,但是部署到 Weblogic10.3.4 下就报 不支持 SAAJ1.1.

] Root cause of ServletException.
javax.xml.ws.soap.SOAPFaultException: This class does not support SAAJ 1.1
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:14
5)
at $Proxy154.getAreasByParentId(Unknown Source)
at com.ent.ws.service.impl.UserServiceImpl.getAreasByParentId(UserServic
eImpl.java:119)
at jsp_servlet._themes._uc.__regcompany._jspService(__regcompany.java:19
0)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
Truncated. see log file for complete stacktrace
Caused By: java.lang.UnsupportedOperationException: This class does not support
SAAJ 1.1
at weblogic.webservice.core.soap.SOAPPartImpl.createElementNS(SOAPPartIm
pl.java:819)
at org.apache.cxf.staxutils.W3CDOMStreamWriter.writeStartElement(W3CDOMS
treamWriter.java:98)
at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapE
nvelopeStart(SoapOutInterceptor.java:98)
at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMess
age(SoapOutInterceptor.java:79)
at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMess
age(SoapOutInterceptor.java:60)
Truncated. see log file for complete stacktrace

2011-05-15 18:23:30,817 INFO [org.jasig.cas.services.DefaultServicesManagerImpl]

  • 2011-05-15 18:23:30,818 INFO [org.jasig.cas.services.DefaultServicesManagerImpl]
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • shansun1234 2011-05-15 20:56
    已采纳

    LZ可以参看下这篇文章——《[url=http://tsaiyee.blog.163.com/]问题解决记录-Weblogic WebService[/url]》
    或许对你有帮助。
    [quote]
    在startWeblogic.sh(Windows下为startWeblogic.cmd)加上如下两行即可(Windows平台用户请修改为set)

    export JAVA_OPTIONS="$JAVA_OPTIONS -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"
    [/quote]

    点赞 1 打赏 评论

相关推荐 更多相似问题