Forum Discussion
88scythe
6 years agoNew Contributor
Hi
Thanks for the reply, appreciate the helping hand.
I'm sure you're right and it would also be a viable option to work with datasink, but I'd honestly rather stick to fixing the existing groovy script, as I plan to do more with it than just saving. (Also it worked until recently so I feel the solution must be close by.)
Would you perhaps have an idea what could be causing the NPE?
Thanks for the reply, appreciate the helping hand.
I'm sure you're right and it would also be a viable option to work with datasink, but I'd honestly rather stick to fixing the existing groovy script, as I plan to do more with it than just saving. (Also it worked until recently so I feel the solution must be close by.)
Would you perhaps have an idea what could be causing the NPE?
TSanchez_1
Staff
6 years agoll take a closer look at the script and get back to you.
- 88scythe6 years agoNew Contributor
Extra info: I just noticed that actually, both files (request and response) for the first SOAP call are getting stored.
Only, the request file contains the actual request data, while the response file is empty.
In the SOAP call itself I see a normal, valid reply.
The second SOAP call isn't getting stored (no request file, no response file), while also this request itself is going fine. / I realise that in the screenshot of this topic I had the second SOAP call disabled, but meanwhile I have enabled it again.
I though that maybe the Groovy script tried saving the request / response too soon, but even when adding delay steps of 5 seconds I'm still getting the NPE.