<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Connecting to a Web Service</title>
	<atom:link href="http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<pubDate>Sat, 22 Nov 2008 23:25:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Han Dao</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33679</link>
		<dc:creator>Han Dao</dc:creator>
		<pubDate>Thu, 20 Nov 2008 15:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33679</guid>
		<description>Stefan,

Thanks for your response. I did exactly like what you have suggested but still did not return all the data. However, I did create a new form that call the sample web services from StrikeIron and it works perfectly. When I created a web service in Workflow 7.2 with an Oracle query, I see no option for me to enter username &#38; pw &#38; db to login to Oracle in order for that query to run. So I doubt about it and question that how can the workflow know which database to use so it can execute that query. In this case, is it considering a secured web service that require authentication? Could you please advise.

Thanks,
Han Dao</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>Thanks for your response. I did exactly like what you have suggested but still did not return all the data. However, I did create a new form that call the sample web services from StrikeIron and it works perfectly. When I created a web service in Workflow 7.2 with an Oracle query, I see no option for me to enter username &amp; pw &amp; db to login to Oracle in order for that query to run. So I doubt about it and question that how can the workflow know which database to use so it can execute that query. In this case, is it considering a secured web service that require authentication? Could you please advise.</p>
<p>Thanks,<br />
Han Dao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33623</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 20 Nov 2008 02:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33623</guid>
		<description>Han Dao,

If you're calling the web service appropriately, then this kind of trouble is probably related to the bindings you've set on the fields.

Web services have import and export bindings. The export bindings are for the request part of the web service (the data that goes out like the empid data to do the query) and the import bindings are for the response part (the data that comes back to the form like fname, lname, etc.).

You should have the lanid and empid fields bound to export bindings within the web service data connection and you should also have fields bound to fname, lname, etc., bound to the import bindings.

The easiest way to verify that the web service is working as expected may be to simply drag &#038; drop the entire data connection onto a blank form. This will create all of the import and export fields and bindings. You can then fill-in the empid and lanid fields manually and invoke the web service. You should then see the data coming back in the fname, lname, etc., fields.

If that works, then it points to a binding problem in your form.</description>
		<content:encoded><![CDATA[<p>Han Dao,</p>
<p>If you&#8217;re calling the web service appropriately, then this kind of trouble is probably related to the bindings you&#8217;ve set on the fields.</p>
<p>Web services have import and export bindings. The export bindings are for the request part of the web service (the data that goes out like the empid data to do the query) and the import bindings are for the response part (the data that comes back to the form like fname, lname, etc.).</p>
<p>You should have the lanid and empid fields bound to export bindings within the web service data connection and you should also have fields bound to fname, lname, etc., bound to the import bindings.</p>
<p>The easiest way to verify that the web service is working as expected may be to simply drag &#038; drop the entire data connection onto a blank form. This will create all of the import and export fields and bindings. You can then fill-in the empid and lanid fields manually and invoke the web service. You should then see the data coming back in the fname, lname, etc., fields.</p>
<p>If that works, then it points to a binding problem in your form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Dao</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33591</link>
		<dc:creator>Han Dao</dc:creator>
		<pubDate>Wed, 19 Nov 2008 14:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33591</guid>
		<description>Hi Stefan,

I got every thing done now but I don't get all the information populated except for only one fields. I created a web services in workflow 7.2 and created a form to connect to that web service, I binded fields such as lanid, empid, fname, lname, address, etc to that w.s and created an invoke button to populate the data base on the laid but I only got the empid populate shown only but not fname, lname, etc. I know that I may miss something here but I could not figure what it is. Any of your idea would be appreciated. Note that the web service contains a query from 2 different views/tables in which the lanid and empid are from viewA and empid and other fields are from viewB.

Thanks in advance,
Han Dao</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I got every thing done now but I don&#8217;t get all the information populated except for only one fields. I created a web services in workflow 7.2 and created a form to connect to that web service, I binded fields such as lanid, empid, fname, lname, address, etc to that w.s and created an invoke button to populate the data base on the laid but I only got the empid populate shown only but not fname, lname, etc. I know that I may miss something here but I could not figure what it is. Any of your idea would be appreciated. Note that the web service contains a query from 2 different views/tables in which the lanid and empid are from viewA and empid and other fields are from viewB.</p>
<p>Thanks in advance,<br />
Han Dao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Dao</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33442</link>
		<dc:creator>Han Dao</dc:creator>
		<pubDate>Mon, 17 Nov 2008 17:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-33442</guid>
		<description>Hi Stefan,

I am still in learning phase of LiveCycle Designer and Workflow . I'm trying to follow your tutorial "Connect to Web Service" but having a problem that I don't get the other data populate. How do I make the form that when a user enter a emp ID and press on the button then the response will populate all the information such as name, address, etc for that empl ID which connect from the web service that I created in the Workflow (I created it by using SQL qpac in Wkflow 7.2)? I know that I miss something but could not figure out so I would like to get some help/hints from you. Note that I am still using LiveCycle  Designer and Worflow 7.2. Do you have some tutorial or example from the scratch, please provide it. Thanks very much in advance. I appreciated much. 

Regards,
Han Dao</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I am still in learning phase of LiveCycle Designer and Workflow . I&#8217;m trying to follow your tutorial &#8220;Connect to Web Service&#8221; but having a problem that I don&#8217;t get the other data populate. How do I make the form that when a user enter a emp ID and press on the button then the response will populate all the information such as name, address, etc for that empl ID which connect from the web service that I created in the Workflow (I created it by using SQL qpac in Wkflow 7.2)? I know that I miss something but could not figure out so I would like to get some help/hints from you. Note that I am still using LiveCycle  Designer and Worflow 7.2. Do you have some tutorial or example from the scratch, please provide it. Thanks very much in advance. I appreciated much. </p>
<p>Regards,<br />
Han Dao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-29024</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 15 Sep 2008 16:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-29024</guid>
		<description>Ram,

I can't speak to the specifics of what's required with respect to the IMS database however I can suggest what the setup would look like for a database in general:

It sounds like your form is a data capture solution, meaning that you don't have a need to pre-populate it with data from the database. Users simply download the form from your website, fill it out and you want the data submitted directly into your database. If that's the case, then I suggest you consider the following options:

&lt;ol&gt;
&lt;li&gt;Create a web service and connect your form to it using a &lt;a href="http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/" rel="nofollow"&gt;data connection&lt;/a&gt;. Upon clicking a submit button on the form, the data would be submitted directly to the web service which would, in turn, insert the data into the database. In order to implement this solution, you'll need LiveCycle ES with LiveCycle Reader Extensions ES in order to extend the PDF to allow for communication with the web service.&lt;/li&gt;
&lt;li&gt;Create a web service and connect your form to it using a data connection however you would specify that the web service execution would take place on the server, which means Acrobat/Reader would not be submitting the data to the web service. This task would occur on the LiveCycle ES server running in the back-end. In this case, you would LiveCycle ES with LiveCycle Forms ES.&lt;/li&gt;
&lt;li&gt;Create a web service and create a web page that can process an &lt;a href="http://blogs.adobe.com/stevex/2007/06/http_post_update.html" rel="nofollow"&gt;HTTP POST&lt;/a&gt; call. Ideally, this would be either an ASP, PHP or JSP-style page. This page would take the posted XML data and relay it to the web service. Or it could even insert it directly into the database (e.g. in a PHP+MySQL setup). That's up to you. The advantage here is that you don't need LiveCycle in the back-end however it's an extra step to go through the web page and you can only submit XML data (as opposed to the entire form, if you needed to do that).&lt;/li&gt;
&lt;/ol&gt;

Please note that I can't guarantee any of these solutions and I can't speak to the degree of security of each one. They're just some ideas for your consideration.</description>
		<content:encoded><![CDATA[<p>Ram,</p>
<p>I can&#8217;t speak to the specifics of what&#8217;s required with respect to the IMS database however I can suggest what the setup would look like for a database in general:</p>
<p>It sounds like your form is a data capture solution, meaning that you don&#8217;t have a need to pre-populate it with data from the database. Users simply download the form from your website, fill it out and you want the data submitted directly into your database. If that&#8217;s the case, then I suggest you consider the following options:</p>
<ol>
<li>Create a web service and connect your form to it using a <a href="http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/" rel="nofollow">data connection</a>. Upon clicking a submit button on the form, the data would be submitted directly to the web service which would, in turn, insert the data into the database. In order to implement this solution, you&#8217;ll need LiveCycle ES with LiveCycle Reader Extensions ES in order to extend the PDF to allow for communication with the web service.</li>
<li>Create a web service and connect your form to it using a data connection however you would specify that the web service execution would take place on the server, which means Acrobat/Reader would not be submitting the data to the web service. This task would occur on the LiveCycle ES server running in the back-end. In this case, you would LiveCycle ES with LiveCycle Forms ES.</li>
<li>Create a web service and create a web page that can process an <a href="http://blogs.adobe.com/stevex/2007/06/http_post_update.html" rel="nofollow">HTTP POST</a> call. Ideally, this would be either an ASP, PHP or JSP-style page. This page would take the posted XML data and relay it to the web service. Or it could even insert it directly into the database (e.g. in a PHP+MySQL setup). That&#8217;s up to you. The advantage here is that you don&#8217;t need LiveCycle in the back-end however it&#8217;s an extra step to go through the web page and you can only submit XML data (as opposed to the entire form, if you needed to do that).</li>
</ol>
<p>Please note that I can&#8217;t guarantee any of these solutions and I can&#8217;t speak to the degree of security of each one. They&#8217;re just some ideas for your consideration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-28880</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Fri, 12 Sep 2008 14:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-28880</guid>
		<description>Stefan

I am trying to implement a similar solution and my requirement is something like this:

I have a PDF form that was developed in LiveCycle Designer 8 and user rights enabled using Acrobat 8.
This PDF form will be posted on our organization's website, so that our users can download the form to their desktop. (Note: our users are not connected to our corporate network).
Users will fill out the form and then click on the Submit button located on the form.
When they submit, data should be posted directly to our IMS database.

We are still in the design phase and I would like to know what the architecture would look like. We have IMS connect which is an interface between the XML stream and the IMS database.


Now my question is:

1. What are all the components required to do this? (Web server, Application Server, LiveCycle Server, IMS Connect, IMS database). I am just looking for some step by step guide on how the data flows from pdf form to database how the components/servers are interacting.
2. Do we need to write any servlet/php scripts that will send the form data in xml or just changing the "Submit As" property would do the trick?


Much appreciate your help.</description>
		<content:encoded><![CDATA[<p>Stefan</p>
<p>I am trying to implement a similar solution and my requirement is something like this:</p>
<p>I have a PDF form that was developed in LiveCycle Designer 8 and user rights enabled using Acrobat 8.<br />
This PDF form will be posted on our organization&#8217;s website, so that our users can download the form to their desktop. (Note: our users are not connected to our corporate network).<br />
Users will fill out the form and then click on the Submit button located on the form.<br />
When they submit, data should be posted directly to our IMS database.</p>
<p>We are still in the design phase and I would like to know what the architecture would look like. We have IMS connect which is an interface between the XML stream and the IMS database.</p>
<p>Now my question is:</p>
<p>1. What are all the components required to do this? (Web server, Application Server, LiveCycle Server, IMS Connect, IMS database). I am just looking for some step by step guide on how the data flows from pdf form to database how the components/servers are interacting.<br />
2. Do we need to write any servlet/php scripts that will send the form data in xml or just changing the &#8220;Submit As&#8221; property would do the trick?</p>
<p>Much appreciate your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-27366</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 26 Aug 2008 18:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-27366</guid>
		<description>Thanks! This looks like EXACTLY what we need. I am going to start reasearching that more right now.</description>
		<content:encoded><![CDATA[<p>Thanks! This looks like EXACTLY what we need. I am going to start reasearching that more right now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-27237</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 25 Aug 2008 19:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-27237</guid>
		<description>Brian,

This is the sort of thing &lt;a href="http://www.adobe.com/products/livecycle/processmanagement/" rel="nofollow"&gt;LiveCycle ES Process Management&lt;/a&gt; was designed to handle. The process would manage the email routing as needed.</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>This is the sort of thing <a href="http://www.adobe.com/products/livecycle/processmanagement/" rel="nofollow">LiveCycle ES Process Management</a> was designed to handle. The process would manage the email routing as needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-26649</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 19 Aug 2008 23:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-26649</guid>
		<description>Stefan,
Thanks for your reply. This is totally off topic but maybe you can help me out or point me in the right direction...

My boss has asked me to develop a form that is filled out and then sent to a first, second, and third line manager in that order. The first line manager reviews the form, signs it, and e-mails it to the second line manager. The second and third line manager do the same. My boss wants to know how the form will handle the situation if one of the managers is out on sick leave or vaction. He wants the form to be able to forward itself to the next manager in line. From my understanding, once a form is sent out via e-mail it has no other connection with the world. I know for certain that the form cannot determine how long it has been sitting in someone e-mail's box. A suggestion my boss gave me was to send the form to next line manager and send the data via XML to a database on a server. A batch job would run every so often and check to see how long the data has been sitting in the database. If a certain amount of time has passed, then a program would load a pdf form with the data and automatically send it to the next manager in line. Obviously this is a very complex solution. I want to know if anything like this is possible using Livecycle 8 or Acrobat 8?</description>
		<content:encoded><![CDATA[<p>Stefan,<br />
Thanks for your reply. This is totally off topic but maybe you can help me out or point me in the right direction&#8230;</p>
<p>My boss has asked me to develop a form that is filled out and then sent to a first, second, and third line manager in that order. The first line manager reviews the form, signs it, and e-mails it to the second line manager. The second and third line manager do the same. My boss wants to know how the form will handle the situation if one of the managers is out on sick leave or vaction. He wants the form to be able to forward itself to the next manager in line. From my understanding, once a form is sent out via e-mail it has no other connection with the world. I know for certain that the form cannot determine how long it has been sitting in someone e-mail&#8217;s box. A suggestion my boss gave me was to send the form to next line manager and send the data via XML to a database on a server. A batch job would run every so often and check to see how long the data has been sitting in the database. If a certain amount of time has passed, then a program would load a pdf form with the data and automatically send it to the next manager in line. Obviously this is a very complex solution. I want to know if anything like this is possible using Livecycle 8 or Acrobat 8?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-26266</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 14 Aug 2008 14:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-26266</guid>
		<description>Brian,

I tested my sample form and I'm getting an "error 500" response from the "echoEmployee" web service. That tells me that there's something wrong with the web service (the server), not the form or Acrobat. Unfortunately, there's nothing I can do about that since I don't own it.

If your colleague had created a web service that required authentication and you were connecting to it with Designer 8.1, which doesn't support authenticated web service access (or you tried this with Designer 8.2 but didn't configure the authentication), then this would explain the error before they switched it to "anonymous access".

As for other web services out there, it could be an authentication problem just the same or something entirely different. It's difficult to tell what, exactly.</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>I tested my sample form and I&#8217;m getting an &#8220;error 500&#8243; response from the &#8220;echoEmployee&#8221; web service. That tells me that there&#8217;s something wrong with the web service (the server), not the form or Acrobat. Unfortunately, there&#8217;s nothing I can do about that since I don&#8217;t own it.</p>
<p>If your colleague had created a web service that required authentication and you were connecting to it with Designer 8.1, which doesn&#8217;t support authenticated web service access (or you tried this with Designer 8.2 but didn&#8217;t configure the authentication), then this would explain the error before they switched it to &#8220;anonymous access&#8221;.</p>
<p>As for other web services out there, it could be an authentication problem just the same or something entirely different. It&#8217;s difficult to tell what, exactly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
