<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: (401) Unauthorized, while connecting to a web service</title><link>https://www.infopathdev.com:443/forums/thread/101911.aspx</link><pubDate>Fri, 27 Mar 2015 11:45:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101911</guid><dc:creator>Shmul</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=101911</wfw:commentRss><description>&lt;p&gt;Many thanks!!! &lt;/p&gt;&lt;p&gt;I forgot about this solution, thought, that&amp;nbsp;it is only useful for GetUserInfoFromName webservice.&lt;/p&gt;</description></item><item><title>Re: (401) Unauthorized, while connecting to a web service</title><link>https://www.infopathdev.com:443/forums/thread/101903.aspx</link><pubDate>Thu, 26 Mar 2015 23:13:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101903</guid><dc:creator>Bre Huston</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101903.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=101903</wfw:commentRss><description>&lt;p&gt;Hello Shmul,&lt;/p&gt;
&lt;p&gt;In this instance you&amp;#39;re going to want to convert the data connection file to a udcx. You can then use your app pool credentials to authenticate the data connection. I attached a udcx for your reference, but the line you will want to edit in the udcx you create is this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;!--udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;&amp;#39; CredentialType=&amp;#39;&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication--&amp;gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&amp;lt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&lt;u&gt;&lt;em&gt;&amp;#39;APPidNameHere&amp;#39;&lt;/em&gt;&lt;/u&gt; CredentialType=&amp;#39;NTLM&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&amp;gt;&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;br /&gt;Bre&lt;/p&gt;</description></item><item><title>(401) Unauthorized, while connecting to a web service</title><link>https://www.infopathdev.com:443/forums/thread/101852.aspx</link><pubDate>Wed, 25 Mar 2015 09:52:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101852</guid><dc:creator>Shmul</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=101852</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;i have following problem: &lt;/p&gt;&lt;p&gt;i created an infopath 2013 form and published it&amp;nbsp;to a form library form. I used a solution from &lt;a href="http://www.infopathdev.com/forums/t/26246.aspx?PageIndex=1"&gt;http://www.infopathdev.com/forums/t/26246.aspx?PageIndex=1&lt;/a&gt;&amp;nbsp;to send an CAML to another SharePoint 2013 List. When i fill out this form from my local machine (via preview) - everything works fine. When i am trying to fill out the form and send it from SharePoint &lt;strong&gt;in browser &lt;/strong&gt;i become an error: &lt;span style="font-size:11pt;mso-bidi-font-family:Arial;mso-ansi-language:DE;mso-fareast-language:DE;mso-bidi-language:AR-SA;"&gt;„An error
occurred while trying to connect to a Web service.“. If on advansed settings i say, that the form should be fill out in a client application - it also works fine. Server log for an error: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:11pt;mso-bidi-font-family:Arial;mso-ansi-language:DE;mso-fareast-language:DE;mso-bidi-language:AR-SA;"&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:8.5pt;mso-ansi-language:EN-US;"&gt;Form submission failed. (User: 0#.w|lliw2k\llirad3,
Form Name: Overview MPS RC, IP: , Request: {&lt;font color="#0000ff"&gt;server}_layouts/15/FormServer.aspx?XsnLocation=&lt;font color="#000000"&gt;{&lt;/font&gt;&lt;font color="#0000ff"&gt;server}&lt;/font&gt;Overview&lt;/font&gt;
LRU
RC/Forms/template.xsn&amp;amp;SaveLocation={&lt;font color="#0000ff"&gt;server}&lt;/font&gt;Overview
LRU
RC&amp;amp;ClientInstalled=true&amp;amp;DefaultItemOpen=1&amp;amp;Source={&lt;font color="#0000ff"&gt;server}&lt;/font&gt;Overview%2520LRU%2520RC/Forms/AllItems.aspx#,
Form ID: urn:schemas-microsoft-com:office:infopath:Overview-MPS-RC:-myXSD-2015-03-24T05-52-45,
Type: DataAdapterException, Exception Message: The remote server returned an
error: (401) Unauthorized. &lt;/span&gt;&lt;span style="font-size:8.5pt;"&gt;The remote server returned an error: (401)
Unauthorized.)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

Server admin said, that from browser the infopath form should take identity from &amp;quot;&lt;span style="font-size:11pt;mso-bidi-font-family:Arial;mso-ansi-language:DE;mso-fareast-language:DE;mso-bidi-language:AR-SA;"&gt;Application
Pool Identity&amp;quot; to connect to a webservice. Can someone help me to find out, how to do it?&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;span style="font-size:11pt;mso-bidi-font-family:Arial;mso-ansi-language:DE;mso-fareast-language:DE;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;span style="font-size:11pt;mso-bidi-font-family:Arial;mso-ansi-language:DE;mso-fareast-language:DE;mso-bidi-language:AR-SA;"&gt;Best regards&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>