18 require_once SQ_INCLUDE_PATH.
'/asset_edit/asset_edit_fns.inc';
41 parent::__construct();
58 $wa = $asset->writeAccess(
'attributes');
59 $o->openField(
'Connection Status');
60 require_once SQ_PACKAGES_PATH.
'/trim/lib/trim_common.inc';
62 'wsdl' => $asset->attr(
'wsdl'),
63 'authentication' => Array (
64 'login' => $asset->attr(
'username'),
65 'password' => $asset->attr(
'password'),
72 $proxy = $asset->getProxy();
73 $connection[
'authentication'] = array_merge($connection[
'authentication'], $proxy);
77 if (!empty($connection[
'wsdl'])) {
82 echo
'<span style="color:green;font-weight:bold">Connected</span>';
84 echo
'<span style="color:red;font-weight:bold">Not Connected</span>';