<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45886.aspx</link><pubDate>Fri, 14 Aug 2009 17:57:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45886</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45886</wfw:commentRss><description>&lt;p&gt;K.&lt;/p&gt;
&lt;p&gt;When I&amp;#39;ve worked with web services to read/write to back-end data sources, I had to not only convert to UDC but also create an SSO app def and edit the UDC to make the permissions pass through properly.&lt;/p&gt;</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45883.aspx</link><pubDate>Fri, 14 Aug 2009 17:08:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45883</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45883</wfw:commentRss><description>From the original post.....&lt;br /&gt;&lt;br /&gt;(At first, each of these data connections were created through the GUI in InfoPath. After some researching, I switched these data connections to UDC&amp;#39;s stored on the same SharePoint site.)</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45842.aspx</link><pubDate>Fri, 14 Aug 2009 00:33:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45842</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45842</wfw:commentRss><description>&lt;p&gt;Too much to read - are the web service data connections converted to UDC?&lt;/p&gt;</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45607.aspx</link><pubDate>Fri, 07 Aug 2009 13:35:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45607</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45607</wfw:commentRss><description>Just tried Domain level security....  Preview mode fails with this error (on button click to query the web service):&lt;br /&gt;&lt;br /&gt;

System.Security.SecurityException&lt;br /&gt;
Request for the permission of type &amp;#39;System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39; failed.&lt;br /&gt;
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp;amp; stackMark, Boolean isPermSet)&lt;br /&gt;
   at System.Security.CodeAccessPermission.Demand()&lt;br /&gt;
   at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)&lt;br /&gt;
   at System.Net.HttpRequestCreator.Create(Uri Uri)&lt;br /&gt;
   at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)&lt;br /&gt;
   at System.Net.WebRequest.Create(Uri requestUri)&lt;br /&gt;
   at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;
   at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&lt;br /&gt;
   at EWC_Massage_Signup.EWC_Lists.Lists.GetListAndView(String listName, String viewName)&lt;br /&gt;
   at EWC_Massage_Signup.FormCode.CTRL4_13_Clicked(Object sender, ClickedEventArgs e)&lt;br /&gt;
   at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)&lt;br /&gt;
   at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;

Once I put it back to Full Trust, the web service queries work fine and I don&amp;#39;t receive any errors (in preview mode).....&lt;br /&gt;&lt;br /&gt;

Published form is still throwing an exception :(  Any other ideas??</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45605.aspx</link><pubDate>Fri, 07 Aug 2009 13:31:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45605</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45605</wfw:commentRss><description>Is this not accurate?&lt;br /&gt;&lt;br /&gt;

&lt;img src="http://mavscomputers.com/FullTrust.gif" alt="" /&gt;</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45572.aspx</link><pubDate>Fri, 07 Aug 2009 00:49:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45572</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45572</wfw:commentRss><description>Same server.   Would setting up SSO effect anything if they were on the same server.  Might do this just in case this is a weird resolution issue.</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45570.aspx</link><pubDate>Thu, 06 Aug 2009 23:53:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45570</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45570</wfw:commentRss><description>&lt;p&gt;No they don&amp;#39;t require Full Trust but they do require Admin Deploy.&lt;/p&gt;
&lt;p&gt;If InfoPath Forms Services and the Web Services are on different servers, you have a double hop issue.&lt;/p&gt;</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45563.aspx</link><pubDate>Thu, 06 Aug 2009 21:12:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45563</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45563</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m referencing the same Web Service 3 times.&amp;nbsp; All on the same server.&lt;/p&gt;&lt;p&gt;Unless I&amp;#39;m mistaken, I thought all Browser Enabled forms with managed code require Full Trust? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Some more info: 1st web service retrieves the data, then the next two either add a new item, or update an item.&amp;nbsp; (Both on button clicks)&lt;/p&gt;&lt;p&gt;For the time being, I created another button on the default view (loads before the 1st web service call) which can call one of the submit web services.&amp;nbsp; I get the same error on this button click.&lt;/p&gt;&lt;p&gt;Double-hop referring to 2 web service connections on different servers or the SharePoint Server with InfoPath Forms Service and the Web Service on different servers? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45562.aspx</link><pubDate>Thu, 06 Aug 2009 21:04:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45562</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45562.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45562</wfw:commentRss><description>&lt;p&gt;If it works from your client but not from the browser, it&amp;#39;s most likely a double hop authentication issue. Especially if Web Service reside on a different server? If so, you need to configure SharePoint to access it. You can use SSO for that. &lt;/p&gt;
&lt;p&gt;By the way: Full Trust is bad practice - you shouldn&amp;#39;t need it.&lt;/p&gt;</description></item><item><title>Web Service Connection - Works in 'Preview' - Errors after 'Publish'</title><link>https://www.infopathdev.com:443/forums/thread/45451.aspx</link><pubDate>Wed, 05 Aug 2009 17:08:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45451</guid><dc:creator>merlinf14b</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45451</wfw:commentRss><description>Building a complex browser enabled form that has multiple Data Connections to the UpdateListItems web service for the same site.  (2 Different lists, 3 different connections.)&lt;br /&gt;&lt;br /&gt;

Retrieve Data Connection - SharePoint List&lt;br /&gt;
Submit Data Connection - Web Service w/ CAML query (programatically generated) - Updates Existing Item&lt;br /&gt;
Submit Data Connection - Web Service w/ CAML query (programatically generated) - Creates New Item&lt;br /&gt;&lt;br /&gt;

(At first, each of these data connections were created through the GUI in InfoPath.  After some researching, I switched these data connections to UDC&amp;#39;s stored on the same SharePoint site.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;


The form is fully trusted.  Published to a SharePoint server with InfoPath Forms Services.  &lt;br /&gt;&lt;br /&gt;

All 3 web service connections work flawlessly while in &amp;#39;Preview&amp;#39; mode.  Once it&amp;#39;s published, the two submission web services return with an exception.&lt;br /&gt;&lt;br /&gt;

Thrown Error:&lt;br /&gt;&lt;br /&gt;

System.Net.WebException: The remote server returned an error: (403) Forbidden. &lt;br /&gt;
at System.Net.HttpWebRequest.GetResponse() &lt;br /&gt;
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName, Boolean isQuery) 
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution solution, Document document, String name, Boolean isQuery, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)&lt;br /&gt;&lt;br /&gt;


An entry has been added to the Windows event log of the server. &lt;br /&gt;
Log ID:5337&lt;br /&gt;&lt;br /&gt;

Corresponding SharePoint Log Entries:&lt;br /&gt;&lt;br /&gt;

08/05/2009 12:55:00.47 	w3wp.exe (0x0B98)                       	0x18E4	Forms Server                  	Forms Services Data Objects   	13zh	Exception	 System.Net.WebException: The remote server returned an error: (403) Forbidden.     at System.Net.HttpWebRequest.GetResponse()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName, Boolean isQuery)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution solution, Document document, String name, Boolean isQuery, DataAdapterTimer dataAdapterTimer, DataAdapt...	e66d480a-d5df-4812-b417-4622655454a4&lt;br /&gt;&lt;br /&gt;

08/05/2009 12:55:00.47*	w3wp.exe (0x0B98)                       	0x18E4	Forms Server                  	Forms Services Data Objects   	13zh	Exception	...erCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)	e66d480a-d5df-4812-b417-4622655454a4&lt;br /&gt;&lt;br /&gt;

08/05/2009 12:55:00.47 	w3wp.exe (0x0B98)                       	0x18E4	Forms Server                  	Forms Services Runtime - Busine	82g6	Warning 	Business logic failed due to an exception. (User: XXXX\xxxxxx, Form Name: FormName, IP: , Request: http://sharepointserver/_layouts/Postback.FormServer.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:FormName:-myXSD-2009-07-02T13-36-04, Type: WebException, Exception Message: The remote server returned an error: (403) Forbidden. The remote server returned an error: (403) Forbidden.)	e66d480a-d5df-4812-b417-4622655454a4&lt;br /&gt;&lt;br /&gt;

08/05/2009 12:55:00.49 	w3wp.exe (0x0B98)                       	0x18E4	Forms Server                  	Forms Services Object Model   	7tge	Assert  	Exception thrown from business logic event listener StackTrace:   at Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.CallFormCodeWithExceptionHandling(UserMessages userMessages, OMCall d)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.&amp;lt;&amp;gt;c__DisplayClass2.b__0()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.Click(Document document, XPathNavigator container)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventClick.Play(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Event.PlayEvent(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)     at Microsoft.Office.InfoPath.Server...	e66d480a-d5df-4812-b417-4622655454a4&lt;br /&gt;&lt;br /&gt;

08/05/2009 12:55:00.49*	w3wp.exe (0x0B98)                       	0x18E4	Forms Server                  	Forms Services Object Model   	7tge	Assert  	....DocumentLifetime.EventLogProcessor.&amp;lt;&amp;gt;c__DisplayClass1.b__0()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLog(Int32 expectedEventLogID)     at Microsoft.Office.InfoPath.Serv	e66d480a-d5df-4812-b417-4622655454a4&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>