I was inspired by Steve Drucker's presentation last night to dig deeper into
the guts of PDF.

What I want to do is to use a webservice to control whether a user can print
a PDF document or not. Adobe has a LiveCycle policy server product which is
overkill for what I want to do (And it's priced at $40K !). So, I just want
to do this with ColdFusion.

I've almost got this figured out, but I've still got one problem regarding
WSDL SOAP Bindings. I need to connect to the server via SOAP to see if it's
OK to print. I created a simple CFC that keeps up with users and the number
of times they have printed. The CFC just returns whether it's OK to print or
not.

Here's the problem: In LiveCycle Designer, I get an error that says "SOAP
binding must be Document/Literal". I found out that there are various ways
to implement SOAP bindings and Document/Literal is one of them. 

But, how do I convince ColdFusion to use the Document/Literal SOAP binding?

In case anyone is interested, here's how I think I can implement the print
control:

- I'll add a custom Print button to my form, and hide the normal Adobe
Reader print button.

- When clicked, the Print button will connect to the webservice to see if
it's OK to print. And if it is, it will just call the print functions.

I'm really amazed at the API that's inside of Adobe Reader -- I never knew
this stuff was in there.

Thanks for any advice on my SOAP question!

   Clarke






-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to