<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: How call OneFabric Connect WebServices function from a php script? in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48616#M6894</link>
    <description>Hi, below the output of the php script if I enable the trace option in the SoapClient:&lt;BR /&gt;
SoapFault exception: [Client] looks like we got no XML document in /root/scripts/Distributed_IPS.php:37&lt;BR /&gt;
Stack trace:&lt;BR /&gt;
#0 /root/scripts/Distributed_IPS.php(37): SoapClient-&amp;gt;__call('addIPToEndSyste...', Array)&lt;BR /&gt;
#1 /root/scripts/Distributed_IPS.php(37): SoapClient-&amp;gt;addIPToEndSystemGroup(Array)&lt;BR /&gt;
#2 {main}&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;POST /services/NACWebService HTTP/1.1&lt;BR /&gt;&lt;BR /&gt;Host: 192.168.30.34:8443&lt;BR /&gt;&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;&lt;BR /&gt;User-Agent: PHP-SOAP/5.5.9-1ubuntu4.21&lt;BR /&gt;&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;&lt;BR /&gt;SOAPAction: "urn:addIPToEndSystemGroup"&lt;BR /&gt;&lt;BR /&gt;Content-Length: 534&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;ENVELOPE&gt;&lt;BODY&gt;&lt;ADDIPTOENDSYSTEMGROUP&gt;&lt;ENDSYSTEMGROUP&gt;Distributed_IPS&lt;/ENDSYSTEMGROUP&gt;&lt;IPADDRESS&gt;192.168.10.78&lt;/IPADDRESS&gt;&lt;DESCRIPTION&gt;CK&amp;nbsp;infected&lt;/DESCRIPTION&gt;&lt;REAUTHENTICATE&gt;true&lt;/REAUTHENTICATE&gt;&lt;REMOVEFROMOTHERGROUPS&gt;true&lt;/REMOVEFROMOTHERGROUPS&gt;&lt;/ADDIPTOENDSYSTEMGROUP&gt;&lt;/BODY&gt;&lt;/ENVELOPE&gt;&lt;BR /&gt; /&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;HTTP/1.1 200 OK&lt;BR /&gt;&lt;BR /&gt;Expires: 0&lt;BR /&gt;&lt;BR /&gt;Expires: 0&lt;BR /&gt;&lt;BR /&gt;Cache-Control: no-cache, no-store, must-revalidate&lt;BR /&gt;&lt;BR /&gt;Cache-Control: no-cache, no-store, must-revalidate&lt;BR /&gt;&lt;BR /&gt;X-Powered-By: JSP/2.3&lt;BR /&gt;&lt;BR /&gt;Set-Cookie: JSESSIONID=i8_RbyDv3bVVInElOP9AGNfyU3ygMHXVgIWB208A.extrememanagement; path=/&lt;BR /&gt;&lt;BR /&gt;Server: ExtremeManagementCenter&lt;BR /&gt;&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&lt;BR /&gt;Date: Thu, 20 Jul 2017 13:10:28 GMT&lt;BR /&gt;&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;&lt;BR /&gt;Server-Version: 8.0.0&lt;BR /&gt;&lt;BR /&gt;Content-Type: text/html;charset=ISO-8859-1&lt;BR /&gt;&lt;BR /&gt;Content-Length: 11663&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;aboutWindow&amp;nbsp;=&amp;nbsp;window.open&amp;nbsp;(&amp;nbsp;url,&amp;nbsp;"About",&amp;nbsp;"top="&amp;nbsp;+&amp;nbsp;cornerY&amp;nbsp;+&amp;nbsp;",left="&amp;nbsp;+&amp;nbsp;cornerX&amp;nbsp;+&amp;amp;nbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;newWindow&amp;nbsp;=&amp;nbsp;window.open&amp;nbsp;(&amp;nbsp;url,&amp;nbsp;title,&amp;nbsp;"top="&amp;nbsp;+&amp;nbsp;cornerY&amp;nbsp;+&amp;nbsp;",left="&amp;nbsp;+&amp;nbsp;cornerX&amp;nbsp;+&amp;nbsp;",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-image:&amp;nbsp;-webkit-gradient(linear,&amp;nbsp;left&amp;nbsp;bottom,&amp;nbsp;left&amp;nbsp;top,&amp;nbsp;color-stop(0,&amp;nbsp;#3F3F3F),&amp;nbsp;color&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-image:&amp;nbsp;-moz-linear-gradient(center&amp;nbsp;bottom,&amp;nbsp;#3F3F3F&amp;nbsp;0%,&amp;nbsp;#383838&amp;nbsp;50%,&amp;nbsp;#434343&amp;nbsp;51%,&amp;amp;nbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;filter:&amp;nbsp;progid:DXImageTransform.Microsoft.gradient(&amp;nbsp;startColorstr='#3f3f3f',&amp;nbsp;endColorstr='#555555',GradientType=0&amp;nbsp;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/*&amp;nbsp;We&amp;nbsp;use&amp;nbsp;the&amp;nbsp;inset&amp;nbsp;of&amp;nbsp;the&amp;nbsp;box&amp;nbsp;shadow&amp;nbsp;to&amp;nbsp;create&amp;nbsp;a&amp;nbsp;subtle&amp;nbsp;inner&amp;nbsp;gl&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A&gt;S&lt;BR /&gt;http://www.extremenetworks.com/support/'&amp;nbsp;target='_blank'&amp;nbsp;title="Go&amp;nbsp;T...&lt;/A&gt; /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;I&gt;lt;/body&amp;gt;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://mailto:root@extrememanagement.demo.com" target="_blank" rel="nofollow noreferrer noopener"&gt;root@extrememanagement.demo.com&lt;/A&gt;:~/scripts$&lt;BR /&gt;
&lt;BR /&gt;
Seems that the server return the html page for the login where asks for username and password....</description>
    <pubDate>Thu, 20 Jul 2017 18:19:00 GMT</pubDate>
    <dc:creator>Antonio_Opromol</dc:creator>
    <dc:date>2017-07-20T18:19:00Z</dc:date>
    <item>
      <title>How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48615#M6893</link>
      <description>HI, I'm trying to made a php script (I'm not a php programmer), that execute a web services that in my example is:&lt;BR /&gt;
&lt;A href="https://root:password@192.168.30.34:8443/axis/services/NACWebService/addIPToEndSystemGroup?endSystemGroup=Distributed_IPS&amp;amp;#38;ipAddress=192.168.10.78&amp;amp;#38;description=ck_infected&amp;amp;#38;reauthenticate=true&amp;amp;#38;removeFromOtherGroups=true" target="_blank" rel="nofollow noreferrer noopener"&gt;https://root:password@192.168.30.34:8443/axis/services/NACWebService/addIPToEndSystemGroup?endSystem...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
If I execute this web services from a web browser, it works correctly.&lt;BR /&gt;
Then I want to execute the same command with a php script.&lt;BR /&gt;
I've follow the examples that are in the OneFabric Connect WebServices pdf document, and my php code is the following:&lt;BR /&gt;

&lt;BR /&gt;
$login = 'root';&lt;BR /&gt;
$password = 'password';&lt;BR /&gt;
&lt;BR /&gt;
try { &lt;BR /&gt;
$client = new SoapClient(&lt;BR /&gt;
    'https://' . urlencode($login) . ':' . urlencode($password) . '@192.168.30.34:8443/axis/services/NACWebService?wsdl',&lt;BR /&gt;
    array(&lt;BR /&gt;
        'login' =&amp;gt; $login,&lt;BR /&gt;
 'password' =&amp;gt; $password,&lt;BR /&gt;
 'authentication' =&amp;gt; SOAP_AUTHENTICATION_DIGEST&lt;BR /&gt;
    )&lt;BR /&gt;
);&lt;BR /&gt;
&lt;BR /&gt;
$response = $client-&amp;gt;addIPToEndSystemGroup(array("endSystemGroup" =&amp;gt; "Distributed_IPS","ipAddress" =&amp;gt; "192.168.10.78","description" =&amp;gt; "ck infected","reauthenticate" =&amp;gt; true,"removeFromOtherGroups" =&amp;gt; true));&lt;BR /&gt;
print_r($response);&lt;BR /&gt;
&lt;BR /&gt;
} catch (Exception $e) {             &lt;BR /&gt;
 printf("Error:sendSms: %s\n",$e-&amp;gt;__toString());&lt;BR /&gt;
 print($client-&amp;gt;__getLastResponse()); &lt;BR /&gt;
 return false; &lt;BR /&gt;
} &lt;BR /&gt;
&lt;BR /&gt;
?&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
The problem is that this script end with an error that is the following:&lt;BR /&gt;
root@extrememanagement.demo.com:~/scripts$ php test3.php&lt;BR /&gt;
Error:sendSms: SoapFault exception: [Client] looks like we got no XML document in /root/scripts/test3.php:16&lt;BR /&gt;
Stack trace:&lt;BR /&gt;
#0 /root/scripts/test3.php(16): SoapClient-&amp;gt;__call('addIPToEndSyste...', Array)&lt;BR /&gt;
#1 /root/scripts/test3.php(16): SoapClient-&amp;gt;addIPToEndSystemGroup(Array)&lt;BR /&gt;
#2 {main}&lt;BR /&gt;
root@extrememanagement.demo.com:~/scripts$&lt;BR /&gt;
&lt;BR /&gt;
I've made a search on google for this error, but seams that must be correct changing same setting on the server side....&lt;BR /&gt;
&lt;BR /&gt;
Is there someone that know how to execute this web services from the php script?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2017 18:55:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48615#M6893</guid>
      <dc:creator>Antonio_Opromol</dc:creator>
      <dc:date>2017-07-19T18:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48616#M6894</link>
      <description>Hi, below the output of the php script if I enable the trace option in the SoapClient:&lt;BR /&gt;
SoapFault exception: [Client] looks like we got no XML document in /root/scripts/Distributed_IPS.php:37&lt;BR /&gt;
Stack trace:&lt;BR /&gt;
#0 /root/scripts/Distributed_IPS.php(37): SoapClient-&amp;gt;__call('addIPToEndSyste...', Array)&lt;BR /&gt;
#1 /root/scripts/Distributed_IPS.php(37): SoapClient-&amp;gt;addIPToEndSystemGroup(Array)&lt;BR /&gt;
#2 {main}&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;POST /services/NACWebService HTTP/1.1&lt;BR /&gt;&lt;BR /&gt;Host: 192.168.30.34:8443&lt;BR /&gt;&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;&lt;BR /&gt;User-Agent: PHP-SOAP/5.5.9-1ubuntu4.21&lt;BR /&gt;&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;&lt;BR /&gt;SOAPAction: "urn:addIPToEndSystemGroup"&lt;BR /&gt;&lt;BR /&gt;Content-Length: 534&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;ENVELOPE&gt;&lt;BODY&gt;&lt;ADDIPTOENDSYSTEMGROUP&gt;&lt;ENDSYSTEMGROUP&gt;Distributed_IPS&lt;/ENDSYSTEMGROUP&gt;&lt;IPADDRESS&gt;192.168.10.78&lt;/IPADDRESS&gt;&lt;DESCRIPTION&gt;CK&amp;nbsp;infected&lt;/DESCRIPTION&gt;&lt;REAUTHENTICATE&gt;true&lt;/REAUTHENTICATE&gt;&lt;REMOVEFROMOTHERGROUPS&gt;true&lt;/REMOVEFROMOTHERGROUPS&gt;&lt;/ADDIPTOENDSYSTEMGROUP&gt;&lt;/BODY&gt;&lt;/ENVELOPE&gt;&lt;BR /&gt; /&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;HTTP/1.1 200 OK&lt;BR /&gt;&lt;BR /&gt;Expires: 0&lt;BR /&gt;&lt;BR /&gt;Expires: 0&lt;BR /&gt;&lt;BR /&gt;Cache-Control: no-cache, no-store, must-revalidate&lt;BR /&gt;&lt;BR /&gt;Cache-Control: no-cache, no-store, must-revalidate&lt;BR /&gt;&lt;BR /&gt;X-Powered-By: JSP/2.3&lt;BR /&gt;&lt;BR /&gt;Set-Cookie: JSESSIONID=i8_RbyDv3bVVInElOP9AGNfyU3ygMHXVgIWB208A.extrememanagement; path=/&lt;BR /&gt;&lt;BR /&gt;Server: ExtremeManagementCenter&lt;BR /&gt;&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&lt;BR /&gt;Date: Thu, 20 Jul 2017 13:10:28 GMT&lt;BR /&gt;&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;&lt;BR /&gt;Server-Version: 8.0.0&lt;BR /&gt;&lt;BR /&gt;Content-Type: text/html;charset=ISO-8859-1&lt;BR /&gt;&lt;BR /&gt;Content-Length: 11663&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;aboutWindow&amp;nbsp;=&amp;nbsp;window.open&amp;nbsp;(&amp;nbsp;url,&amp;nbsp;"About",&amp;nbsp;"top="&amp;nbsp;+&amp;nbsp;cornerY&amp;nbsp;+&amp;nbsp;",left="&amp;nbsp;+&amp;nbsp;cornerX&amp;nbsp;+&amp;amp;nbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;newWindow&amp;nbsp;=&amp;nbsp;window.open&amp;nbsp;(&amp;nbsp;url,&amp;nbsp;title,&amp;nbsp;"top="&amp;nbsp;+&amp;nbsp;cornerY&amp;nbsp;+&amp;nbsp;",left="&amp;nbsp;+&amp;nbsp;cornerX&amp;nbsp;+&amp;nbsp;",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-image:&amp;nbsp;-webkit-gradient(linear,&amp;nbsp;left&amp;nbsp;bottom,&amp;nbsp;left&amp;nbsp;top,&amp;nbsp;color-stop(0,&amp;nbsp;#3F3F3F),&amp;nbsp;color&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-image:&amp;nbsp;-moz-linear-gradient(center&amp;nbsp;bottom,&amp;nbsp;#3F3F3F&amp;nbsp;0%,&amp;nbsp;#383838&amp;nbsp;50%,&amp;nbsp;#434343&amp;nbsp;51%,&amp;amp;nbs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;filter:&amp;nbsp;progid:DXImageTransform.Microsoft.gradient(&amp;nbsp;startColorstr='#3f3f3f',&amp;nbsp;endColorstr='#555555',GradientType=0&amp;nbsp;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/*&amp;nbsp;We&amp;nbsp;use&amp;nbsp;the&amp;nbsp;inset&amp;nbsp;of&amp;nbsp;the&amp;nbsp;box&amp;nbsp;shadow&amp;nbsp;to&amp;nbsp;create&amp;nbsp;a&amp;nbsp;subtle&amp;nbsp;inner&amp;nbsp;gl&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A&gt;S&lt;BR /&gt;http://www.extremenetworks.com/support/'&amp;nbsp;target='_blank'&amp;nbsp;title="Go&amp;nbsp;T...&lt;/A&gt; /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;I&gt;lt;/body&amp;gt;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://mailto:root@extrememanagement.demo.com" target="_blank" rel="nofollow noreferrer noopener"&gt;root@extrememanagement.demo.com&lt;/A&gt;:~/scripts$&lt;BR /&gt;
&lt;BR /&gt;
Seems that the server return the html page for the login where asks for username and password....</description>
      <pubDate>Thu, 20 Jul 2017 18:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48616#M6894</guid>
      <dc:creator>Antonio_Opromol</dc:creator>
      <dc:date>2017-07-20T18:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48617#M6895</link>
      <description>I don't have a php environment to test this but I would use a simple HTTP GET request instead of a SOAP request. Could you please try something like this (like I said, untested):&lt;BR /&gt;
&lt;BR /&gt;

$username = "some-username";&lt;BR /&gt;
$password = "some-password";&lt;BR /&gt;
$remote_url = '&lt;A href="https://192.168.30.34:8443/axis/services/NACEndSystemWebService/addIPToEndSystemGroup?endSystemGroup=GuestGroup&amp;amp;#38;ipAddress=192.168.10.10&amp;amp;#38;description=%22my%20Description%22&amp;amp;#38;reauthenticate=false&amp;amp;#38;removeFromOtherGroups=false&amp;amp;#38;#39;" target="_blank" rel="nofollow noreferrer noopener"&gt;https://192.168.30.34:8443/axis/services/NACEndSystemWebService/addIPToEndSystemGroup?endSystemGroup...&lt;/A&gt;;&lt;BR /&gt;
&lt;BR /&gt;
$opts = array(&lt;BR /&gt;
  'http'=&amp;gt;array(&lt;BR /&gt;
    'method'=&amp;gt;"GET",&lt;BR /&gt;
    'header' =&amp;gt; "Authorization: Basic " . base64_encode("$username:$password")                 &lt;BR /&gt;
  )&lt;BR /&gt;
);&lt;BR /&gt;
&lt;BR /&gt;
$context = stream_context_create($opts);&lt;BR /&gt;
&lt;BR /&gt;
// Open the file using the HTTP headers set above&lt;BR /&gt;
$file = file_get_contents($remote_url, false, $context);&lt;BR /&gt;
&lt;BR /&gt;
print($file);&lt;BR /&gt;
&lt;BR /&gt;
?&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
Code was taken from and adjusted in regards to the NetSight URL:&lt;BR /&gt;
&lt;A href="https://stackoverflow.com/questions/7732634/making-a-http-get-request-with-http-basic-authentication" target="_blank" rel="nofollow noreferrer noopener"&gt;https://stackoverflow.com/questions/7732634/making-a-http-get-request-with-http-basic-authentication&lt;/A&gt;</description>
      <pubDate>Thu, 20 Jul 2017 18:34:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48617#M6895</guid>
      <dc:creator>Kurt_Semba</dc:creator>
      <dc:date>2017-07-20T18:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48618#M6896</link>
      <description>Hi Kurt,&lt;BR /&gt;
thanks for your answer.&lt;BR /&gt;
With the simple HTTP GET request as you suggest, it works.&lt;BR /&gt;
But I'm trying to use the method suggested from the Extreme Networks documentation and in this documentation they use the SOAP request.&lt;BR /&gt;
Regards,&lt;BR /&gt;
Antonio</description>
      <pubDate>Thu, 20 Jul 2017 18:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48618#M6896</guid>
      <dc:creator>Antonio_Opromol</dc:creator>
      <dc:date>2017-07-20T18:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48619#M6897</link>
      <description>Hi Antonio,&lt;BR /&gt;
&lt;BR /&gt;
perfect. Forget SOAP  go ahead and use this working option, we've been using it for years and it is also supported by engineering. &lt;BR /&gt;
&lt;BR /&gt;
Where did you find the reference to using SOAP for this?</description>
      <pubDate>Thu, 20 Jul 2017 18:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48619#M6897</guid>
      <dc:creator>Kurt_Semba</dc:creator>
      <dc:date>2017-07-20T18:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: How call OneFabric Connect WebServices function from a php script?</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48620#M6898</link>
      <description>Hi Kurt,&lt;BR /&gt;
&lt;BR /&gt;
I've found the examples in the document "OneFabric Connect WebServices" that I've downloaded from the Extreme Networks site (if you want to have a look, you can download it from &lt;A href="https://extrcdn.extremenetworks.com/wp-content/uploads/2015/05/OneFabric_Connect_API_Reference_Guide.pdf" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extrcdn.extremenetworks.com/wp-content/uploads/2015/05/OneFabric_Connect_API_Reference_Guide...&lt;/A&gt; )&lt;BR /&gt;
Do you know if there is a more recent documentation?</description>
      <pubDate>Thu, 20 Jul 2017 19:01:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-call-onefabric-connect-webservices-function-from-a-php/m-p/48620#M6898</guid>
      <dc:creator>Antonio_Opromol</dc:creator>
      <dc:date>2017-07-20T19:01:00Z</dc:date>
    </item>
  </channel>
</rss>

