1

We have Office Web Apps and WOPI working and can load a powerpoint file and edit it.

However getting edit working for Word require implementing Cobalt or FSSHTTP/FSSHTTPB protocol?

The user here has kindly provided most of the code for everything(Can I just use Office Web Apps Server)

Has anybody implemented a Cobalt or FSSHTTP/FSSHTTPB protocol within this context?

Community
  • 1
  • 1
topcat3
  • 2,561
  • 6
  • 33
  • 57
  • have you get a solution now? i am so frustrated with the same problem – Marx Yu Apr 20 '14 at 09:08
  • @Marx I'm afraid not. Didn't manage to get editing of Word documents working – topcat3 Apr 22 '14 at 09:24
  • see also http://stackoverflow.com/questions/23825224/how-to-implement-ms-fsshttp-for-editing-word-with-wopi-host-on-c-sharp-and-wopi for a commercial implementation – imo Jul 09 '14 at 10:55

3 Answers3

5

I write a Wopi Host demo. With Cobalt(FSSHTTPB/D) support for Office Web Apps. Support DOCX Editing, and also PPTX,XLSX. Requires Microsoft.CobaltCore.dll

https://github.com/marx-yu/WopiHost

thanks thebitllc's great work

Marx Yu
  • 351
  • 5
  • 8
  • 1
    Hi @Marx Yu, please help me testing your WopiHost git project, I have configured your project in VS but couldn't understand how to use Office online 2016(preview) server as a client. I have office 2016 in my machine and office 365 account, I am using Windows 10 operating system and created a folder C:\wopi-docs\ with few office files. Please let me know what you mean by Office online 2016 server (client) and how to integrate it with your WopiHost project (host). – Soumyaansh Apr 06 '16 at 08:30
2

Well you could start by grabbing a cobalt assembly from the Office Web Apps machine, I think its called Microsoft.Cobalt.dll.. It should help you to decipher the messages. I am trying to get back to work on this proof-of-concept. If I get it to work I'll post a quick reference here. But the documentation sucks, I have to intercept the messages between the sharepoint and office web apps to make sense of them.

thebitllc
  • 366
  • 2
  • 5
  • thank you. Appears we are doing the same thing. I'm just a bit further behind :) . Any link to the documentation? – topcat3 Jun 18 '13 at 08:46
  • the FSSHTTP/FSSHTTPB way seems to have more documentation. I'm coming from Java background too and trying to get this going for a prototype. – topcat3 Jun 18 '13 at 09:32
  • doesn't seem we can just do edit without implementing the whole coauth features...http://social.msdn.microsoft.com/Forums/en-US/appsforoffice/thread/e6322139-421b-473e-aaed-d9693f989360 – topcat3 Jun 18 '13 at 11:09
  • well I can decode the objects, its just I don't understand what they mean. – thebitllc Jun 18 '13 at 20:17
  • we managed to get the request by giving all the required true values in the json. now just need to fire response in soap and see what happens after that – topcat3 Jun 18 '13 at 20:31
  • @topcat3 This guy describes a little the cobalt protocol. Also check his testing framework, it includes some interesting code snippets. [http://blogs.architectingconnectedsystems.com](http://blogs.architectingconnectedsystems.com/blogs/cjg/default.aspx) – thebitllc Jun 19 '13 at 00:17
  • any joy progressing with this? i've hit a brick wall. microsoft sent the xml schemas but theres no example code and very hard to work out – topcat3 Jul 10 '13 at 10:25
  • I've just joined this battle, attempting to implement FSSHTTP. I'm using PHP, but willing to change languages if necessary. Have you guys managed to get anywhere? The WOPI App Server is sending me a SOAP request for "RequestVersion" but I don't know how to generate a response. – mpen Jan 21 '14 at 00:51
  • 1
    @Mark We basically gave up. Microsoft have sample code but were unwilling to share it probably for good reason. We obviously started to look down the SharePoint route or to plug just client office in a browser. Good luck with it – topcat3 Jul 09 '14 at 12:49
  • 1
    Just updating people on some progress: https://github.com/thebitllc/WopiBasicEditor (does require CobaltCore assembly) – thebitllc Jul 12 '14 at 20:31
0

As of February 13, 2015 it seems the WOPI protocol now allows the server to specify whether it supports co-authoring of a given file in the CheckFileInfo endpoint response. So you can avoid the nastiness of the Cobalt implementation.

Falkayn
  • 559
  • 3
  • 15