开发者

WSClient Plugin Soap 1.2 Error

Environment: Grails-1.3.4, Ubuntu 9.10, Intellij 9.0.3, JVM 1.6

I'm getting the below stack trace using WSClient while trying to interact with a SOAP 1.2 server. I was able to get the wsclient example application working. Changing the URL to the other server throws the exception during initialization. Any ideas?

I did see a reference to SOAP 1.2 in the documentation that suggested adding

proxy.setPreferredSoapVersion(SoapVersion.SOAP_1_2)  

Which I did, but to no avail.

Thanks,

Steve

2010-10-19 10:53:42,787 [http-8080-1] ERROR errors.GrailsExceptionResolver - Only document-style SOAP 1.1 http are supported for auto-selection of endpoint; none were found. java.lang.UnsupportedOperationException: Only document-style SOAP 1.1 http are supported for auto-selection of endpoint; none were found. at org.apache.cxf.endpoint.ClientImpl.findEndpoint(ClientImpl.java:212) at org.apache.cxf.endpoint.ClientImpl.(ClientImpl.java:151) at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253) at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196) at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:1开发者_运维问答75) at groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:198) at groovyx.net.ws.WSClient.initialize(WSClient.java:107) at groovyx.net.ws.IWSClient$initialize.call(Unknown Source)


I would suggest downloading the source for WSClient from groovy, and debugging it.

if you installed ws-client using grails installer it will most likely be this code

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜