/// <summary> /// Writes a service document with the specified <paramref name="defaultWorkspace"/> /// as message payload. /// </summary> /// <param name="defaultWorkspace">The default workspace to write in the service document.</param> private void WriteServiceDocumentImplementation(ODataWorkspace defaultWorkspace) { ODataJsonServiceDocumentSerializer jsonServiceDocumentSerializer = new ODataJsonServiceDocumentSerializer(this); jsonServiceDocumentSerializer.WriteServiceDocument(defaultWorkspace); }