cvs: pear /SOAP/example attachment.php
| From: | Shane Caraveo | Date: | Sat, 30 Nov 2002 21:32:34 +0000 |
| Subject: | cvs: pear /SOAP/example attachment.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7695@lists.php.net to get a copy of this message | ||
shane Sat Nov 30 16:32:34 2002 EDT
Modified files:
/pear/SOAP/example attachment.php
Log:
fix using wsdl's on local drive (patch by Jesus M. Castagnetto)
fix handling calls with incorrect parameters
fix attachment example
Index: pear/SOAP/example/attachment.php
diff -u pear/SOAP/example/attachment.php:1.3 pear/SOAP/example/attachment.php:1.4
--- pear/SOAP/example/attachment.php:1.3 Tue Jun 25 21:51:17 2002
+++ pear/SOAP/example/attachment.php Sat Nov 30 16:32:34 2002
@@ -9,7 +9,8 @@
$client = new SOAP_Client('mailto:user@domain.com');
# calling with mime
-$resp =
$client->call('echoMimeAttachment',array($v),array('Attachments'=>'Mime',
+$resp = $client->call('echoMimeAttachment',array($v),
+ array('attachments'=>'Mime',
'namespace'=>'http://soapinterop.org/',
'from'=>'user@domain.com',
'host'=>'smtp.domain.com'));