note 54657 added to function.soap-soapclient-construct
| From: | JimPlush at osu1 dot php dot net | Date: | Mon, 11 Jul 2005 19:56:04 +0000 |
| Subject: | note 54657 added to function.soap-soapclient-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91781@lists.php.net to get a copy of this message | ||
As of version 5.0.4 you can now dynamically change your location even if you're using a wsdl
<?php
$client = new SoapClient("http://some.host.net/wsdl/somefile.wsdl",array(
"location" => 'myurl.com'));
?>
notice you can now use the "location" key.
This means you can have the same wsdl file not define a location until runtime which is great if you
have a development test site or if you distribute your files to other companies.
Prior to this change you would have to ship a custom wsdl file to every client you had with their
location hardcoded.
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-construct.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54657
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54657&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54657&report=yes
Search -- http://master.php.net/manage/user-notes.php