I am trying to integrate Office Online Server with Alfresco. I have deployed Office Online and AD server in my VM. 'View' and 'Edit' action both work well in my system.
But there is some problem when I try to use the collaboration edit. Office server should send an "UNLOCK" action with "X-WOPI-LOCK" headers to my server when I'm closing the browser tab, but I never receive it. The only "UNLOCK" action I can receive is someone else trying to fetch "X-WOPI-LOCK" with an incorrect LockId, as following official explain.
WOPI defines a GetLock operation. However, Office for the web does not use it in all cases, even if the host indicates support for the operation using the SupportsGetLock property in CheckFileInfo. Instead, Office for the web will sometimes execute lock-related operations on files with missing or known incorrect lock IDs and expects the host to provide the current lock ID in its WOPI response. Typically the Unlock and RefreshLock operations are used for this purpose, but other lock-related operations may be used.
And documentation also says there is an "X-WOPI-Editors" header that will be sent with the "PutFile" action, but I can't receive either.
My environment:
- windows_server_2016_vl_x64
- Office online server march_2017_x64