Skip to content

Commit

Permalink
Use boolean for 'trace'.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@227859 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Jan Schneider committed Jan 22, 2007
1 parent 2f05d7a commit f345a96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WSDL.php
Expand Up @@ -739,7 +739,7 @@ function generateProxyCode($port = '', $classname = '')
" 'soapaction' => '$soapaction',\n" .
" 'style' => '$opstyle',\n" .
" 'use' => '$use'" .
($this->trace ? ",\n 'trace' => 1" : '') . "));\n" .
($this->trace ? ",\n 'trace' => true" : '') . "));\n" .
" return \$result;\n" .
" }\n";
}
Expand Down
2 changes: 1 addition & 1 deletion example/client.php
Expand Up @@ -30,7 +30,7 @@
$soapclient = new SOAP_Client('http://localhost/SOAP/example/server.php');
// This namespace is the same as declared in server.php.
$options = array('namespace' => 'urn:SOAP_Example_Server',
'trace' => 1);
'trace' => true);

$ret = $soapclient->call('echoStringSimple',
$params = array('inputStringSimple' => 'this is a test string'),
Expand Down
2 changes: 1 addition & 1 deletion example/tcp_client.php
Expand Up @@ -25,7 +25,7 @@
$soapclient = new SOAP_Client("tcp://127.0.0.1:82");

# namespace
$options = array('namespace' => 'urn:SOAP_Example_Server', 'trace' => 1);
$options = array('namespace' => 'urn:SOAP_Example_Server', 'trace' => true);

# one
$params = array("string" => "this is string 1");
Expand Down

0 comments on commit f345a96

Please sign in to comment.