<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Send request to web service via NXSL script]]></title><description><![CDATA[<p dir="auto">Does the NXSL script support a function to make a request to a web service and return the retrieved data and HTTP code?</p>
]]></description><link>https://forum.netxms.org/topic/8031/send-request-to-web-service-via-nxsl-script</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:25:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8031.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Sep 2024 06:54:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Send request to web service via NXSL script on Thu, 26 Sep 2024 09:32:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi, here would be example from documentation and the script needs to be executed on the node where agent with "EnableWebServiceProxy=yes" is running.</p>
<p dir="auto">webSvc = $node.getWebService("web_service_definition_name");<br />
result = webSvc.get();<br />
println(result.httpResponseCode);<br />
println(result.document);</p>
<p dir="auto">If this agent is on your NetXMS server node, you can use GetServerNode() instead of $node, this way you can run this script in context on any node.</p>
]]></description><link>https://forum.netxms.org/post/33840</link><guid isPermaLink="true">https://forum.netxms.org/post/33840</guid><dc:creator><![CDATA[uldis]]></dc:creator><pubDate>Thu, 26 Sep 2024 09:32:56 GMT</pubDate></item></channel></rss>