Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: GroovyWS
-
Labels:None
-
Environment:Windows 7, Groovyws-0.5.2, Eclipse 3.5.2
-
Number of attachments :3
Description
I keep getting NullPointerException trying to invoke SOAP remote service method. I am setting all correct parameters and I've been able successfully submit the SOAP envelope request via soapUI. I've struggled this for a couple of days and can't figure out what is missing. Should be pretty straightforward. Guys, please help. I have a tight deadline for this project and already behind.
Here is the output I am getting (see below). I will attach the script and the trust store file to this issue.
Initializing proxy...
Jul 9, 2010 11:52:44 AM org.apache.cxf.jaxb.JAXBUtils logGeneratedClassNames
INFO: Created classes: xsd.dreamrtmresp.ObjectFactory, xsd.dreamrtmresp.TForRTMEmailToEmailAddresses, xsd.dreamrtmresp.TGetStatusResponse, xsd.dreamrtmresp.TGetStatusResultData, xsd.dreamrtmresp.TRecipientDetail, xsd.dreamrtmresp.TTransactionResult, xsd.dreamrtmresp.TTransactionStatus, xsd.dreamrtmresp.TTriggerResponse, xsd.dreamrtmresp.TTriggerResultData, xsd.dreamrtmwebletreq.Headers, xsd.dreamrtmwebletreq.ObjectFactory, xsd.dreamrtmwebletreq.TAttribute, xsd.dreamrtmwebletreq.TDREAMTrackedURLs, xsd.dreamrtmwebletreq.TDefer, xsd.dreamrtmwebletreq.TEmailProfile, xsd.dreamrtmwebletreq.TEventVariables, xsd.dreamrtmwebletreq.THash, xsd.dreamrtmwebletreq.TIDs, xsd.dreamrtmwebletreq.TProfileAttributes, xsd.dreamrtmwebletreq.TRTMGetStatus, xsd.dreamrtmwebletreq.TRTMGetStatusRequest, xsd.dreamrtmwebletreq.TRTMTriggerRequest, xsd.dreamrtmwebletreq.TRTMTriggerTemplate, xsd.dreamrtmwebletreq.TToEmailAddress, xsd.dreamrtmwebletreq.TTransaction, xsd.dreamrtmwebletreq.TTriggerEmailTarget, xsd.dreamrtmwebletreq.TTriggerEventEmailAddress, xsd.dreamrtmwebletreq.TType, xsd.dreamrtmwebletreq.TURL, xsd.dreamrtmwebletreq.TVariable
Proxy initialized at groovyx.net.ws.WSClient@7d4af469
Generated timestamp = 2010-07-09T18:52:46.021
Generated password = 6589bdb7971e952093d866d3e6ba9825eae2e8166ae26b7dca09eed9ad570a0d
Exception thrown
groovyx.net.ws.exceptions.InvokeException: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:149)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at EpsilonWSClient.run(EpsilonWSClient.groovy :56)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:264)
at groovy.lang.GroovyShell.run(GroovyShell.java:513)
at groovy.lang.GroovyShell.run(GroovyShell.java:170)
at groovy.lang.GroovyShell$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
at groovy.ui.Console$_runScriptImpl_closure16.doCall(Console.groovy:878)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
at groovy.ui.Console$_runScriptImpl_closure16.doCall(Console.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
at groovy.lang.Closure.call(Closure.java:276)
at groovy.lang.Closure.call(Closure.java:271)
at groovy.lang.Closure.run(Closure.java:354)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:109)
... 38 more
-
Hide
- groovy-libs.zip
- 10/Jul/10 11:01 AM
- 8.22 MB
- Dmitri
-
- commons-lang-2.4.jar 256 kB
- commons-logging-1.1.1.jar 59 kB
- cxf-2.2.8.jar 4.59 MB
- groovyws-0.5.2.jar 60 kB
- jaxb-impl-2.1.12.jar 847 kB
- jaxb-xjc-2.1.12.jar 2.95 MB
- neethi-2.0.4.jar 32 kB
- wsdl4j-1.6.2.jar 145 kB
- xml-resolver-1.2.jar 82 kB
- XmlSchema-1.4.5.jar 143 kB
-
Hide
- rtmsoap-client-1.0.jar
- 10/Jul/10 11:04 AM
- 1.23 MB
- Dmitri
-
- META-INF/MANIFEST.MF 0.2 kB
- com/epsilon/rtmsoap/client/Main.class 20 kB
- com/epsilon/.../client/RTMSoapClient.class 6 kB
- com/epsilon/rtmsoap/remote/Headers.class 2 kB
- com/epsilon/.../remote/ObjectFactory.class 8 kB
- com/epsilon/.../remote/package-info.class 0.2 kB
- com/epsilon/.../RTMRequestPortType.class 1 kB
- com/epsilon/.../remote/RTMService.class 2 kB
- com/epsilon/.../remote/TAttribute.class 1 kB
- com/epsilon/rtmsoap/remote/TDefer.class 1 kB
- com/epsilon/.../TDREAMTrackedURLs.class 1.0 kB
- com/epsilon/.../remote/TEmailProfile.class 1 kB
- com/epsilon/.../remote/TEventVariables.class 1 kB
- com/.../TForRTMEmailToEmailAddresses.class 1 kB
- com/epsilon/.../TGetStatusResponse.class 2 kB
- com/epsilon/.../TGetStatusResultData.class 1 kB
- com/epsilon/rtmsoap/remote/THash.class 2 kB
- com/epsilon/rtmsoap/remote/TIDs.class 0.9 kB
- com/epsilon/.../TProfileAttributes.class 1 kB
- com/epsilon/.../TRecipientDetail.class 2 kB
- com/epsilon/.../remote/TRTMGetStatus.class 1.0 kB
- com/epsilon/.../TRTMGetStatusRequest.class 1 kB
- com/epsilon/.../TRTMTriggerRequest.class 1 kB
- com/epsilon/.../TRTMTriggerTemplate.class 1 kB
- com/epsilon/.../remote/TToEmailAddress.class 1 kB
- com/epsilon/.../remote/TTransaction.class 1 kB
- com/epsilon/.../TTransactionResult.class 2 kB
- com/epsilon/.../TTransactionStatus.class 2 kB
- com/epsilon/.../TTriggerEmailTarget.class 2 kB
- com/.../TTriggerEventEmailAddress.class 4 kB
-
Hide
- TestWSClientJar.zip
- 09/Jul/10 2:11 PM
- 1.17 MB
- Dmitri
-
- TestWSClientJar/.classpath 0.4 kB
- TestWSClientJar/.project 0.5 kB
- TestWSClientJar/.../org.codehaus.groovy.eclipse.core.prefs 0.1 kB
- TestWSClientJar/.../org.eclipse.jdt.core.prefs 0.6 kB
- TestWSClientJar/.../org.eclipse.ltk.core.refactoring.prefs 0.1 kB
- TestWSClientJar/.../EpsilonWSClient.class 10 kB
- TestWSClientJar/bin/JavaSecurity.class 2 kB
- TestWSClientJar/bin/jssecacerts 80 kB
- TestWSClientJar/.../MSLongLatWSCLient.class 8 kB
- TestWSClientJar/.../TemperatureWSClient.class 8 kB
- TestWSClientJar/bin/TestScript.class 6 kB
- TestWSClientJar/.../YahooGeocode$_run_closure1.class 3 kB
- TestWSClientJar/bin/YahooGeocode.class 9 kB
- TestWSClientJar/soapui-project.xml 21 kB
- TestWSClientJar/.../EpsilonWSClient.groovy 2 kB
- TestWSClientJar/src/JavaSecurity.java 1 kB
- TestWSClientJar/src/jssecacerts 80 kB
- TestWSClientJar/.../MSLongLatWSCLient.groovy 0.5 kB
- TestWSClientJar/.../TemperatureWSClient.groovy 0.4 kB
- TestWSClientJar/src/TestScript.groovy 0.0 kB
- TestWSClientJar/src/YahooGeocode.groovy 1 kB
- TestWSClientJar/xercesImpl-2.8.1.jar 1.16 MB
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Guillaume Laforge [ guillaume ] | Guillaume ALLEON [ galleon ] |
Hi Dmitri
I don't get to the same point running groovy -d EpsilonWSClient.groovy
I have slightly modified the script to use @Grab ...
import groovy.xml.Namespace;
import groovyx.net.ws.WSClient;
import org.apache.cxf.configuration.jsse.TLSClientParameters;
import org.apache.cxf.transport.http.HTTPConduit;
@Grab(group='org.codehaus.groovy.modules', module='groovyws', version='0.5.2')
Map<String, String> mapClient = [
...
Am I missing something ?
Is the service up and running ?
Guillaume
Yep, the service is running and I am able to connect to it through a different client. I've tried to do it through @Grab like you've shown, but I get the following exception:
Caught: java.lang.NoClassDefFoundError: org/springframework/beans/BeansException
at EpsilonWSClient.run(EpsilonWSClient.groovy:19)
Let me know if you want me to try something else. Thank you!
Ouch !
Which groovy version are you using ?
Can you describe how you run and especially what is in your $HOME/.groovy/lib ... I need to be able to reproduce in order to help you.
| Attachment | groovy-libs.zip [ 50054 ] |
| Attachment | rtmsoap-client-1.0.jar [ 50055 ] |
Here is what I get with your env. Am I missing something ?
oggy:src alleon$ groovy -v
Groovy Version: 1.7.3 JVM: 1.6.0_20
oggy:src alleon$ ls -lrt ~/.groovy/lib/
total 21264
rw-rr- 1 alleon staff 61220 May 21 19:09 groovyws-0.5.2.jar
rw-rr- 1 alleon staff 4817927 May 21 20:01 cxf-2.2.8.jar
rw-rr- 1 alleon staff 146388 May 21 20:01 XmlSchema-1.4.5.jar
rw-rr- 1 alleon staff 84091 May 21 20:02 xml-resolver-1.2.jar
rw-rr- 1 alleon staff 32900 May 21 20:03 neethi-2.0.4.jar
rw-rr- 1 alleon staff 148429 May 21 20:03 wsdl4j-1.6.2.jar
rw-rr- 1 alleon staff 3098535 May 21 20:43 jaxb-xjc-2.1.12.jar
rw-rr- 1 alleon staff 867801 May 21 20:43 jaxb-impl-2.1.12.jar
rw-rr- 1 alleon staff 60686 May 21 20:43 commons-logging-1.1.1.jar
rw-rr- 1 alleon staff 261809 May 21 20:43 commons-lang-2.4.jar
rw-rr- 1 alleon staff 1289366 Jul 10 22:53 rtmsoap-client-1.0.jar
oggy:src alleon$ groovy -d EpsilonWSClient.groovy
Initializing proxy...
Caught: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:69)
at org.apache.cxf.endpoint.ClientImpl.<init>(ClientImpl.java:152)
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:175)
at groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:229)
at groovyx.net.ws.WSClient.initialize(WSClient.java:108)
at groovyx.net.ws.IWSClient$initialize.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at EpsilonWSClient.run(EpsilonWSClient.groovy:19)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:264)
at groovy.lang.GroovyShell.run(GroovyShell.java:227)
at groovy.lang.GroovyShell.run(GroovyShell.java:157)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:496)
at groovy.ui.GroovyMain.run(GroovyMain.java:311)
at groovy.ui.GroovyMain.process(GroovyMain.java:297)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:112)
at groovy.ui.GroovyMain.main(GroovyMain.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:228)
at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:161)
at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:67)
... 25 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:593)
at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:927)
at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:774)
at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:219)
... 27 more
Guillaume, any update on this? Anything else I can help with. I'd really like to give groovy a try in our enterprise, but issues like these prevent me from moving forward. Please let me know if you need anything else from me to successfully troubleshoot this issue. Thank you.
I am having same problems as Dmitri ![]()
My WSClient gets initialized fine but when calling a method I always get such a NullPointerException.
When I access this method e.g. over FireFox with installed SOA Client Plugin everything is fine.
What to do now?
I love amazing Groovy but this seems difficult...
Exception in thread "main" groovyx.net.ws.exceptions.InvokeException: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:149)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
at com.digithurst.client.MammaSoftClient.initialize(MammaSoftClient.groovy:55)
at com.digithurst.client.MammaSoftClient.this$2$initialize(MammaSoftClient.groovy)
at com.digithurst.client.MammaSoftClient$this$2$initialize.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:147)
at com.digithurst.client.MammaSoftClient.<init>(MammaSoftClient.groovy:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:107)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:192)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:196)
at com.digithurst.Main.main(Main.groovy:95)
Caused by: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:109)
... 21 more
Java Result: 1
I am getting the exact same result stack trace. I have tried both using the @Grab annotation and the libs attached here. I also asked a consultant working for us to set it up. He got the same result. I have no more time to invastigate this. But it seems to me as it is related to a bug in Apache CFX 2.2.10 as Caused by: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:109) is due to operationToBeInvoked.getWrappedOperation() returning null from Apache CFX. It seems like Apache CFX has problems handling WSDL doc-lit style. The W3Schools example worked, so it might be related to how CFX is handling the input parameters. The ones in W3Schools celsius/farenheit example is very simple. We have more complex input arguments.
Codehaus: You are doing a lot of great stuff, but you have a long way to go on documentation. Javadocs does hardly contain any useful content.
Same problem here, although I get a slightly different exception:
...
Caused by: java.lang.NullPointerException
at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:89)
... 44 more
Env: Groovy Version: 1.7.4 JVM: 1.6.0_21 on linux
bye
Bruno
and of course:
@Grab(group='org.codehaus.groovy.modules', module='groovyws', version='0.5.2')
Is this project dead? I was going to give a try using GroovyWS but after wrestling with dependency issues for an hour then getting this error over what looks to be a valid request I'm giving up.
I think I'm going to just try using CXF directly, but it would have been great if this worked as expected. ![]()
Same problem here. First two days of dependency hell, then I finally got the FarenheitCelsius converter example working. But I get NullPointerException when I try to call a web service published by one of our internal systems.
java.lang.NullPointerException at groovyx.net.ws.AbstractCXFWSClient.invokeMethod(AbstractCXFWSClient.java:149)
Internet is full of posts from desperate people trying to get GroovyWS and/or CXF to work, but I found very few (none actually) success stories. I was surprised to find how bad and complicated the SOAP support is with Groovy.
Same problem here too.
Caught: groovyx.net.ws.exceptions.InvokeException: java.lang.NullPointerException
Totally agree with other comments - Groovy is awesome, but come on - there is so much potential here, unfortunate we can't get it to work.
Having a rapid, dynamic way of invoking complex SOAP services with Groovy could be very slick and efficient - especially compared to the heavy-handed, traditional JAXB/CXF
I finally got my SOAP call through, after lots of frustration.
Error handling must be improved IMO.
I started out to simple, but when I finally got the request graph right it works ok. Here's my code that list sites for a customer. Maybe it can help some of you:
def proxy = new groovyx.net.ws.WSClient("http://the/url/to/the/service?WSDL", this.class.classLoader)
proxy.initialize()
proxy.setPreferredSoapVersion(SoapVersion.SOAP_1_1)
def query = proxy.create("com.foo.bar.userschema.SiteQuery")
query.queryType = "Customer"
query.queryValue = "42"
def array = proxy.create("com.foo.webservices.siteinformation.ArrayOfSiteQuery")
array.siteQueries.add(query)
def requests = proxy.create("com.foo.webservices.siteinformation.Requests")
requests.requests = array
def execute = proxy.create("com.foo.webservices.siteinformation.Execute")
execute.request = requests
def q = new QName("http://www.foo.com/webservices/SiteInformation", "Execute")
def result = proxy.client.invokeWrapped(q, execute)
The request is kind of complex and the response is also a complicated schema but it works!
But it was a hard time getting there because error handling is lacking. So please track down this NPE and try to throw a better exception.
I'm not allowed to link issues, but this seems to be related to the problem described in GMOD-125. (And yes, this breaks my solution, too)
Goran, thanks for providing your solution! Worked for me as well. Although I didn't need to specify SoapVersion, and also didn't need to create a QName. All I needed to change was from
proxy.Foo(bar)
to
proxy.client.invoke("Foo", bar)
or
proxy.client.invokeWrapped("Foo", bar)
Using a QName like in your example, worked as well.
While debugging, I've also noticed the following message written (see below). Not sure why it can't find it when this method is part of the web service operation.
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: groovyx.net.ws.WSClient.MakeTriggerRequest() is applicable for argument types: (xsd.dreamrtmwebletreq.TRTMTriggerRequest) values: [xsd.dreamrtmwebletreq.TRTMTriggerRequest@3a332b9a]