/// <summary>
        /// Writes a service document with the specified <paramref name="serviceDocument"/>
        /// as message payload.
        /// </summary>
        /// <param name="serviceDocument">The service document to write.</param>
        private void WriteServiceDocumentImplementation(ODataServiceDocument serviceDocument)
        {
            ODataJsonLightServiceDocumentSerializer jsonLightServiceDocumentSerializer = new ODataJsonLightServiceDocumentSerializer(this);

            jsonLightServiceDocumentSerializer.WriteServiceDocument(serviceDocument);
        }
 /// <summary>
 /// Writes a service document with the specified <paramref name="serviceDocument"/> 
 /// as message payload.
 /// </summary>
 /// <param name="serviceDocument">The service document to write.</param>
 private void WriteServiceDocumentImplementation(ODataServiceDocument serviceDocument)
 {
     ODataJsonLightServiceDocumentSerializer jsonLightServiceDocumentSerializer = new ODataJsonLightServiceDocumentSerializer(this);
     jsonLightServiceDocumentSerializer.WriteServiceDocument(serviceDocument);
 }