Get data from webservice which requires authentication - InfoPath Dev
in

InfoPath Dev

Get data from webservice which requires authentication

Last post 03-09-2013 01:33 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-06-2013 12:29 AM

    • wkargo
    • Not Ranked
    • Joined on 07-03-2012
    • Posts 9

    Get data from webservice which requires authentication

    Hi

     I would like to create a simple form which will have 2 input fields ( web service parameters ) , when they will contain values > 0 a 3rd field show show response from the webservice based on previously filled fields .

     The problem that i have is the credentials , when I'm creating the connection infopath is asking for it  , but when i open the form in the preview it cannot connect .

    I also tried to test it using web service infopath template , and this one giving me the following error when i want to test it :

     

    InfoPath either cannot connect to the data source or the service has timed out.

     

    Do you have any examples how to connect to web service which requires authentication ?

     

    Thanks in advance

  • 03-09-2013 01:33 PM In reply to

    Re: Get data from webservice which requires authentication

    For purpose of debugging in preview, set your form's security to full trust - go to File->Form Options->Security and deselect auto and make it Full Trust. Make sure you change it back to Auto->Domain Trust before publishing. The data connections may have to be "Convert"ed into universal data connections via the data connection dialog and you may need to edit the UDCx files that you generate to add credentials if the Web service is running on a different server.
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.