====== Sharepoint in place Office Editing protocol ====== ===== Overview ===== Sharepoint offers to the users a powerful mechanism: it allows them to "edit" office documents and save them back in the sharepoint site transparently: no //upload// or //dowload// procedures are in place: the user points to the document, the document opens itself automagically and the changes made are saved back into the sharepoint again when the edition is ended. I've investigated what's behind the scenes in this feature of sharepoint and it seems that there is a SOAP communication between Internet Explorer in the first place and word in the second place. In the case of the "open with windows explorer" feature, the communication that takes place is between the sharepoint server and a process called ''[[http://www.howtogeek.com/howto/windows-vista/what-is-svchostexe-and-why-is-it-running/|svchost.exe]]''. ===== Tools ===== * A sledgehammer * [[http://www.telerik.com/fiddler|Fiddler]] * Internet Explorer * a running Sharepoint server ==== What happens when the user opens for editing on a word document in a sharepoint server ==== I will put all the sessions in webtest format. It's an xml format that more or less explain itself:
BsAD0AIgBoAHQAdABwAHMAOgAvAC8AdwB0AHIAYQBiAGEAagBhAG4AZABvAGoAdQBuAHQAbwB....YANQAzADQAYQAtAC0ADQAKAA==
PAA/A....QA+AAoA ==== What happens when the user clicks on the "save" button on word ====
(A LOT OF STUFF GOES HERE)kAGEAYwAwADEANwAyADAALQAtAA0ACgA=
(A LOT OF STUFF GOES HERE)4AdAAtAEkARAA6ACAAPAAxADAAYgAwADgANABkAGYALQAxAGUAZABlAC0ANABlAGMAZgAtADkANQAxADIALQBkAGYAZQA3ADQANwAwAGQAMAA5ADUAYgBAAHQAZQBtAHAAdQByAGkALgBvAHIAZwA+AA0ACgBDAG8AbgB0AGUAbgB0AC0AVAByAGEAbgBzAGYAZQByAC0ARQBuAGMAbwBkAGkAbgBnADoAIAA4AGIAaQB0AA0ACgBDAG8AbgB0AGUAbgB0AC0AVAB5AHAAZQA6ACAAYQBwAHAAbABpAGMAYQB0AGkAbwBuAC8AeABvAHAAKwB4AG0AbAA7AGMAaABhAHIAcwBlAHQAPQB1AHQAZgAtADgAOwB0AHkAcABlAD0AIgB0AGUAeAB0AC8AeABtAGwAOwAgAGMAaABhAHIAcwBlAHQAPQB1AHQAZgAtAD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AEYALQBFADgANQAwAC0ANABEADgANQAtAEIAMgBGADcALQA5AEQAOAAxAEQAOQBCADIANwAxADAAQwB9ACIALwA+ADwALwBTAHUAYgBSAGUAcQB1AGUAcwB0AD4APAAvAFIAZQBxAHUAZQBzAHQAPgA8AC8AUgBlAHEAdQBlAHMAdABDAG8AbABsAGUAYwB0AGkAbwBuAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgANAAoALQAtAHUAcgBuADoAdQB1AGkAZAA6ADIAYQAzAGEAMgBlADIAYQAtADUANgAyADMALQA0ADcAOAAwAC0AOABkAGUAZgAtADgANABmAGUAYgA4ADMAZABiADIAMQA5AC0ALQANAAoA ==== What happens when the user click on "See this in windows explorer" ====