简体   繁体   English

没有MS-FSSHTTP / COBALT的WOPI实现

[英]WOPI implementation without MS-FSSHTTP/COBALT

We are trying to implement a WOPI host without using CobaltCore dll against our Office Web Apps server. 我们正在尝试在不使用CobaltCore dll的情况下为我们的Office Web Apps服务器实现WOPI主机。 (implement in Java). (用Java实现)。 All the information I found suggests that you have to implement MS-FSSHTTP in order to edit Word documents. 我发现的所有信息都表明您必须实现MS-FSSHTTP才能编辑Word文档。

But, this is what I found on this page: Integrating with Office Online 但是,这是我在此页面上找到的: 与Office Online集成

Integrating with Office Online is relatively simple. 与Office Online集成相对简单。 You just need to do some HTML and JavaScript work, and set up a few simple REST endpoints. 您只需要做一些HTML和JavaScript工作,并设置一些简单的REST端点。 If you are familiar with existing Office protocols, note that you don't have to implement the [MS-FSSHTTP]: File Synchronization via SOAP over HTTP Protocol (Cobalt) 如果您熟悉现有的Office协议,请注意您不必通过SOAP over HTTP协议(Cobalt)实现[MS-FSSHTTP]:文件同步

There is also a sample implementation here 还有一个简单的实现在这里

But I cannot get this to work when hitting our Office Web Apps Server (the header X-WOPI-Override equals to COBALT for Word docs). 但是当我点击我们的Office Web Apps服务器时,我无法使用它(标题X-WOPI-Override等于COBALT for Word文档)。

  1. Does the information on that page only applies to scenarios where you are hitting Office Online? 该页面上的信息是否仅适用于您使用Office Online的情况?
  2. Is there a setting I have to change on the Office Web Apps Server so that it behaves like Excel file editing? 我是否需要在Office Web Apps Server上更改设置,以使其行为类似于Excel文件编辑? On the CheckFileInfo, I tried setting SupportsCoauth=false and SupportsCobalt=false 在CheckFileInfo上,我尝试设置SupportsCoauth = false和SupportsCobalt = false

It looks like the document/page I referred to in my question is referring to the Office Online Server ... which is a replacement of the Office Web Apps Server . 看起来我在我的问题中提到的文档/页面是指Office Online Server ...它是Office Web Apps Server的替代品。

I downloaded the Preview of the Office Online Server here 我在这里下载了Office Online Server的预览版

When you compare the discovery.xml from both versions, the Word docx edit requirements are different: 比较两个版本的discovery.xml时,Word docx编辑要求是不同的:

Office Web Apps Server:
<action name="edit" ext="docx" requires="locks,cobalt,update"

Office Online Server:
<action name="edit" ext="docx" requires="locks,update"

I was able to implement Word Editing without referencing the Microsoft.CobaltCore.dll 我能够在不引用Microsoft.CobaltCore.dll的情况下实现Word编辑

暂无
暂无

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

相关问题 在没有 CSPP 的情况下测试 WOPI 与 M365(Word Online)的集成 - Testing WOPI integration with M365 (Word Online) without CSPP Office Online:WOPI PutFile获取空请求 - Office Online: WOPI PutFile is getting an empty request 使用没有页眉和页脚的 JS 将 Html 转换为 MS Word - Html to MS Word using JS without Header and Footer 在没有安装 MS Word 的情况下将 html 导出到 Word 的最佳方法? - Best way to export html to Word without having MS Word installed? 是否可以在没有安装MS Word的情况下生成.docx文件? - Is it possible to generate .docx files without having MS Word installed? 使用Wopi和Office Online Server在Word中编辑 - Edit in Word using Wopi and Office Online Server 如何在不弄乱MS Word 2013中的空白段落和对象标识符的情况下使用String.replace()方法? - How to use String.replace() method without messing up blank paragraphs and object identifiers in MS Word 2013? 如何在不双击 MS Word 2003 样式区域的情况下调用样式窗格 - How to call style pane without double click in the style area in MS Word 2003 如何创建 MS Word 宏来检查“粗体”+“不保留下一个”段落并为​​每个段落添加注释 - How To Create MS Word Macro To Check "Bold" + "Without Keep With Next" Paragraphs And Add Comments For Each 在MS Word中,如何在标题中没有文本的情况下获得目录? - In MS Word, how can I get a Table Of Contents without the text in headings?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM