>> I'm not sure if this is possible, and have been looking for 
>> examples without luck. One of my clients have requested the 
>> ability to post products to their website via a PDF form. My 
>> question is, can I dynamically populate a select box on the 
>> PDF form from the websites database. Would this be possible 
>> by creating a web service and linking the PDF form to it? If 
>> any one has had experience of this, I would greatly 
>> appreciate your help.
>
>Yes, you can. You will have to create your PDF using LiveCycle Designer,
>which is bundled with Acrobat Professional. You can invoke web services from
>XFA-compliant PDFs (LiveCycle Designer creates these). If you're writing the
>web service in ColdFusion, you will need to publish your service as
>document/literal rather than rpc/encoded. I think this requires CF 7 or
>7.0.1, I forget which:
>
><cfcomponent style="document">
>
>Within your PDF, you will have to create a data binding to the WSDL file of
>your service, then bind the drop-down box field to the response object
>corresponding to your web service call. To initiate the request, you can use
>a button and hook the request to it, then set the button to control type
>"Execute". Alternatively, you can execute your web service request using
>JavaScript and the appropriate XFA DOM event handler - off the top of my
>head, I have no idea what that would be. You'll want to read the topic
>"Executing a web service operation" in the Adobe LiveCycle Designer Help.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information!
>
>This email has been processed by SmoothZap - www.smoothwall.net

Thanks Dave, i now have the data connection within the form, just need to 
workout how to bind the select box to my query now. This is all new for me, 
have not needed to use the web service before. 

jason

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to