【问题标题】:WSClient Plugin Soap 1.2 ErrorWSClient 插件 Soap 1.2 错误
【发布时间】:2010-10-19 19:00:01
【问题描述】:


环境:Grails-1.3.4、Ubuntu 9.10、Intellij 9.0.3、JVM 1.6

我在尝试与 SOAP 1.2 服务器交互时使用 WSClient 获取以下堆栈跟踪。我能够让wsclient example application 工作。将 URL 更改为其他服务器会在初始化期间引发异常。有什么想法吗?

我确实在建议添加的文档中看到了对 SOAP 1.2 的引用

proxy.setPreferredSoapVersion(SoapVersion.SOAP_1_2)  

我做了,但没有用。

谢谢,
史蒂夫

2010-10-19 10:53:42,787 [http-8080-1] ERROR errors.GrailsExceptionResolver - 仅支持文档样式的 SOAP 1.1 http 自动选择端点;没有找到。 java.lang.UnsupportedOperationException:仅支持文档样式的 SOAP 1.1 http 自动选择端点;没有找到。 在 org.apache.cxf.endpoint.ClientImpl.findEndpoint(ClientImpl.java:212) 在 org.apache.cxf.endpoint.ClientImpl.(ClientImpl.java:151) 在 org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253) 在 org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196) 在 org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:175) 在 groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:198) 在 groovyx.net.ws.WSClient.initialize(WSClient.java:107) 在 groovyx.net.ws.IWSClient$initialize.call(Unknown Source)

【问题讨论】:

    标签: grails groovyws


    【解决方案1】:

    我建议从 groovy 下载 WSClient 的源代码,然后调试它。

    如果您使用 grails 安装程序安装了 ws-client,则很可能是此代码

    http://svn.codehaus.org/gmod/groovyws/branches/0.5.1/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-26
      • 1970-01-01
      • 2017-07-19
      • 1970-01-01
      • 1970-01-01
      • 2018-04-22
      相关资源
      最近更新 更多