ms-word - 没有 MS-FSSHTTP/COBALT 的 WOPI 实现

标签 ms-word ms-office office365 ms-wopi fsshttp

我们正在尝试实现 WOPI 主机,而不对我们的 Office Web Apps 服务器使用 CobaltCore dll。 (在 Java 中实现)。我发现的所有信息都表明您必须实现 MS-FSSHTTP 才能编辑 Word 文档。

但是,这是我在此页面上找到的:Integrating with Office Online

Integrating with Office Online is relatively simple. You just need to do some HTML and JavaScript work, and set up a few simple REST endpoints. 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)



还有一个示例实现 here

但是当点击我们的 Office Web Apps Server 时我无法让它工作(标题 X-WOPI-Override 等于 Word 文档的 COBALT)。
  • 该页面上的信息是否仅适用于您点击 Office Online 的场景?
  • 是否有我必须在 Office Web Apps Server 上更改的设置,以便它的行为类似于 Excel 文件编辑?在 CheckFileInfo 上,我尝试设置 SupportsCoauth=false 和 SupportsCobalt=false
  • 最佳答案

    看起来我在问题中提到的文档/页面指的是 办公在线服务器 ... 这是 的替代品Office Web Apps 服务器 .

    我下载了 Office Online Server 的预览版 here

    当您比较两个版本的 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"
    

    我能够在不引用 Microsoft.CobaltCore.dll 的情况下实现 Word 编辑

    关于ms-word - 没有 MS-FSSHTTP/COBALT 的 WOPI 实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33554984/

    相关文章:

    vba - 如何使用VBA将Word形状保存到图像?

    vba - 打开 HTML 文档时 Word Shapes 损坏

    azure - Authorization_IdentityNotFound 访问图形 API 时出错

    azure - 访客用户的访问 token 和身份验证

    vba - 在Word中删除页面

    docker - Microsoft Word 在 Docker 容器中调用其 COM 时崩溃

    VBA : Disabling Listbox while macro is running

    ms-office - Word Addin - 如何检查 createDocument() 函数是否可用?

    c# - SharePoint Online 身份验证失败

    r - 有没有办法在 R 中为 Word 制作漂亮的表格?