Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
node-red-contrib-soap2
Advanced tools
SOAP Client for Node Red based on node-red-contrib-soap, modified to not throw errors
Node-red nodes that allow users to send SOAP request.
##Usages To set up SOAP request, create a new soap config:
WSDL
field.Auth
method, the default would be set to None.In the SOAP request config tab, enter the valid method name in Method field. Having an invalid method name will return error.
You can also feed in parameters and overwrite configs with an injected msg:
msg.server
to overwrite the WSDL address. This only works with WSDL server with no authentication method.msg.options
to add in options to the SOAP request.msg.headers
to add in headers for the SOAP request.msg.payload.<parameters>
to feed in the parameters you need.For example, here is the sample flow where we try to send a SOAP request to http://www.webservicex.net/geoipservice.asmx, trying to call the GetGeoIP
function with an variable IPAddress as 139.130.4.5.
[{"id":"e480824b.767f","type":"soap request","z":"beb01f75.a7c1d","name":"","topic":"","wsdl":"1d0b9627.18e18a","method":"GetGeoIP","x":395,"y":169,"wires":[["5bd47eca.8fd67"]]},{"id":"a2176fcf.cb88","type":"inject","z":"beb01f75.a7c1d","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":114,"y":261,"wires":[["5e12abf.dccd454"]]},{"id":"5bd47eca.8fd67","type":"debug","z":"beb01f75.a7c1d","name":"","active":true,"console":"false","complete":"false","x":541,"y":265,"wires":[]},{"id":"5e12abf.dccd454","type":"function","z":"beb01f75.a7c1d","name":"","func":"var newmsg={\n server:\"http://www.webservicex.net/geoipservice.asmx\",\n options:{},\n headers:{},\n payload:{\n IPAddress:\"139.130.4.5\"\n }\n \n};\nreturn newmsg;","outputs":1,"noerr":0,"x":246,"y":194,"wires":[["e480824b.767f"]]},{"id":"1d0b9627.18e18a","type":"soap-config","z":"beb01f75.a7c1d","wsdl":"http://www.webservicex.net/geoipservice.asmx?wsdl","auth":"0","user":"","pass":"","key":"","cert":"","token":""}]
The returned msg.payload
would be:
{ "GetGeoIPResult": { "ReturnCode": 1, "IP": "139.130.4.5", "ReturnCodeDetails": "Success", "CountryName": "Australia", "CountryCode": "AUS" } }
FAQs
SOAP Client for Node Red based on node-red-contrib-soap, modified to not throw errors
The npm package node-red-contrib-soap2 receives a total of 7 weekly downloads. As such, node-red-contrib-soap2 popularity was classified as not popular.
We found that node-red-contrib-soap2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.