diff --git a/ext/soap/tests/soap12/T24.phpt b/ext/soap/tests/soap12/T24.phpt
index ac2f84205e5..ae27bc098da 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 894136eb202..bb1d0c9b131 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 00000000000..0ee3470ddc3
--- /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 00000000000..ba42ad2ee84
--- /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 1388e00172d..b56dd3a3211 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");