コード例 #1
0
This program is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 

You should have received a copy of the GNU General Public License along with 
this program; if not, see <http://www.gnu.org/licenses/>.
*/
if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)) {
    exit;
}
// Debugging
/*PhpWsdl::$Debugging=true;// Enable debugging
PhpWsdl::$DebugFile='./cache/debug.log';// The logfile to write the debugging messages to
PhpWsdl::$DebugBackTrace=false;// Include backtrace information in debugging messages?*/
// Initialize PhpWsdl
PhpWsdl::Init();
// You don't require class.phpwsdlelement.php and class.phpwsdlcomplex.php,
// as long as you don't use complex types. So you may comment those two
// requires out.
// You may also disable loading the class.phpwsdlproxy.php, if you don't plan
// to use the proxy class for your webservice.
require_once dirname(__FILE__) . '/class.phpwsdlformatter.php';
require_once dirname(__FILE__) . '/class.phpwsdlobject.php';
require_once dirname(__FILE__) . '/class.phpwsdlparser.php';
require_once dirname(__FILE__) . '/class.phpwsdlproxy.php';
require_once dirname(__FILE__) . '/class.phpwsdlparam.php';
require_once dirname(__FILE__) . '/class.phpwsdlmethod.php';
require_once dirname(__FILE__) . '/class.phpwsdlelement.php';
require_once dirname(__FILE__) . '/class.phpwsdlcomplex.php';
// Do things after the environment is configured
PhpWsdl::PostInit();