locked
Cannot add Data Connection in Infopath 2010 RRS feed

  • Question

  • I'm trying to add a data connection (web service) in Infopath 2010 to our Sharepoint 2010 server using :
    http://server01/_vti_bin/UserProfileService.asmx

    but Infopath keeps saying that the Internet address is not valid. More details says:

    The file is not a valid XML file

    The file cannot be accessed.

     

    I can browse to the site however using a web browser

    Hope someone can help me out.

    Wednesday, July 7, 2010 9:48 AM

Answers

  • Found out the problem

    There was no top-level site created. Novice error!

    Thursday, July 8, 2010 11:18 AM

All replies

  • I tried it and it works with both infopath 2007 and 2010

    Can you access it with Sharepoint Designer

    have you tried another userid in case its permssions related eve nthough it doesnt sound like it.

    Wednesday, July 7, 2010 1:11 PM
  • You say you can "browse to the site however using a web browser."  Did you mean you can browse to this EXACT URL?  http://server01/_vti_bin/UserProfileService.asmx

    I've been using the UserProfileService in my 2010 environments since last July or so, and I use it in every form I build, so I know that it works.  When I get the error you described, it's due to a typo mistake in the URL.


    SharePoint Architect || Microsoft MVP || My Blog
    Wednesday, July 7, 2010 2:18 PM
  • Are you using WSS (the free version)?  WSS is not going to have the user profile service.
    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    Thursday, July 8, 2010 2:14 AM
  • Great point, Laura.  It just depends on what he meant by the comment about being able to browse to it...
    SharePoint Architect || Microsoft MVP || My Blog
    Thursday, July 8, 2010 2:32 AM
  • Found out the problem

    There was no top-level site created. Novice error!

    Thursday, July 8, 2010 11:18 AM
  • How do you concluded that top level site was not created? any PS script? I am getting following error when I tried UserProfileService

    The form contains XML that cannot be parsed:
    End tag 'ul' does not match the start tag 'p'.

    Line 357, Position 17
                  </ul>
    ----------------^

    How do you overcome this problem?

    Thursday, March 1, 2012 9:01 PM