<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tarekahf</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6736</link>
		<dc:creator>tarekahf</dc:creator>
		<pubDate>Thu, 02 Dec 2010 05:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6736</guid>
		<description>Thanks Stefan for the great replies. I just wish that you can emable email notification for the comment which you are subscribed to.

Tarek.</description>
		<content:encoded><![CDATA[<p>Thanks Stefan for the great replies. I just wish that you can emable email notification for the comment which you are subscribed to.</p>
<p>Tarek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6735</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Mon, 15 Nov 2010 22:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6735</guid>
		<description>@Julian,

I have exactly what you&#039;re looking for: See my tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2009/03/23/pre-process-web-service-responses/&quot; rel=&quot;nofollow&quot;&gt;pre-processing web service responses&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Julian,</p>
<p>I have exactly what you&#8217;re looking for: See my tutorial on <a href="http://forms.stefcameron.com/2009/03/23/pre-process-web-service-responses/" rel="nofollow">pre-processing web service responses</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6734</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Thu, 11 Nov 2010 19:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6734</guid>
		<description>Hi Stefan,

I have a question for you, maybe you have experienced this requirements before, and have a few minutes to help me…

I am using a web service based data connection, with form fields bound to the request and response parameters. Everything works fine, except one thing. I am trying to identify the moment data comes back, as I need to trigger more code inside the form. For instance, i need to make form updates depending on the received response. Change event does not work with anything but direct user actions, and the web service response is treated like an import data action, not followed by change event… Do you know an approach that would allow me to trap or listen for the moment data comes through the web service response?

Thank you,
Julian</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I have a question for you, maybe you have experienced this requirements before, and have a few minutes to help me…</p>
<p>I am using a web service based data connection, with form fields bound to the request and response parameters. Everything works fine, except one thing. I am trying to identify the moment data comes back, as I need to trigger more code inside the form. For instance, i need to make form updates depending on the received response. Change event does not work with anything but direct user actions, and the web service response is treated like an import data action, not followed by change event… Do you know an approach that would allow me to trap or listen for the moment data comes through the web service response?</p>
<p>Thank you,<br />
Julian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6733</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 13 Oct 2010 14:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6733</guid>
		<description>@TarekAHF,

Unfortunately, I don&#039;t think you can define a WSDL Connection with embedded credentials (that wouldn&#039;t be very secure).

It looks like you could do it using the &lt;a href=&quot;http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.1103.html&quot; rel=&quot;nofollow&quot;&gt;SOAP object&lt;/a&gt; in the JavaScript API for Acrobat. The SOAP.connect() method takes a &lt;a href=&quot;http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.1110.html&quot; rel=&quot;nofollow&quot;&gt;SOAP.request&lt;/a&gt; object which has an authentication parameter where you can supply a username and password but keep in mind that these will be stored in &lt;b&gt;plain text&lt;/b&gt; in your form (which is not secure at all). Then you will have to manually execute the SOAP call, get the response data and load it into your form.</description>
		<content:encoded><![CDATA[<p>@TarekAHF,</p>
<p>Unfortunately, I don&#8217;t think you can define a WSDL Connection with embedded credentials (that wouldn&#8217;t be very secure).</p>
<p>It looks like you could do it using the <a href="http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.1103.html" rel="nofollow">SOAP object</a> in the JavaScript API for Acrobat. The SOAP.connect() method takes a <a href="http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.1110.html" rel="nofollow">SOAP.request</a> object which has an authentication parameter where you can supply a username and password but keep in mind that these will be stored in <b>plain text</b> in your form (which is not secure at all). Then you will have to manually execute the SOAP call, get the response data and load it into your form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TarekAHF</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6732</link>
		<dc:creator>TarekAHF</dc:creator>
		<pubDate>Mon, 04 Oct 2010 09:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6732</guid>
		<description>Thanks Stefan.

But, the method shown here http://www.adobe.com/devnet/livecycle/articles/wsdl_binding.html will always prompt the user to enter user name and password. How to embed the credential inside the WSDL connection definition ?

Tarek.</description>
		<content:encoded><![CDATA[<p>Thanks Stefan.</p>
<p>But, the method shown here <a href="http://www.adobe.com/devnet/livecycle/articles/wsdl_binding.html" rel="nofollow">http://www.adobe.com/devnet/livecycle/articles/wsdl_binding.html</a> will always prompt the user to enter user name and password. How to embed the credential inside the WSDL connection definition ?</p>
<p>Tarek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6731</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 01 Oct 2010 14:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6731</guid>
		<description>@TarekAHF,

LiveCycle Designer 8.2.1 added support for &lt;a href=&quot;http://www.adobe.com/devnet/livecycle/articles/wsdl_binding.html&quot; rel=&quot;nofollow&quot;&gt;secured web service calls&lt;/a&gt; where access to the web service is protected by a username/password authentication layer.</description>
		<content:encoded><![CDATA[<p>@TarekAHF,</p>
<p>LiveCycle Designer 8.2.1 added support for <a href="http://www.adobe.com/devnet/livecycle/articles/wsdl_binding.html" rel="nofollow">secured web service calls</a> where access to the web service is protected by a username/password authentication layer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TarekAHF</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6730</link>
		<dc:creator>TarekAHF</dc:creator>
		<pubDate>Tue, 14 Sep 2010 07:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6730</guid>
		<description>What if the web service requires authentication (say Simple User Name/Password) ?

I managed to call a web service that requires authentication, but this is prompting the user to enter the credentials.

How to call the web service and pass the User Name / Password without prompting the user ?

How to embed the password inside the PDF, and prevent the user from getting the password ?

Tarek.</description>
		<content:encoded><![CDATA[<p>What if the web service requires authentication (say Simple User Name/Password) ?</p>
<p>I managed to call a web service that requires authentication, but this is prompting the user to enter the credentials.</p>
<p>How to call the web service and pass the User Name / Password without prompting the user ?</p>
<p>How to embed the password inside the PDF, and prevent the user from getting the password ?</p>
<p>Tarek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6729</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Thu, 02 Sep 2010 16:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6729</guid>
		<description>@faith,

Thanks for pointing that out. I have posted a second sample form (attached to this post) which uses a different web service. Hopefully that gives you a good comparison point for your form.</description>
		<content:encoded><![CDATA[<p>@faith,</p>
<p>Thanks for pointing that out. I have posted a second sample form (attached to this post) which uses a different web service. Hopefully that gives you a good comparison point for your form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faith</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6728</link>
		<dc:creator>faith</dc:creator>
		<pubDate>Tue, 24 Aug 2010 15:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6728</guid>
		<description>Hi
I am using LiveCycle Designer. I manage to setup a connection to a web service and and select the operation.
How ever the input and out put fields don&#039;t dispaly.
I would like to know if this is due to my WSDL setup.
How can I be sure?.
I would like to look at the WSDL used in this example to be sure but the link does not work. Can you help

Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
I am using LiveCycle Designer. I manage to setup a connection to a web service and and select the operation.<br />
How ever the input and out put fields don&#8217;t dispaly.<br />
I would like to know if this is due to my WSDL setup.<br />
How can I be sure?.<br />
I would like to look at the WSDL used in this example to be sure but the link does not work. Can you help</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6727</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/#comment-6727</guid>
		<description>@CarlosN,

From page 1186 in the &lt;a href=&quot;http://partners.adobe.com/public/developer/xml/index_arch.html#xfa_31&quot; rel=&quot;nofollow&quot;&gt;XFA 3.1 specification&lt;/a&gt;:

&lt;blockquote&gt;In this release Adobe products only support the password authentication method. This method is supported at both the transport (HTTPS) and SOAP levels.&lt;/blockquote&gt;

Based on that, I think HTTPS for WSDL connections should work, at least in LiveCycle ES2, but perhaps in earlier versions as well.</description>
		<content:encoded><![CDATA[<p>@CarlosN,</p>
<p>From page 1186 in the <a href="http://partners.adobe.com/public/developer/xml/index_arch.html#xfa_31" rel="nofollow">XFA 3.1 specification</a>:</p>
<blockquote><p>In this release Adobe products only support the password authentication method. This method is supported at both the transport (HTTPS) and SOAP levels.</p></blockquote>
<p>Based on that, I think HTTPS for WSDL connections should work, at least in LiveCycle ES2, but perhaps in earlier versions as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

