Data Conenctions to WebServices always fall into Timeout Error

S

Sebnunes

Hi all,

I've just deployed my Infopath form in my Acceptance and I keep getting
Timeout errors when the form opens.

The form was working properly in the Dev environment but I can't figure out
why I'm having those Timeout Errors.

The Data Connection files are published in an Data Connection Library and
are approved. When I test the Web Service that the Data Connection is calling
it works fine.

In the SharePoint log I have the following message:
Forms Server Forms Services Data Objects Exception
System.Net.WebException: The operation has timed out at
System.Net.HttpWebRequest.GetRequestStream() at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSyncInternal(XmlDocument
soapRequestXml, String soapRequestString, Uri serviceUrl, Uri soapAction,
Int64 timeOutMillisec, DataAdapterCredentials credentials) at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSync(XmlDocument
soapRequest, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec,
DataAdapterCredentials credentials) at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean
resultUseDataset, XPathNavigator errorsSubDOM, ...
Forms Server Forms Services Data Objects
Exception ...Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution
solution, Document document, String name, Boolean isQuery, DataAdapterTimer
dataAdapterTimer, DataAdapterCredentials credentials, Boolean useDcl, Boolean
usePr
Forms Server Forms Services Data Objects Medium Data
adapter failed during OnLoad: The operation has timed out
Forms Server Forms Services Runtime - Data C 82fy Warning
The following query failed: GetFieldsDictionary (User: xxxx, Form Name: BPW
- StageGate, IP: , Request:
http://xxxxx.local:8000/_layouts/Fo.../busdev/SG/SGP/default.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-com:eek:ffice:infopath:BPW---StageGate:-myXSD-2005-10-21T21-12-27,
Type: DataAdapterException, Exception Message: The operation has timed out
The operation has timed out) 611db1db-d82b-4956-806e-1d16e6fa5300


Any idea why I could have this error ?

Sebastien
 
B

Brian Cowley

Hi,

Did you have any luck finding a solution to this problem. I have a similiar
problem using Infopath 2007 and SQL 2005 Native Web Services. Everything
works fine one moment and then the next things go haywire!! I am really lost
and frustrated. Am thinking of dropping infopath altogether and using a
different product.

HELP PLEASE!!

Sebnunes said:
Hi all,

I've just deployed my Infopath form in my Acceptance and I keep getting
Timeout errors when the form opens.

The form was working properly in the Dev environment but I can't figure out
why I'm having those Timeout Errors.

The Data Connection files are published in an Data Connection Library and
are approved. When I test the Web Service that the Data Connection is calling
it works fine.

In the SharePoint log I have the following message:
Forms Server Forms Services Data Objects Exception
System.Net.WebException: The operation has timed out at
System.Net.HttpWebRequest.GetRequestStream() at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSyncInternal(XmlDocument
soapRequestXml, String soapRequestString, Uri serviceUrl, Uri soapAction,
Int64 timeOutMillisec, DataAdapterCredentials credentials) at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSync(XmlDocument
soapRequest, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec,
DataAdapterCredentials credentials) at
Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean
resultUseDataset, XPathNavigator errorsSubDOM, ...
Forms Server Forms Services Data Objects
Exception ...Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution
solution, Document document, String name, Boolean isQuery, DataAdapterTimer
dataAdapterTimer, DataAdapterCredentials credentials, Boolean useDcl, Boolean
usePr
Forms Server Forms Services Data Objects Medium Data
adapter failed during OnLoad: The operation has timed out
Forms Server Forms Services Runtime - Data C 82fy Warning
The following query failed: GetFieldsDictionary (User: xxxx, Form Name: BPW
- StageGate, IP: , Request:
http://xxxxx.local:8000/_layouts/Fo.../busdev/SG/SGP/default.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-com:eek:ffice:infopath:BPW---StageGate:-myXSD-2005-10-21T21-12-27,
Type: DataAdapterException, Exception Message: The operation has timed out
The operation has timed out) 611db1db-d82b-4956-806e-1d16e6fa5300


Any idea why I could have this error ?

Sebastien
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top