简体   繁体   English

与客户端PC上的MS Office通信

[英]Communicate with MS Office on client PC

I'm looking for a solution for communication with Office products in my web application. 我正在寻找在Web应用程序中与Office产品通信的解决方案。 I have many clients who want to edit their documents at same the time. 我有很多客户希望同时编辑他们的文档。 I've searched for a solution and I have two choices: 我一直在寻找解决方案,我有两种选择:

  1. WOPI protocol which requires an Office Web Apps Server which is not a reachable option for me because it requires an expensive and powerful server to be able to serve that many clients. WOPI协议需要一台Office Web Apps服务器,这对我来说不是一个可行的选择,因为它需要昂贵且功能强大的服务器才能为那么多客户端提供服务。 Besides, my web application is Java-based and my servers are running on Linux. 此外,我的Web应用程序是基于Java的,并且我的服务器都在Linux上运行。

  2. WebDAV protocol. WebDAV协议。 This option seems better but I've heard Chrome and Firefox do not support it because WebDAV requires ActiveX and because of that every client must install a package on their PCs. 该选项似乎更好,但是我听说Chrome和Firefox不支持它,因为WebDAV需要ActiveX,因此每个客户端都必须在其PC上安装软件包。

Can anyone help me make a correct decision? 谁能帮助我做出正确的决定? What is MS-FSSHTTP protocol? 什么是MS-FSSHTTP协议? Does it meets my needs? 它满足我的需求吗?

AFAIK, for WOPI, you do not need to have Office Web Apps Server installed for all clients. 对于FAPI,AFAIK不需要为所有客户端安装Office Web Apps Server。 You can use WOPI integration using Office Online as a Office Cloud Storage Partner . 您可以通过将Office Online用作Office Cloud Storage合作伙伴来使用WOPI集成

All you have to do is based on the document type, you have to redirect to corresponding Office URLs mentioned here on the WOPI discovery page . 您所要做的只是基于文档类型,您必须重定向到WOPI发现页上此处提到的相应Office URL。

From there onward, Office will invoke your WOPI end-points as per the defined specs and communicate with your server. 从那时起,Office将根据定义的规范调用您的WOPI端点,并与您的服务器通信。

If your clients are business users and you want them to edit documents, then please read through this page WOPI business users . 如果您的客户是企业用户,并且您希望他们编辑文档,那么请通读WOPI企业用户页面。

Hope this helps. 希望这可以帮助。

If you know the users will have Office installed on their machine, then you can use WebDAV. 如果您知道用户将在其计算机上安装Office,则可以使用WebDAV。 Eg a combination of IT Hit Java Server with AJAX Library (to support all modern browsers and not only IE). 例如,将IT Hit Java ServerAJAX库结合使用 (不仅支持IE,而且还支持所有现代浏览器)。

If users of your app don't have Office installed, then the answer is simply WOPI : 如果您的应用程序用户未安装Office,那么答案就是WOPI

1) Either apply to become an Office Cloud Storage Partner to be able to use Microsoft's Office Online servers. 1)要么成为Office Cloud Storage合作伙伴 ,要么可以使用Microsoft的Office Online服务器。

2) Or deploy an Office Online Server (formerly known as Office Web Apps) to a dedicated infrastructure. 2)或将Office Online服务器(以前称为Office Web Apps)部署到专用基础结构。 If you need to be able to serve large amount of users, you can deploy OOS to a web farm. 如果需要能够服务大量用户,则可以将OOS部署到Web场。 Yes, you'll need a server running on Windows for that but the rest of your Java/Linux stack can remain unchanged. 是的,为此您需要在Windows上运行服务器,但是Java / Linux堆栈的其余部分可以保持不变。

MS-FSSHTTP is a protocol that is also known as Cobalt. MS-FSSHTTP是一种协议,也称为Cobalt。 You can perceive it as an extension that was required by WOPI in the past in order to support editing of certain document formats, such as Word. 您可以将其视为WOPI过去所需的扩展,以支持某些文档格式(如Word)的编辑。 Technically, it's a protocol that allows for upload or download of file changes instead of uploading/downloading the whole file. 从技术上讲,它是一种协议,允许上载或下载文件更改,而不是上载/下载整个文件。 It basically saves traffic. 基本上可以节省流量。

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

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