Questions tagged [groovyws]

GroovyWS was a library for creating and consuming WS-I compliant web services.

GroovyWS was a library for creating and consuming WS-I compliant web services. It's documentation is archived. Since it's abandonment, many users have migrated to groovy-wslite.

33 questions
15
votes
4 answers

What is the standard SOAP library to use in groovy?

I just need a SOAP client to make remote calls, but I'm a bit of a Groovy noob. According to the Groovy documentation, the standard Groovy SOAP library is deprecated. Instead, the docs point you to a newer library: GroovyWS. Unfortunately, GroovyWS…
matmer
  • 621
  • 2
  • 5
  • 14
8
votes
3 answers

GroovyWS and complex requests

I've faced with a problem of sending complex requests with GroovyWS. This is sample request generated by soapUI:
trnl
  • 514
  • 3
  • 20
6
votes
2 answers

How to make a Map with cxf in groovy?

GroovyWS is a framework which is internally using CXF. I want to make a request as follows: param1
Chris
  • 8,031
  • 10
  • 41
  • 67
3
votes
1 answer

can I use XmlSlurper directly on a w3c.dom.Node object

I am experimenting with GroovyWS in the hope of completely replacing Axis2 client code. One of the Webservice operations I call returns fragments of XML, which I need to turn into Groovy Beans. I am getting instances of…
Ben Hammond
  • 705
  • 1
  • 7
  • 20
3
votes
1 answer

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: abc-unique-token I found the…
Ted Naleid
  • 26,511
  • 10
  • 70
  • 81
3
votes
2 answers

Groovy wslite client not working for SOAP based java web service

I am using Grails 2.2.3. I am not able to call a SOAP based JAVA web service with parameters from Grails. I am using wslite. We are able to call a SOAP based web service but when we are passing the parameter, at the server end always receiving…
raviadhikari
  • 31
  • 1
  • 4
2
votes
3 answers

Is there a groovyws.jar with all his dependences?

I'm using Grails and want to use groovyws to call an web-service. But my groovyws.jar (0.5.2) have MANY dependences that I can't solve. Is there any jar with all dependences included? Note: I tried put in BuildConfig.groovy, this dependencies…
Topera
  • 12,223
  • 15
  • 67
  • 104
2
votes
0 answers

GroovyWS request nor any of its super class is known to this context

I'm trying to use GroovyWS to consume a SOAP service. The .NET code to do this looks like this: AdminService.SHCredentials creds = new AdminService.SHCredentials(); creds.Username = "Admin"; creds.Password =…
Caleb S
  • 163
  • 11
2
votes
1 answer

Updating JSON Data with Groovy's HTTP Builder using PUT

I have requirement of updating Zendesk Tickets using Groovy HTTP Builder. I use the following code @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.0-RC2' ) import java.util.Properties; import…
Shashank Cool
  • 91
  • 2
  • 11
2
votes
1 answer

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…
Reverend Gonzo
  • 39,701
  • 6
  • 59
  • 77
2
votes
0 answers

GroovyWS web service consumer client does not run with JDK 1.7

Have already searched this website and others but could not find the answer. I have a simple GroovyWS web service consumer based on the example code at http://groovy.codehaus.org/Consuming+a+web+service I am using Gradle for the build and have…
Ayub Malik
  • 2,488
  • 6
  • 27
  • 42
1
vote
1 answer

Problem with implementing a SSL Service Client with GroovyWS[Groovy/Grails]

I am new bie to GroovyWS. I like to consume SSL webservice in my Grails Application. So far i have following piece of code collected from def myServiceUrl ="https://myserverurl/services/myservicename" Map mapClient = [ …
Rehman
  • 3,908
  • 6
  • 28
  • 29
1
vote
0 answers

GroovyWS collision in the ObjectFactory class

I'm using the sample app at http://groovy.codehaus.org/GroovyWS and just plugging in my WSDL / parameters. After catching the exception and printing it out I see that the root problem is: Two declarations cause a collision in the ObjectFactory…
jckdnk111
  • 2,280
  • 5
  • 33
  • 43
1
vote
1 answer

Grails - No class def found error when calling web service

Updated to reflect new error message after changes Howdy, I am trying to call a web service from Grails, but keep running in to errors. Here's what my class looks like: import groovyx.net.ws.WSClient ... def serviceUrl =…
Jason MacLean
  • 513
  • 6
  • 15
1
vote
1 answer

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…
Steve Wall
  • 1,842
  • 5
  • 21
  • 50
1
2 3