Generic Web Service not working

Dear all,

I try to use the Generic Web Service extension to connect to the Chemspider soap service as described here:

http://www.chemspider.com/blog/how-to-use-chemspider-webservices-from-knime.html

This is the wsdl location which I have used as described in the manual:

file:/D:/projects/knime/chemspider/ChemSpiderSearchWSDL_no_soapencArray.WSDL

The analysis of my wsdl  location works fine.

But when I execute this node, I get this message at the knime console:

WARN  Generic Web Service Client 0:1        Failed on row "Row 0": Connection timed out: connect

ERROR Generic Web Service Client 0:1        Execute failed: Webservice invocation failed on all rows, check log for details

 

knime log says:

2017-01-19 08:53:37,102 : DEBUG : KNIME-Worker-9 : WorkflowManager : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 doBeforePostExecution

2017-01-19 08:53:37,102 : DEBUG : KNIME-Worker-9 : NodeContainer : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 has new state: POSTEXECUTE

2017-01-19 08:53:37,103 : DEBUG : KNIME-Worker-9 : WorkflowManager : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 doAfterExecute - failure

2017-01-19 08:53:37,103 : DEBUG : KNIME-Worker-9 : Generic Web Service Client : Generic Web Service Client : 0:1 : reset

2017-01-19 08:53:37,103 : DEBUG : KNIME-Worker-9 : Generic Web Service Client : Generic Web Service Client : 0:1 : clean output ports.

2017-01-19 08:53:37,103 : DEBUG : KNIME-Worker-9 : WorkflowFileStoreHandlerRepository : Generic Web Service Client : 0:1 : Removing handler 0a79afa0-ddbe-446d-a572-f0bdfdf56350 (Generic Web Service Client 0:1: <no directory>) - 3 remaining

2017-01-19 08:53:37,103 : DEBUG : KNIME-Worker-9 : NodeContainer : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 has new state: IDLE

2017-01-19 08:53:37,104 : DEBUG : KNIME-Worker-9 : Generic Web Service Client : Generic Web Service Client : 0:1 : Configure succeeded. (Generic Web Service Client)

2017-01-19 08:53:37,104 : DEBUG : KNIME-Worker-9 : NodeContainer : Generic Web Service Client : 0:1 : Generic Web Service Client 0:1 has new state: CONFIGURED

2017-01-19 08:53:37,104 : DEBUG : KNIME-Worker-9 : NodeContainer : Generic Web Service Client : 0:1 : SpresiWebServiceClient 0 has new state: CONFIGURED

2017-01-19 08:53:37,104 : DEBUG : KNIME-WFM-Parent-Notifier : NodeContainer :  :  : ROOT  has new state: IDLE

2017-01-19 08:53:37,108 : DEBUG : KNIME-Node-Usage-Writer : NodeTimer$GlobalNodeStats :  :  : Successfully wrote node usage stats to file: D:\projects\Knime\.metadata\knime\nodeusage_3.0.json

 

The execution takes some time. Looks for me like a time out.

I’m using Knime SDK 3.1.2 neon 32 bit.

 

I have used another soap based web service which I have found in as sample which works fine:

wsdl location: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL

The invoked method is: CountryByName with parameter 'DZ'

 

My final goal is to connect to my own Soap based Web service, which fails exactly like the Chemspider Web service (same error logs).

Any ideas?

 

 

 

Hi Manni,

Two questions:

Are you behind a proxy or some other type of network security layer? (Does it work if you connect from outside your corporate network, if that's even possible.)

Does it help to increase the timeout? (See for instance here.)

Bernd

Hi Bernd,

sorry for the late answer. I solved the problem in the meantime. It was my fault is I have used the wrong security token.

My one SOAP Webservice is working now too with the Generic Web Service Knime node as client.

Thanks a lot for your tips.

But I have another question:

Does the Generic Web Service support any WS Security issues (like using certificates)?

Manfred