Question : problem with  button and web service. (save as problem)

hi all,

i develope a website by using php5, zend and java web service.

now i need to create a button, by click of this button one methode in web service will be called, then a dialog window should be pop up to save  the response soap message  as file.

can any one tell me how do i develop it.

thanks,

wantime

Answer : problem with  button and web service. (save as problem)

HTML?

<form method="GET" action="http://www.yoursite.com/getFile.php"><input type="submit" name="getFile" value="Get File" /></form>

As long as the headers issued by getFile.php are along the lines I've suggested, the browser will force a "Save As" dialogue (or similar). It shouldn't display the file in the browser.
Random Solutions  
 
programming4us programming4us