Sending Attachments with PHP Web Services

Wednesday, January 9, 2008

WSO2 WSF/PHP supports sending binary attachments with SOAP messages with SOAP MTOM implementation. WSO2 WSF/PHP is equipped with both optimized and non optimized binary attachments. You can upload or down load attachments with both optimized or non optimized methods.It is really simple .First download WSF/PHP.Go to samples/mtom. It contains all the magic you need to do this in PHP.


Shantanu Bhadoria said...

This was something I was really looking for to transfer files between two webservers.
Grateful thanks.
With you permission I would like to post a guide to this at my own site.
Thanks :)
shantanu dot bhadoria at gmail dot com

Dimuthu said...

Hi Shantanu,

It is really great, if you can write about this in your blog.

Oseiro said...

Hi Guys, i cant solve the problem that i have. Do you know if is possible to receive ATTACHMENTS with the PHP NATIVE SOAP library without encoding the response in BASE64? Appreciate to you , helping me ...

Dimuthu said...

Hi Oseiro,
AFIK there is no support for MTOM or SWA in PHP SOAP. You can try WSF/PHP as described in this blog

Oseiro said...

Dimuthu !! thanks to response, i was thinking of that you confirm .. However, I am testing the WSO Library ... Cheers guy!!


azul fellawen said...

nusoap client sample :