[ACFUG Discuss] WSDL SOAP Binding

2007-07-12 Thread Clarke Bishop
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
-





Re: [ACFUG Discuss] WSDL SOAP Binding

2007-07-12 Thread shawn gorrell
Easy answer to doing document literal. In the cfcomponent tag add the 
style=document argument. That changes it from RPC-encoded to document literal.

- Original Message 
From: Clarke Bishop [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Thursday, July 12, 2007 4:09:53 PM
Subject: [ACFUG Discuss] WSDL SOAP Binding

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
-










-
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
-



Re: [ACFUG Discuss] WSDL SOAP Binding

2007-07-12 Thread shawn gorrell
In fact, I blogged about doing document literal services with CF7.

http://www.illumineti.com/blog/index.cfm?mode=entryentry=CB8AB18F-C09F-25C5-833873906E200A8C

- Original Message 
From: Clarke Bishop [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Thursday, July 12, 2007 4:09:53 PM
Subject: [ACFUG Discuss] WSDL SOAP Binding

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
-










-
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
-



RE: [ACFUG Discuss] WSDL SOAP Binding

2007-07-12 Thread Clarke Bishop
Guess what?

cfcomponent style=document 

This solved my problem -- Well, you learn something new every day!

   Clarke 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clarke Bishop
Sent: Thursday, July 12, 2007 4:10 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] WSDL SOAP Binding

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
-








-
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
-