groovyws

Debugging GroovyWS. Get the actual generated XML

I'm using GroovyWS in a Grails app to connect to an external SOAP server. I'd like to see the actual XML that is generated by GroovyWS since I'm getting errors without any useful information. I know I can use wireshark or something similar, but there really should be an easier way. Printing the object just prints the Java Object@... s...

How to get generate WSDL using GroovyWS

I am implementing SOAP web services for a commercial application, and I am using GroovyWS to speed up the development. But, when I deploy it on Tomcat, I am not using Grails, as the software has it's own J2EE framework, so how I do I get it to react to wsdl requests? Do I need to write a groovy-based servlet? Ideally I would like the...

GroovyWS and complex requests

Hello Comrades, I've faced with a problem of sending complex requests with GroovyWS. This is sample request generated by soapUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dex="http://www.temp.com/com/dex" > <soapenv:Header/> <soapenv:Body> <dex:executeRequest> <!--Optional:--...

With CXF (actually GroovyWS), how do I generate a SOAP header with one child node having a text node?

I'm creating a Groovy client for a .net SOAP service that requires a soap header that looks like this: <soap:Header> <HeaderInfo xmlns="http://foo.bar.com/ns"&gt; <token>abc-unique-token</token> </HeaderInfo> </soap:Header> I found the faq for adding headers to CXF messages and it gets me almost there, but not quite. ...

WSClient Plugin Soap 1.2 Error

Hello, 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 refe...