<?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: Careful with Form Compatibility Settings</title>
	<atom:link href="http://forms.stefcameron.com/2009/02/11/careful-with-form-compatibility-settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2009/02/11/careful-with-form-compatibility-settings/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Fri, 10 Sep 2010 11:50:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Justin</title>
		<link>http://forms.stefcameron.com/2009/02/11/careful-with-form-compatibility-settings/comment-page-1/#comment-70348</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 06 May 2010 05:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/02/11/careful-with-form-compatibility-settings/#comment-70348</guid>
		<description>Hi Stefan,
Since the inception of a livecycle form into production, I’ve continually had an issue with the interaction of the livecycle form with our web service. The web service call appears to be working properly around 75-80% of the time but randomly fails to be executed. I have stress tested the web service and have not been able to replicate the error we’re experiencing in production. Recently we’ve put some low level debugging on the form to try and determine exactly what could be causing this issue however we don’t seem to be having a lot of luck.

The error that occurs is very generic. The code that calls the web service is as follows

   try{
       xfa.data.Submission.Common.SignaturesRequired.value =&quot;true&quot;;
       debug.traceLog(&quot;DivisionalOffice.DetermineDivisionalOfficeWSAddress - About to call AECDivisionalOfficeWSProd service.&quot;);
       xfa.connectionSet.AECDivisionalOfficeWSProd.execute(false);
       debug.traceLog(&quot;DivisionalOffice.DetermineDivisionalOfficeWSAddress - Returned from call AECDivisionalOfficeWSProd service without exception.&quot;);        
   }
   catch(err){
       debug.errorLog(&quot;DivisionalOffice.DetermineDivisionalOfficeWSAddress - Exception thrown during call to AECDivisionalOfficeWSProd: &quot; +err);
       webservicecalled =&quot;false&quot;;
       xfa.data.Submission.Common.SignaturesRequired.value =&quot;true&quot;;
       Submission.FlowedPage.Checklist1.returnDivisionalAddress.rawValue =DefaultStateAddress.value;
       Submission.FlowedPage.PrintSubform.Subform21.DivisionalAddress.rawValue =postSubmissionMessage +DefaultStateAddress.value;
   }

The resulting trace shows the following;
[trace] DivisionalOffice.DetermineDivisionalOfficeWSAddress - About to call AECDivisionalOfficeWSProd service.
2010:04:04, 13:05:55:051[error] DivisionalOffice.DetermineDivisionalOfficeWSAddress - Exception thrown during call to AECDivisionalOfficeWSProd: GeneralError: Operation failed.
&#124;&#124;2010:04:04, 13:05:55:051[trace] StructuredPostCode.exit - Returned from call to DivisionalOffice.DetermineDivisionalOfficeWSAddress

It looks to me as though the actual execute command is failing immediately. Do you know why this could be happening? It&#039;s something we&#039;ve been looking into for a couple of months but it is impossible to reproduce I&#039;m wondering, coult it be a platform/reader version issue? I have a check to ensure the reader version is at least 8.2.

Regards

Justin</description>
		<content:encoded><![CDATA[<p>Hi Stefan,<br />
Since the inception of a livecycle form into production, I’ve continually had an issue with the interaction of the livecycle form with our web service. The web service call appears to be working properly around 75-80% of the time but randomly fails to be executed. I have stress tested the web service and have not been able to replicate the error we’re experiencing in production. Recently we’ve put some low level debugging on the form to try and determine exactly what could be causing this issue however we don’t seem to be having a lot of luck.</p>
<p>The error that occurs is very generic. The code that calls the web service is as follows</p>
<p>   try{<br />
       xfa.data.Submission.Common.SignaturesRequired.value =&#8221;true&#8221;;<br />
       debug.traceLog(&#8220;DivisionalOffice.DetermineDivisionalOfficeWSAddress &#8211; About to call AECDivisionalOfficeWSProd service.&#8221;);<br />
       xfa.connectionSet.AECDivisionalOfficeWSProd.execute(false);<br />
       debug.traceLog(&#8220;DivisionalOffice.DetermineDivisionalOfficeWSAddress &#8211; Returned from call AECDivisionalOfficeWSProd service without exception.&#8221;);<br />
   }<br />
   catch(err){<br />
       debug.errorLog(&#8220;DivisionalOffice.DetermineDivisionalOfficeWSAddress &#8211; Exception thrown during call to AECDivisionalOfficeWSProd: &#8221; +err);<br />
       webservicecalled =&#8221;false&#8221;;<br />
       xfa.data.Submission.Common.SignaturesRequired.value =&#8221;true&#8221;;<br />
       Submission.FlowedPage.Checklist1.returnDivisionalAddress.rawValue =DefaultStateAddress.value;<br />
       Submission.FlowedPage.PrintSubform.Subform21.DivisionalAddress.rawValue =postSubmissionMessage +DefaultStateAddress.value;<br />
   }</p>
<p>The resulting trace shows the following;<br />
[trace] DivisionalOffice.DetermineDivisionalOfficeWSAddress &#8211; About to call AECDivisionalOfficeWSProd service.<br />
2010:04:04, 13:05:55:051[error] DivisionalOffice.DetermineDivisionalOfficeWSAddress &#8211; Exception thrown during call to AECDivisionalOfficeWSProd: GeneralError: Operation failed.<br />
||2010:04:04, 13:05:55:051[trace] StructuredPostCode.exit &#8211; Returned from call to DivisionalOffice.DetermineDivisionalOfficeWSAddress</p>
<p>It looks to me as though the actual execute command is failing immediately. Do you know why this could be happening? It&#8217;s something we&#8217;ve been looking into for a couple of months but it is impossible to reproduce I&#8217;m wondering, coult it be a platform/reader version issue? I have a check to ensure the reader version is at least 8.2.</p>
<p>Regards</p>
<p>Justin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
