TimedOut Error when Updating Infopath Form Library files using webserviceHi All,<br/>I am having problem of Operation Timeout when i am call webservice from BizTalk ..<br/>Actually i call webservice from class library..like mentioned below..<br/><br/><span style="font-size:x-small;color:#008080"><span style="font-size:x-small;color:#008080"> <p>Boolean</p> </span></span> <p><span style="font-size:x-small"><span style="font-size:xx-small">ans = WebService_X.UpdateFormLibrary(Emp_login, CoachLogin);<br/></span></span></p> then the value of ans i use to update database as well ..<br/>the response is taking 60 per file ..<br/>Now if there are 5 to 6 files for an employee it will take around 6 to 7 mins to update the files in forms Xml..<br/>Now to avoid this i increased the timeout at BizTalk level from where i am calling this webservice also in inetmgr i increased timeout...<br/><br/>Now what i am observing is while doing update to form library ..there is ta=ime table by a code statement which will download the Xml and update..code mentioned below..<br/><br/> <pre>spFolder = webSite.Folders[strFolderPath].SubFolders[strSubFolderPath]; <strong> BLANK = spFolder.Files[LI[&quot;Name&quot;].ToString()];</strong> MemoryStream inStream = new MemoryStream(BLANK.OpenBinary()); XmlTextReader reader = new XmlTextReader(inStream); XmlDocument xd = new XmlDocument(); xd.Load(reader); reader.Close(); inStream.Close();</pre> Now the statement  <strong>BLANK = spFolder.Files[LI[&quot;Name&quot;].ToString()];<br/></strong>is taking around 45 to 50 secs..<br/>this also slow down my sharepoint site..<br/>due to which time for response is increased drastically ..and due to which at BizTalk i get timeout error ..<br/><br/><br/><br/>Pls advise what could be the problem which making sharepoint site slower ...<br/><br/>Sandeep© 2009 Microsoft Corporation. All rights reserved.Thu, 02 Jul 2009 11:09:42 Z1886fc25-0e34-4bb3-ba0e-939771562bc9http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/1886fc25-0e34-4bb3-ba0e-939771562bc9#1886fc25-0e34-4bb3-ba0e-939771562bc9http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/1886fc25-0e34-4bb3-ba0e-939771562bc9#1886fc25-0e34-4bb3-ba0e-939771562bc9Sandeep.Handahttp://social.msdn.microsoft.com/Profile/en-US/?user=Sandeep.HandaTimedOut Error when Updating Infopath Form Library files using webserviceHi All,<br/>I am having problem of Operation Timeout when i am call webservice from BizTalk ..<br/>Actually i call webservice from class library..like mentioned below..<br/><br/><span style="font-size:x-small;color:#008080"><span style="font-size:x-small;color:#008080"> <p>Boolean</p> </span></span> <p><span style="font-size:x-small"><span style="font-size:xx-small">ans = WebService_X.UpdateFormLibrary(Emp_login, CoachLogin);<br/></span></span></p> then the value of ans i use to update database as well ..<br/>the response is taking 60 per file ..<br/>Now if there are 5 to 6 files for an employee it will take around 6 to 7 mins to update the files in forms Xml..<br/>Now to avoid this i increased the timeout at BizTalk level from where i am calling this webservice also in inetmgr i increased timeout...<br/><br/>Now what i am observing is while doing update to form library ..there is ta=ime table by a code statement which will download the Xml and update..code mentioned below..<br/><br/> <pre>spFolder = webSite.Folders[strFolderPath].SubFolders[strSubFolderPath]; <strong> BLANK = spFolder.Files[LI[&quot;Name&quot;].ToString()];</strong> MemoryStream inStream = new MemoryStream(BLANK.OpenBinary()); XmlTextReader reader = new XmlTextReader(inStream); XmlDocument xd = new XmlDocument(); xd.Load(reader); reader.Close(); inStream.Close();</pre> Now the statement  <strong>BLANK = spFolder.Files[LI[&quot;Name&quot;].ToString()];<br/></strong>is taking around 45 to 50 secs..<br/>this also slow down my sharepoint site..<br/>due to which time for response is increased drastically ..and due to which at BizTalk i get timeout error ..<br/><br/><br/><br/>Pls advise what could be the problem which making sharepoint site slower ...<br/><br/>SandeepThu, 02 Jul 2009 06:34:13 Z2009-07-02T06:34:13Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/1886fc25-0e34-4bb3-ba0e-939771562bc9#c0d6f53e-a4fe-4146-a368-0c4d78f68f59http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/1886fc25-0e34-4bb3-ba0e-939771562bc9#c0d6f53e-a4fe-4146-a368-0c4d78f68f59Sandeep.Handahttp://social.msdn.microsoft.com/Profile/en-US/?user=Sandeep.HandaTimedOut Error when Updating Infopath Form Library files using webserviceHi All.. I got the solution.. Instead of BLANK = spFolder.Files[LI[&quot;Name&quot;].ToString()]; i wrote .. BLANK = LI.File; and it worked.... Thanks SandeepThu, 02 Jul 2009 11:09:27 Z2009-07-02T11:09:27Z