平板电脑已连接到Sharepoint

平板电脑已连接到Sharepoint

本文介绍了平板电脑已连接到Sharepoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我有以下要求

-平板电脑(移动设备)连接到SharePoint服务以获取一些数据并填充一些仪表板.

- Tablet (mobile) connect to SharePoint service to get some data and fill some dashboards.

-将包装程序服务托管在SharePoint外部的另一项要求,该服务也将与SharePoint通信以获取一些数据.

- Another requirement to make wrapper service hosted outside SharePoint, this services will communicated with SharePoint to take some data too.

-SharePoint应用程序上托管的自定义WCF服务发送的数据之一.

- one of the data comming by custom WCF service hosted on SharePoint app.

我尝试通过添加对我的解决方案(.net解决方案而不是SharePoint解决方案)的引用来做简单的服务来连接到自定义WCF服务,但是我遇到了一些未经授权的HTTP请求的例外情况.

i tried to do simple service to connect to the custom WCF service by adding reference to my solution(.net solution not SharePoint solution) but i got some exceptions for unauthorized HTTP request.

达到此要求的最佳方法是什么?

what is the best approach to achieve this requirements?


推荐答案

请使用HttpWebRequest或WebClient使用WCF REST服务.

Please consume a WCF REST service using HttpWebRequest or WebClient.

以下文章供您参考:

SharePoint 2013:创建在SharePoint中托管并在WSP中部署的自定义WCF REST服务

在c#中使用控制台应用程序中的REST WCF服务

最好的问候,

Dennis


这篇关于平板电脑已连接到Sharepoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 19:18