136 reputation
13
bio website
location
age
visits member for 2 years, 7 months
seen Jul 13 '13 at 18:47

Oct
17
awarded  Teacher
Aug
6
awarded  Popular Question
Jul
2
awarded  Curious
May
15
awarded  Popular Question
Apr
7
awarded  Popular Question
Jan
21
awarded  Popular Question
Jun
10
answered Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Jun
5
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Thank you for your ideas and interest, Alexey. I opened a support case with Microsoft and he helped me fix it. I learned from him how to enable verbose logging with Powershell and I sent him the log file. Strangely, he found no errors in the log while we produced the failure. Ultimately, re-do of the data connection but without the creation of a .UDCX file seemed to do it.
Jun
3
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions. If this form template is published to a SharePoint document library, cross-domain access for user form templates must be enabled under InfoPath Forms Services in SharePoint Central Administration, and the data connection settings must be stored in a UDC file in a data connection library in the same site collection. An entry has been added to the Windows event log of the server. Log ID:6932 Correlation ID:337a5105-dd0b-4816-ad29-760a95185c75
Jun
3
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
I set Compatibility exactly as you described above and then I redid the whole form (this time without .UDCX file) and published to new Forms library. Now I get "cross domain" error (yet I already enabled Cross Domain in Central Admin). Here is what happens when I browse form (see next comment).
May
31
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Alexey - see UPDATE with ULS entries requested by Alexey Krasheninnikov 05/31/2013 in the original post. File is simply .txt viewable in Notepad with WordWrap off. What tool should be used to capture the SOAP messages for this? Any advice on that? Thanks for your help and interest.
May
31
revised Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
data from ULS log provided for Alexey K.
May
29
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
See UPDATE in the original post where attempt to follow one of your guesses above (Link 2) was tried and I describe the slight change in the failure.
May
29
revised Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
add output from suggestions that still fail
May
29
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Thanks Behrouz for your ideas. I read Link 1 above and my settings for Authentication are already "correct" compared to what he said fixed his problem. I read Link 2 above and there is lots of pain described with only 1 idea worth exploring which I did. Namely, I simplified my form even more and UNCHECKED "Automatically retrieve data when form is opened" in the data connection and added 1 rule at Form Load. It still fails but interestingly does not throw the Event ID 5566 in Windows Event Log. Link 3 above does not apply - I do not use Claims Authentication. Will try to post screenshot too.
May
29
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Thanks Alexey BUT the original post states in Symptom 2 above that PREVIEW does NOT run fine (screen captures show error). So your 1st paragraph seems like a guess that does not apply (e.g. what service account(s) besides the current account I describe?). I would not know what to look for in your 2nd idea. I ran Fiddler and all it shows is the HTTP 500 error with no reason codes, nothing useful. I am not using a proxy nor client certificate authentication. I am using Classic Authentication in all SP web applications. Loopback issue as described is NOT happening on my server. Thanks for trying
May
23
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
comments can be added via the link called add comment which when clicked opens a text box for typing comments and exposes a button to the right with caption "Add Comment" for committing the comment. Also, are you stating that the udc:authentication element is commented out too? That is, that somehow the web method discovers the identity tns:AccountName at runtime?
May
23
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Maybe this is my incorrect terminology: I am logging on directly to the SP server using a domain account defined in our Active Directory on our domain controller. That is, the account used is a "network account" called OURDOMAIN\sharepointAdmin but I am using Remote Desktop to access the SP server machine directly. So, I guess strictly-speaking, I am NOT logged on locally.
May
23
awarded  Promoter
May
21
comment Infopath 2010 form fails in attempt to use GetUserProfileByName method from UserProfileService.asmx
Thanks for your interest! Yes, I clicked File then Publish (to the URL above). I guess that is the Wizard. I have since used Quick Publish since the URL is stored. He comes back with a "success" regarding Publish but when I browse the form it throws the 5566 event (error). Hope you can help me think of something. Can you confirm that the <udc:authentication element of the .udcx file is indeed to be left as comments? I interpreted Itay's blog to say that somehow the required parameter to the webmethod, tns:AccountName would be supplied at runtime. Can't get clarity on that issue.