[UPDATE]Even if I still have issues, the problem here was that BaseFileName needs a filename with also the extension.
I've done a WOPI integration but I have issues in loading the office document.
My host is registered to the Cloud Storage Partner Program.
I see from the logs that the frontend performs the first checkInfo call to the backend but then it doesn't happen anything and it keeps showing the word icon.
The backend url is https://{host}/wopi/files/{fileId}
and my form content is
<form id="office_form" name="office_form" target="office_frame"
action="https://FFC-word-view.officeapps.live.com/wv/wordviewerframe.aspx?WOPISrc=https://{host_url}/wopi/files/1234567&access_token=DASDASAS" method="post">
<input name="access_token" value="1" type="hidden" />
<input name="access_token_ttl" value="1000" type="hidden" />
<input name="user_id" value="1" type="hidden" />
<input name="owner_id" value="1" type="hidden" />
</form>
The answer to my checkFileInfo is:
200OK
{"BaseFileName":"123456","OwnerId":"Microsoft Office User;","Size":6116,"UserId":"Francesca","Version":"1","UserFriendlyName":"Hello","SupportsUpdate":true,"SupportsLocks":true,"SupportsGetLock":true,"SupportsExtendedLockLength":true,"UserCanWrite":true,"SupportsUserInfo":true,"UserInfo":"PutUserInfoTest"}
Do you have any idea of what I am doing wrong?
Thank you