summaryrefslogtreecommitdiff
path: root/ext/soap/tests/classmap002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/classmap002.phpt')
-rw-r--r--ext/soap/tests/classmap002.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/soap/tests/classmap002.phpt b/ext/soap/tests/classmap002.phpt
index 2f16cf506a..cf3dd78e3f 100644
--- a/ext/soap/tests/classmap002.phpt
+++ b/ext/soap/tests/classmap002.phpt
@@ -8,7 +8,7 @@ soap.wsdl_cache_enabled=0
<?php
class TestSoapClient extends SoapClient{
function __doRequest($request, $location, $action, $version, $one_way = 0) {
- return <<<EOF
+ return <<<EOF
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.nothing.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body>
<ns1:dotest2Response><res xsi:type="ns1:book">
@@ -17,19 +17,19 @@ class TestSoapClient extends SoapClient{
</res>
</ns1:dotest2Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
EOF;
- }
+ }
}
class book{
- public $a="a";
- public $b="c";
+ public $a="a";
+ public $b="c";
}
$options=Array(
- 'actor' =>'http://schema.nothing.com',
- 'classmap' => array('book'=>'book', 'wsdltype2'=>'classname2')
- );
+ 'actor' =>'http://schema.nothing.com',
+ 'classmap' => array('book'=>'book', 'wsdltype2'=>'classname2')
+ );
$client = new TestSoapClient(__DIR__."/classmap.wsdl",$options);
$ret = $client->dotest2("???");