简体   繁体   English

如何在SSRS报表查询生成器中使用SharePoint Web服务'getUserProfileByName'corect?

[英]How to use SharePoint web service 'getUserProfileByName' corect in SSRS report query builder?

I have several SSRS 2005 reports that i am updating to SSRS 2008 however there is a data set that requires using the SharePoint 2010 web service 'getUserProfileByName' to complete the report. 我有几个SSRS 2005报告,我正在更新到SSRS 2008,但是有一个数据集需要使用SharePoint 2010 Web服务'getUserProfileByName'来完成报告。 However, the old query that apparently 'worked' in the old 2005 reports is causing issues in the 2008 version reports. 但是,在旧的2005年报告中显然“有效”的旧查询导致2008年版本报告中出现问题。 When I trying running the reports both locally and on the SharePoint site i am getting the server cannot perform operation, type error 500 or 'unauthorized operation' errors spewed back at me. 当我尝试同时在本地和SharePoint网站上运行报告时,我发现服务器无法执行操作,请键入错误500或“未经授权的操作”错误。

This is the query that is being run in the SSRS reports: 这是SSRS报告中正在运行的查询:

<Query>

<SoapAction>http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName</SoapAction>


<ElementPath IgnoreNamespaces="True">GetUserProfileByNameResponse{}/GetUserProfileByNameResult{}/PropertyData{Name, Values}
</ElementPath>
</Query>

Can anyone identify what is wrong or how to correct this? 任何人都可以识别出什么问题或如何解决吗?

This was a Reporting server issue and once resolve, I believe that the problem cleared itself up. 这是一个Reporting Server问题,一旦解决,我相信问题已解决。 Seeing as how there was an issue getting a response from the server when function calls were made to it, and that when the server was restarted it failed, led me to believe that the issue was server related. 似乎在对服务器进行函数调用时如何从服务器获得响应,以及重新启动服务器时失败了,这使我认为该问题与服务器有关。 However, I do not 100% know as I left for a new position before the issue was settled. 但是,在问题解决之前,我不知道要离开新职位时100%知道。 From correspondences with former teammates, testing had resumed and everything seemed to be working. 从与前队友的通信开始,测试已经恢复,一切似乎都在进行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM