From: Dmitry Stogov Date: Tue, 3 Feb 2004 16:43:38 +0000 (+0000) Subject: SoapServer constructor was extended by default SOAP version. X-Git-Tag: php-5.0.0b4RC1~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3a114a97f8fa0c39bf2c915619ccb634c87a604;p=php SoapServer constructor was extended by default SOAP version. --- diff --git a/ext/soap/tests/soap12/T24.phpt b/ext/soap/tests/soap12/T24.phpt index ac2f84205e..ae27bc098d 100644 --- a/ext/soap/tests/soap12/T24.phpt +++ b/ext/soap/tests/soap12/T24.phpt @@ -18,4 +18,4 @@ include "soap12-test.inc"; ?> --EXPECT-- -SOAP-ENV:VersionMismatchWrong Version +env:VersionMismatchWrong Version diff --git a/ext/soap/tests/soap12/T25.phpt b/ext/soap/tests/soap12/T25.phpt index 894136eb20..bb1d0c9b13 100644 --- a/ext/soap/tests/soap12/T25.phpt +++ b/ext/soap/tests/soap12/T25.phpt @@ -19,4 +19,4 @@ include "soap12-test.inc"; ?> --EXPECT-- -SOAP-ENV:ServerDTD are not supported by SOAP +env:ReceiverDTD are not supported by SOAP diff --git a/ext/soap/tests/soap12/T64.phpt b/ext/soap/tests/soap12/T64.phpt new file mode 100644 index 0000000000..0ee3470ddc --- /dev/null +++ b/ext/soap/tests/soap12/T64.phpt @@ -0,0 +1,24 @@ +--TEST-- +SOAP 1.2: T64 echoOk +--SKIPIF-- + +--FILE-- + + +]> + + + + foo + + + +EOF; +include "soap12-test.inc"; +?> +--EXPECT-- + +env:ReceiverDTD are not supported by SOAP diff --git a/ext/soap/tests/soap12/T65.phpt b/ext/soap/tests/soap12/T65.phpt new file mode 100644 index 0000000000..ba42ad2ee8 --- /dev/null +++ b/ext/soap/tests/soap12/T65.phpt @@ -0,0 +1,26 @@ +--TEST-- +SOAP 1.2: T65 echoOk +--SKIPIF-- + +--FILE-- + + + + +]> + + + + foo + + + +EOF; +include "soap12-test.inc"; +?> +--EXPECT-- + +env:ReceiverDTD are not supported by SOAP diff --git a/ext/soap/tests/soap12/soap12-test.inc b/ext/soap/tests/soap12/soap12-test.inc index 1388e00172..b56dd3a321 100644 --- a/ext/soap/tests/soap12/soap12-test.inc +++ b/ext/soap/tests/soap12/soap12-test.inc @@ -113,7 +113,7 @@ class Soap12test { } } -$server = new soapserver("http://http://example.org/ts-tests","http://example.org/ts-tests/C"); +$server = new soapserver("http://http://example.org/ts-tests", SOAP_1_2, "http://example.org/ts-tests/C"); $server->bind(dirname(__FILE__)."/soap12-test.wsdl"); $server->setClass("Soap12test");