Dear All,
i am trying to get a response from a web Service using the node-red-contrib-soap node. I succesfully got a response from the service using the SoapUI 5.5. tool.
I set up the bellow flow
[{"id":"60927358.4d0a1c","type":"inject","z":"4d3dba4b.961914","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"","x":170,"y":1400,"wires":[["9f735a1e.9d5c38"]]},{"id":"9f735a1e.9d5c38","type":"function","z":"4d3dba4b.961914","name":"SOAP Params","func":"var newmsg={\n //server:"https://wsgateway.sacmi.it/WsSistemiOlfattivi/service1.asmx",\n options:{},\n headers:{\n 'Content-Type': 'application/soap+xml;charset=UTF-8'\n },\n payload:{\n "plantId":1,\n "nHoursAgo":1\n }\n \n};\nreturn newmsg;","outputs":1,"noerr":0,"x":360,"y":1340,"wires":[["92bbe16b.3d12"]]},{"id":"ca4c7c6f.59f0b","type":"debug","z":"4d3dba4b.961914","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":1340,"wires":},{"id":"92bbe16b.3d12","type":"soap request","z":"4d3dba4b.961914","name":"","topic":"","wsdl":"af1fd7ca.a510f8","method":"GetMeasureData","x":580,"y":1440,"wires":[["ca4c7c6f.59f0b"]]},{"id":"af1fd7ca.a510f8","type":"soap-config","z":"","wsdl":"https://wsgateway.sacmi.it/WsSistemiOlfattivi/service1.asmx","auth":"1","user":"SACMI\ManteAnd","pass":"6iQX9c3zDK5s","key":"","cert":"","token":""}]
I am getting the following repsonse
WSDL Config Error: Error: Invalid WSDL URL: https://wsgateway.sacmi.it/WsSistemiOlfattivi/service1.asmx?wsdl
Code: 401
Response Body:
401 - Unauthorized: Access is denied due to invalid credentials. <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;wi...Any advise is more than welcome......
PS.: node version v6.14.3
node-red version 0.18.4