Web Service Authentication - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Web Service Authentication

Last post 08-29-2011 05:34 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-22-2011 11:07 AM

    Web Service Authentication

    I have a browser-based full-trust InfoPath form.  In the managed code I've added to web services (userprofileservices and lists) as web references.  I'm able to query the values for the userprofileservices, but the lists query returns a 5337 (double hop) error.

    The problem is likely coming from the authentication method.  Our users don't use AD, but login through a Shibboleth system using 9Star ActiveShareFS.

    The lists web service is accessible to any user of the site, and using an AJAX/SOAP in webpages to retrieve list data doesn't cause me any problems.  I'm thinking it has to do with the credentials I'm supplying for the list web service, which is the standard: UseDefaultCredentials = true;

     

    Any thoughts would be appreciated.

     -Eric

  • 08-29-2011 05:34 PM In reply to

    Re: Web Service Authentication

    Why do you need to write code to query UserProfileServices and Lists? Why not just add data connections and then convert them to UDC files. If you do that you could change the credentials of the UDC proxy to access SharePoint using specific credentials. Of course that wouldn't pass the user names through though. Have you looked at creating a Single Sign On mapping?

    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.