I don't know how you would send a file through a web service - it's really designed for data.
That said, you could certainly generate the PDF and place it in an accessible location (perhaps even a password protected PDF) and then pass the file PATH (
http://....) back - all through a web service.
>I want to create a web service in VFP that should allow you to
>pass in the stylekey and reportkey and then print the report to PDF (using amyuni PDF writer). Then serve the report back to the client to show in the web browser or save or send to print.
>
>Has anyone worked on such a project? If so do you have any advice.
>
>Of course you cannot print in an OLEPUBLIC class. Which would be may big feature request! As evident in the following code.
>
>DEFINE CLASS PDFService AS OLEPUBLIC
> ReportFile=""
> StyleKey=""
> REPORT FORM this.ReportFile TO PRINTER
>ENDDEFINE
>
>I guess I could create a little EXE file that could run and create the report but I'm not sure if this is feasible either.
>
>In addition I could make the WebService in .NET however 99% of the reports we have are done in VFP.
>Any comments?
Kogo Michael Hogan
"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?
Ideate Web Site