aklokov
13 years agoNew Contributor
Use GroovyWS in SoapUI
Hi!
I have a few questions for you.
I need to work with the web-service in Groovy step.
Can you please tell how to use GroovyWS class in SoapUI Pro?
In which directory of SoapUI home should I save groovyws jar?
I tried to solve the problem in two ways.
The first method.
This command does not work (Example of http://groovy.codehaus.org/GroovyWS):
An error occurs:
The second method.
I tried to load the library using ClassPath.
It did not give me any results.
An error occurs:
Could you help me with this problem?
I have a few questions for you.
I need to work with the web-service in Groovy step.
Can you please tell how to use GroovyWS class in SoapUI Pro?
In which directory of SoapUI home should I save groovyws jar?
I tried to solve the problem in two ways.
The first method.
This command does not work (Example of http://groovy.codehaus.org/GroovyWS):
@Grab(group='org.codehaus.groovy.modules', module='groovyws', version='0.5.2')
import groovyx.net.ws.WSClient
An error occurs:
java.lang.NoClassDefFoundError: org/apache/ivy/core/settings/IvySettings
The second method.
I tried to load the library using ClassPath.
def classpathHacker = new com.eviware.soapui.support.ClasspathHacker ()
def groovyWSFile = "C:\\Users\\ASKlokov\\Desktop\\scripts\\soapui\\generator\\groovyws"
classpathHacker.addFile(groovyWSFile)
It did not give me any results.
import groovyx.net.ws.WSClient
An error occurs:
unable to resolve class groovyx.net.ws.WSClient
Could you help me with this problem?