mirror of
https://github.com/php/php-src.git
synced 2024-10-10 03:02:13 +00:00
19 lines
281 B
Plaintext
19 lines
281 B
Plaintext
|
--TEST--
|
||
|
SOAP Server 12: WSDL generation
|
||
|
--SKIPIF--
|
||
|
<?php require_once('skipif.inc'); ?>
|
||
|
--GET--
|
||
|
WSDL
|
||
|
--FILE--
|
||
|
<?php
|
||
|
function Add($x,$y) {
|
||
|
return $x+$y;
|
||
|
}
|
||
|
|
||
|
$server = new soapserver("http://testuri.org");
|
||
|
$server->addfunction("Add");
|
||
|
$server->handle();
|
||
|
echo "ok\n";
|
||
|
?>
|
||
|
--EXPECT--
|