I have tried using generic web service client node, but getting below error:
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage Unexpected error forwarding to login page
org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine
Able to perform connection, but getting below error while taking output from generic web service client node, which says invalid KNIME settings.
ERROR : KNIME-Worker-17-Generic Web Service Client 0:961 : : Node : Generic Web Service Client : 0:961 : Execute failed: Different child count in parameter tree node “output”: 0 vs . 1
org.knime.core.node.InvalidSettingsException: Different child count in parameter tree node “output”: 0 vs . 1
Can somebody please how to take the output from this node in XML format with SOAP header. Retrieve SOAP header as XML is checked.
Thanks in advance!
So, what I am trying to say is, that using wsdl login is working fine, but for response I am receiving the above error. Basically the required/expected response (token in XML) format and the one WSDL is generating in KNIME is not matching. So the server will return a token, but in my wsdl file, I dont have any parameter to hold it, and shows below error:
Failed on row “Row0”: Unmarshalling Error: unexpected element (uri:"$$$$$", local:“Cookie”). Expected elements are <{}Cookie>
But if I include it in form of soap header for response, it is showing me below error, same as above but instead of ‘0’ its now 2.
KNIME-Worker-53-Generic Web Service Client 3:980 : : Node : Generic Web Service Client : 3:980 : Execute failed: Different child count in parameter tree node “output”: 2 vs . 1
org.knime.core.node.InvalidSettingsException: Different child count in parameter tree node “output”: 2 vs . 1
Also, I am not sure about the input to Generic Web Service client node. It should be an xml/json, but it shud be empty or shud have some data in it.
Just to add, I tried the wsdl in SOAP UI and I am getting the response in SOAP, but I am not getting how can I handle response in knime.
Please let me know, for answers to any of those queries.
Thanks!
So the above functionality actually worked
I successfully got the response for the token.
Note: cannot use Rest nodes, have to use only SOAP call.
But now I am stuck at further step, and getting below error, when I am trying to pass nested input parameters:
WsdlParseException: unsupported collection element type: javax.xml.bind.JAXBElement
Was wondering, if this is actually restricting the input levels, as we have to basically define the input search parameters till 4th level.
How many child levels KNIME supports for Generic Web Service Client Node?
Kindly help.
Thanks!
Hi @Kavita_Selkery , I am not sure about the specific error you are getting when parsing the wsdl file, but alternatively, you may not need the wsdl file.
If you managed to get the token, it’s good. You can then do a POST request for the SOAP call. Unfortunately, I have to see the SOAP code and documentation to be able to guide you further, for example, how is the token passed during the SOAP call? Is it via the body or via the headers?
But generally speaking, you can submit the SOAP xml code in the POST body, and with some required headers if there are any to send.