function bss_soap_client($servicename) { parent::nusoap_client(bss_soap_client::getBaseUrl() . $servicename . '/v1.3/BASIC?wsdl', true); $this->setCredentials(bss_soap_client::getUsername(), bss_soap_client::getPassword(), 'basic', array()); }
<div class="requestform" > <h1>Settings</h1> <form action="settings.php" method="post"> <table class="params"> <thead> <tr> <td>Setting</td> <td>Value</td> </tr> </thead> <tbody> <tr> <td>Base URL</td> <td><input id="id_baseUrl" type="text" name="baseUrl" value="<?php echo bss_soap_client::getBaseUrl(); ?> "/></td> </tr> <tr> <td>User Name</td> <td><input type="text" name="username" value="<?php echo bss_soap_client::getUsername(); ?> "/></td> </tr> <tr> <td>Password</td> <td><input type="password" name="password" value="<?php echo bss_soap_client::getPassword(); ?>