I’ve been pulling my hair out trying to resolve this error (I’m a new user, forgive me if it’s something stupid).
I want to call a SOAP endpoint with the Generic Web Service Client. I am able to succesfully call the endpoint in Python and Postman. I can’t seem to figure out the right settings for KNIME, though. I keep getting the error:
ERROR Generic Web Service Client 0:1 Execute failed: Webservice invocation failed on all rows, check log for details
The log contains no useful information whatsoever, unfortunately (I’ve already increased the verbosity). I know from Postman that a working request looks like this:
POST /?ident=<<censored>>&secret=<<censored>> HTTP/1.1
Content-Type: application/xml
User-Agent: PostmanRuntime/7.24.1
Accept: */*
Cache-Control: no-cache
Postman-Token: 5af892ef-6753-4e84-a9d8-267caa0c810a
Host: <<censored>>
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 823
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="urn:<<censored>>"
name="<<censored>>"
targetNamespace="urn:<<censored>>"
xmlns:tns="urn:<<censored>>"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="urn:<<censored>>"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:HTTP="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<soapenv:Body>
<tns:getApiVersion />
</soapenv:Body>
</soapenv:Envelope>
This return the API version, as expected. I could do a simple POST request with KNIME, but I’d like to it properly and use the SOAP functionality (which will also prevent me from having to construct the request body by hand).
What’s going wrong? How can I fix it?
Relevant part of the log:
2020-10-15 23:58:22,175 : DEBUG : Service Thread : : MemoryAlertSystem : : : Tenured gen heap space usage below threshold (66%) after GC, currently 8% (0.32GB/3.94GB)
2020-10-15 23:58:22,810 : DEBUG : KNIME-Worker-16-Generic Web Service Client 0:1 : : BufferSettings : Generic Web Service Client : 0:1 : Using table format org.knime.core.data.container.DefaultTableStoreFormat
2020-10-15 23:58:22,810 : DEBUG : KNIME-Worker-16-Generic Web Service Client 0:1 : : Node : Generic Web Service Client : 0:1 : reset
2020-10-15 23:58:22,810 : ERROR : KNIME-Worker-16-Generic Web Service Client 0:1 : : Node : Generic Web Service Client : 0:1 : Execute failed: Webservice invocation failed on all rows, check log for details
java.lang.Exception: Webservice invocation failed on all rows, check log for details
at org.knime.ext.cxf.webservice.client.node.WSExecutor.calculate(WSExecutor.java:306)
at org.knime.ext.cxf.webservice.client.node.CxfClientNodeModel.execute(CxfClientNodeModel.java:85)
at org.knime.core.node.NodeModel.execute(NodeModel.java:747)
at org.knime.core.node.NodeModel.executeModel(NodeModel.java:576)
at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1236)
at org.knime.core.node.Node.execute(Node.java:1016)
at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:558)
at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:201)
at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:117)
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:334)
at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:210)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
2020-10-15 23:58:22,812 : DEBUG : KNIME-Worker-16-Generic Web Service Client 0:1 : : WorkflowManager : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 doBeforePostExecution