Web service data connection in browser form not working - InfoPath Dev
in

InfoPath Dev

Web service data connection in browser form not working

Last post 07-21-2008 05:38 AM by noone5. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-30-2007 11:36 PM

    • dave17
    • Not Ranked
    • Joined on 10-31-2007
    • Posts 2

    Web service data connection in browser form not working

    Hi All

    I have an infopath 2007 browser-enabled form that contains a data connection to a web service that returns a list of active directory users. This then populates a drop-down list in the infopath form. I have created the required data connection library and udcx file for the data connection and the udcx file(s) are approved. I can successfully load the form in a browser with the drop-down populated with the AD users in a browser when running it on the server MOSS is hosted on, but receive an data source access error when run on any other machine. The strangest issue here is that IT WAS WORKING for around a month from other machines. I have tested this on other forms as I am changing all of my Infopath 2003 forms to be web-based and the same issue occurs on other forms I am testing, ie works on the server but nowhere else.

    The security level for the forms are domain and I have tried using the data source on both forms that are uploaded directly to a form library and to sharepoint central admin with the same result. I believe I have enabled everything required in Infopath services in central admin and struck on what to try next. The issue only occurs when running the forms in a browser on machines other than the server. So if I open a form in the infopath 2007 client on any other machine, the form(s) load successfully.

    Any help will be highly appreciated.

    Dave

  • 10-31-2007 11:28 AM In reply to

    Re: Web service data connection in browser form not working

    Hi

    OK not an expert on this but what does the event log say, might give you a good idea?

    Here to help

    Adam Harding
    Wales
    UK
  • 10-31-2007 05:27 PM In reply to

    • dave17
    • Not Ranked
    • Joined on 10-31-2007
    • Posts 2

    Re: Web service data connection in browser form not working

    There is nothing in the event log!

  • 11-07-2007 03:31 AM In reply to

    • Heidi
    • Not Ranked
    • Joined on 10-05-2007
    • Posts 4

    Re: Web service data connection in browser form not working

    Make sure that cross domain access is enabled for InfoPath Forms Services - Go to SharePoint Central Admin > Switch to the Application Management tab. Underneath InfoPath Forms Services - Choose Configure InfoPath Forms Services. Check "Allow cross domain access for user templates"

    (http://blogs.msdn.com/bowerm/archive/2006/12/06/calling-web-services-from-infopath-web-forms.aspx)

  • 07-21-2008 05:38 AM In reply to

    • noone5
    • Not Ranked
    • Joined on 07-21-2008
    • Posts 4

    Re: Web service data connection in browser form not working

     I have the same error.

     

    I have allow cross domain access for user templates.

     

    The error in the event log is 

    " The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' "

     Thank you for your help

     Raph

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.