Friday, May 17, 2013

File download from Soap Resonse (binary from xml)

Hi

Ive a working soapclient now. So far so good :)

In the response I am getting a binary string as a object (php5 Soapclient class). NowI would like to extract this binary-object and offer a option to display or download it.

What is the best way to do this with cake? I have already tried the build in response class. But it seems this will need to have the file in the file system first (needs path setting in the cookbook example). I am glad to avoid this.

Could you provide a short example how to do this?

Thanks,
Frank

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: