File bindings with PHP5 SOAP

I am writing code to talk to a web service via WSDL-SOAP. I am using php5 natural soap implementation. So far so good.

However, now I need to upload files as "attachments" on top of the soap. Relationships are mysteriously silent about how to do this. Surely his possible or PHP docs would mention this as a limitation?: \ I did this a few years ago with Pears soap, but would prefer to use the natural Soap implementation.

+2


source to share


2 answers


Please see my answer here . Perhaps this could be helpful.



+1


source


Given this discussion on the PHP mailbox list, this is not possible:

Guilhem Martin wrote:
> Hello all,
>
> I was not able to find in the PHP SOAP documentation anything about sending
> attachment.
> So my question is: does PHP SOAP extension support SOAP attachment?
>  

No.

Samisa... 

      



But there is not much about that ...

However, I have never seen a file attachment for a SOAP request in PHP

+1


source







All Articles