Increasing timeout for InfoPath and Webservice - InfoPath Dev
in

InfoPath Dev

Increasing timeout for InfoPath and Webservice

Last post 11-09-2006 02:29 PM by dgibson5531. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-09-2006 05:36 AM

    Increasing timeout for InfoPath and Webservice

    Can someone tell me specifically how you increase the timeout for an InfoPath data connection with code ? Can you give me an example of code needed ? I have a production application that is failing for sites in Europe traveling slower Wan links.
  • 11-09-2006 12:04 PM In reply to

    Re: Increasing timeout for InfoPath and Webservice

    Hi,
    Here is the code to set timeout for a Webservice connection.
    WebServiceAdapter2 wbserviceAdapter = (WebServiceAdapter2) thisXDocument.DataAdapters["connection name"];
    wbserviceAdapter.Timeout = 1234;

    You will also have a similar option in ADOAdapter2(DB connection) also.
  • 11-09-2006 02:29 PM In reply to

    Re: Increasing timeout for InfoPath and Webservice

    Thanks.
    we are executing the data connections via rules, I guess we will need to change so the data connection is executed via VB script behind the form ?
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.