平板电脑已连接到Sharepoint [英] Tablet connected to Sharepoint

查看:83
本文介绍了平板电脑已连接到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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆