Hi,
I want to implement a Webservice Client at one customer but I'm not able to use the @Grab command. At other customers it works but not for the special on.
My sample code is
@Grab('com.github.groovy-wslite:groovy-wslite:1.1.2')
import wslite.soap.*
def client = new SOAPClient('http://www.thomas-bayer.com/axis2/services/BLZService?wsdl')
def response = client.send(SOAPAction:'http://www.thomas-bayer.com/axis2/services/BLZService') {
body {
getBank(xmlns:'http://thomas-bayer.com/blz/') {
mkp.yieldUnescaped "<blz>66050101</blz>"
}
}
}
// result will be "Karlsruhe, Baden"
return response.getBankResponse.details.ortThe error is
The script could not be compiled: <pre>org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: Error grabbing grapes -- /home/jira/.groovy/grapes/resolved-caller-all-caller-working33.xml (No such file or directory)
I found some documentation but I can manage it to work.
I also tried a custom plugin with resolved dependency in POM but I have no knowledge how to configure the plugin modules correctly and how to fetch with @WithPlugin and @PluginComponent
Can anybody help?
Berst regards
Christof
Hi @serge calderara , it must be wrong request sent by your customer. I would check his request and compare it with your request. Can you share your postman and your customer's postmand screenshots?
hello @Martin Bayer _MoroSystems_ s_r_o__ , I have configure myself the postman request at customer site remotely so I am 100% sure it is the same.
The only difference between is the network infrastructure only
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not networking expert but maybe some network device in a chain is changing headers in outcomming http request? Can you check with them?
And did yo use postman or dofferent client at customer site?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we solve it, it was due to cookies
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @serge calderara ,
We are also facing the same issue can you please help us that how did you solve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @serge calderara ,
Please help us with the solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.