File Attachements with PHP5 SOAP
问题 I'm writing some code to talk to a web service via WSDL-SOAP. I'm using php5's native soap implementation. So far so good. However I now need to download files as "attachments" over soap. The interwebs is mysteriously silent on how to do this. Surely its possible or the PHP docs would mention it as a limitation ? :\ I did this a few years ago with Pear soap but would really prefer to use the native Soap implementation. 回答1: Please see my answer here. Perhaps this may be helpful. 回答2: