none
MS-FSSHTTPB - Invalid Serialization RRS feed

  • Question

  • Hi,
    We try to open a word document in edit mode without a sharepoint server. We are implementing a Wopi Server and therefor also implementing the Fsshttp and the Fsshttpb protocols in Java.
    Here is what we’ve done so far:
    -    We've installed an Office Web Applications Server; Office Web Apps Server is up and running in combination with Sharepoint 2013
    -    I've uploaded a MS Word document to our file server
    -    I am just trying to get the Word document to load in the editor frame
    -    We answer the CheckFileInfo Request with the following FileInfos:
    BaseFileName=pFile.getDisplayName();
    AllowExternalMarketplace=false;
    CloseButtonClosesWindow=false;
    Size=pFile.getSize().intValue();
    SHA256="";
    SupportsCobalt=true;
    SupportsCoauth=false;
    SupportsLocks=true;
    SupportsFolders=true;
    SupportsScenarioLinks=false;
    SupportsSecureStore=true;
    SupportsUpdate=true;
    ReadOnly=false;
    OwnerId="i:0#.w|anaptecs\\mif";
    UserId="i:0#.w|anaptecs\\mif";
    UserCanAttend=false;
    UserCanNotWriteRelative=false;
    UserCanWrite=true;
    Version="1.0";
    DisableBrowserCachingOfUserContent=false;
    DisablePrint=false;
    RestrictedWebViewOnly=false;
    -    We parsed the first “QueryChanges” Request
    -    We answer the Request with the following Response.
    <ResponseVersion xmlns="http://schemas.microsoft.com/sharepoint/soap/" Version="2" MinorVersion="2"/>                                                                                                                                                                                                                                                                          
    <ResponseCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:ns2="http://www.w3.org/2004/08/xop/include" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/" WebUrl="http://my-host/">                                                                                                                                                                                                                                                                        
     <Response Url="http:// my-host /weeasy/1.3/desktop/wopi/files/SecureTokenWopiWordEditServlet/wopi/files/%20wFmcigg7GB2Vtw7i02WXphv83q3ygffF&amp;access_token_ttl=0&amp;access_token=2-----36----N5-" RequestToken="1" HealthScore="1">                                                                                                                                                                                                                                           
             <SubResponse SubRequestToken="1" ErrorCode="Success" HResult="0">                                                                                                                                                                                                                                                                                                                                                                                                              
                 <SubResponseData>DAALAJ3PKfM5lAabFgMCAACsAgAMWsBQAqoQN2i23fhJtkkM6qLz9J6AqhA3aLbd+Em2SQzqovP0nqIEAAAAAAAAAwVVDgIGAAUFAPoCKADAUAKqEDdott34SbZJDOqi8/SeAIQAJgIgABMfCRCCyPtAmIZlM/k0wh1sAXBZDBy48tArSv5NU6f0wPKqfsE1MQAQUAVlEFUAaA2KH4AKYCRdAlAAUABQAABwuQxZw9hgrojtQ5VkxEM1UlKdlTEAO1AxgMCAYoNMXTaE1Fhjc4xdNoDAUANTDFwwfORUZlYNXjhz4YQSVs5dYn3QXCNWTVtiidRg1mJYXTmGhGVzU45pMIbYUAAAtRMBJgIgAA7pdjoygAxNud3zxlApQz5MASAmDBy48tArSv5NU6f0wPKqfsEDAKUTAUEHAYsB</SubResponseData>
             </SubResponse>                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
         </Response>                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
     </ResponseCollection>                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    -    The Following “JoinCoauth” is sent by the Web App Server and answered by our Wopi Server according to the Fsshttp documentation.
    2015-06-16 13:50:59,028 [http--0.0.0.0-8080-8] INFO  JEAF Cloud Platform   - WOPI-CompleteSyncResponse: <ResponseVersion xmlns="http://schemas.microsoft.com/sharepoint/soap/" Version="2" MinorVersion="2"/>  
    <ResponseCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:ns2="http://www.w3.org/2004/08/xop/include" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/" WebUrl="http:// my-host /">
        <Response RequestToken="1" HealthScore="1">                                                                                                                                                                
            <SubResponse SubRequestToken="1" ErrorCode="Success" HResult="0">                                                                                                                                      
                <SubResponseData LockType="SchemaLock" CoauthStatus="Alone" TransitionID="9af488c8-a87b-43b4-b95d-a596a578f066"/>                                                                                  
            </SubResponse>                                                                                                                                                                                         
        </Response>                                                                                                                                                                                                
    </ResponseCollection>                                                                                                                                                                                          
    -    The Following “WhoAmI” Request is sent by the Web App Server and answered by our Wopi Server according to the Fsshttp documentation.
    <ResponseVersion xmlns="http://schemas.microsoft.com/sharepoint/soap/" Version="2" MinorVersion="2"/>   
     <ResponseCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:ns2="http://www.w3.org/2004/08/xop/include" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/" WebUrl="http://my-host/">
         <Response RequestToken="1" HealthScore="2">                                                                                                                                                                 
             <SubResponse SubRequestToken="1" ErrorCode="Success" HResult="0">                                                                                                                                       
                 <SubResponseData UserName="Miriam Fohry" UserEmailAddress="" UserSIPAddress="" UserLogin="i:0#.w|anaptecs\mif"/>                                                                                    
             </SubResponse>                                                                                                                                                                                          
         </Response>                                                                                                                                                                                                 
     </ResponseCollection>    
    -    After this Requests another POST request without content and with expect 100-continue is send and answered by our server with continue-100 and then an “ExitCoAuth” Request is sent by the Web App Server.
    -    In the Logs of the Server we get the following Error:

        StreamFromPartition.GetReadStream failed: ErrorException: Eine Ausnahme vom Typ "Cobalt.ErrorException" wurde ausgelöst. --- Error: InvalidSerialization --- Error message:   at   bei Cobalt.DataElementGraphOnEndpoint.Download=)     bei Cobalt.DataElementGraphOnEndpoint.OnGetIndexEntry=Key key, IndexEntry& indexEntry, Int32& refCount, Int32& chainRefCount)     bei Cobalt.DataElementGraph.FindIndexNode=Key key)     bei Cobalt.DataElementGraph.FindIndexNode[TIndexNode]=Key key)     bei Cobalt.CellGraph.Load=Boolean allowSchemaChange)     bei Cobalt.GenericFda.Refresh=Boolean onlyIfFirstTime, Boolean allowSchemaChange)     bei Microsoft.Office.Web.CellStorage.StreamFromPartition.GetReadStream=ExtendedGuid streamId, Byte[]& serializedKnowledge)    9c18f54c-f193-4353-94ff-206621737a33                                                    
    CellStorageError =InvalidSerialization) has no equivalent OperationResult, returning UnspecifiedFailure    9c18f54c-f193-4353-94ff-206621737a33                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
        FillInPageRevisionNoRetry: Failed to read the document.  Converted [CellStorageError: InvalidSerialization] to [Status: Success]    9c18f54c-f193-4353-94ff-206621737a33                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

     Microsoft.Office.Web.CellStorage.CellStorageException     bei Microsoft.Office.Web.CellStorage.StreamFromPartition.GetReadStream=ExtendedGuid streamId, Byte[]& serializedKnowledge)     bei Microsoft.Office.Web.Coauthoring.PartitionManager.GetMemoryStream=ExtendedGuid streamId, Byte[]& knowledge)     bei Microsoft.Office.Web.Box4.WordCompanion.WordCompanionProcessor.GetDocumentStream=BaseDocument doc, ContentPartitionManager contentPartitionManager, PartitionManager convertedPartitionManager, Boolean forSave, Byte[]& knowledge, Stream& originalDocumentStream)     bei Microsoft.Office.Web.Box4.WordCompanion.WordCompanionProcessor.FillInPageRevisionNoRetry=TransformGlobals& globals, String expectedLock, Boolean& normalizationCoherencyFail) StackTrace:  at uls.native.dll: =sig=1b11b26b-891e-4...    9c18f54c-f193-4353-94ff-206621737a33
    ...2bc-9d91-0f073f34a963|2|uls.native.pdb, offset=26E32) at uls.native.dll: =offset=1F8A9)    9c18f54c-f193-4353-94ff-206621737a33         

    Can you help us what this exception really means? What we did wrong?
    Maybe something with our query changes  response is wrong. If the response is wrong how do I answer correctly, because the documentation doesn’t help me with that?
    Thursday, June 18, 2015 10:17 AM

All replies

  • Hello Miriam,

    Thank you for your question. I am currently researching your request and will provide you with an update soon. I may need to ask you for some additional data once I've had a chance to look at this request in depth. Thank you for your patience.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Thursday, June 18, 2015 3:44 PM
  • Hello Miriam,

    Unfortunately, I haven't found anything that would explain what's going on. I also don't have an easy way to parse the request/response data from the excerpts you've posted here. What I need is a packet capture containing the full conversation between your WOPI server and the Office Web Apps server. If you can provide that via an email to my attention at dochelp at microsoft dot com, that would be the best way to move forward. The event log data might be helpful as well if you would like to include that. Please make sure that the data include no confidential information.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Thursday, June 18, 2015 10:07 PM
  • Hello Miriam,

    I am posting again here to let you know that if you attempted to follow up with me at dochelp at microsoft dot com, I did not receive your communication. If you included attachments, it may have caused the email to be dropped. Please follow up with me here when you can and let me know if I should have received an email.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Monday, June 22, 2015 7:25 PM
  • Hello Miriam,

    I still have not seen any communication from you since your initial post. I will assume that you no longer need assistance with this issue, but if that's not the case please post here and I will be happy to assist you.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Monday, June 29, 2015 9:33 PM