【问题标题】:Using jaxws causes Provider weblogic.webservice.core.soap.MessageFactoryImpl not found使用 jaxws 导致 Provider weblogic.webservice.core.soap.MessageFactoryImpl not found
【发布时间】:2012-09-18 16:21:26
【问题描述】:

我们使用 jaxws-maven-plugin 创建了一个网络服务客户端,并验证了 WAR 文件在我们的测试环境中工作。但是,在将相同的 WAR 文件移动到生产环境时,它现在会产生以下错误:

Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
Provider weblogic.webservice.core.soap.MessageFactoryImpl not found
       at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:116)

有人看到过这个问题吗?是如何解决的?

注意:我们正在测试和生产环境中部署到 Glassfish 服务器。

【问题讨论】:

    标签: web-services web-applications soap weblogic jax-ws


    【解决方案1】:

    hmm 似乎是一个简单的 cp 设置问题 - 你能在这两个环境中检查/发布类路径吗?还要检查 GF 中的 javax.xml.soap.MessageFactor 参数设置了什么

    【讨论】:

    • weblogic.webservice.core.soap.MessageFactoryImpl 在 webserviceclient.jar 版本 10.3 中找到。我会尝试将它与 wlt3thinclient 一起包含在 war 文件中。
    • 我添加了 jar 文件,现在我收到一个新错误:stackoverflow.com/questions/12534365/…
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-23
    • 1970-01-01
    相关资源
    最近更新 更多