Pentaho

 View Only

 Error while trying to connect SOAP api through web services step

vaibhav singh's profile image
vaibhav singh posted 06-29-2022 23:17
Hi,

I'm trying to connect to a soap link from pentaho, to run an extract and get a response.

While the api link and everything seems to be correct, one errors keeps coming called   'Entity may not be null'.

image
I'm pushing report request and report path from the generate rows, and in web services i am pushing the URL, and loading it in the web services step to get the number of things that i can get with the url.

image


In the input (in) side of the window i am pushing the reportRequest as a parameter. I am also running it with the proper HTTP login and password.

This entire thing is working properly in the soap UI, and is giving proper output.

But running here it gives this error

2022/06/29 17:03:20 - Web services lookup.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Unexpected error
2022/06/29 17:03:20 - Web services lookup.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : java.lang.IllegalArgumentException: Entity may not be null
2022/06/29 17:03:20 - Web services lookup.0 - at org.apache.http.util.Args.notNull(Args.java:54)
2022/06/29 17:03:20 - Web services lookup.0 - at org.apache.http.util.EntityUtils.toString(EntityUtils.java:252)
2022/06/29 17:03:20 - Web services lookup.0 - at org.apache.http.util.EntityUtils.toString(EntityUtils.java:288)
2022/06/29 17:03:20 - Web services lookup.0 - at org.pentaho.di.trans.steps.webservices.WebService.requestSOAP(WebService.java:402)
2022/06/29 17:03:20 - Web services lookup.0 - at org.pentaho.di.trans.steps.webservices.WebService.processRow(WebService.java:198)
2022/06/29 17:03:20 - Web services lookup.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2022/06/29 17:03:20 - Web services lookup.0 - at java.lang.Thread.run(Thread.java:745)
2022/06/29 17:03:20 - Web services lookup.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2022/06/29 17:03:20 - SoapCall - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Errors detected!

Any help or advice or work around will be appreciated.