บริการ WCF SOAP ทำให้เกิดข้อผิดพลาด มีข้อผิดพลาดเกิดขึ้นขณะรับการตอบสนอง HTTP ไปที่ http://localhost/Service1.svc

    [ServiceContract , XmlSerializerFormat]
public interface IService1
{
    [OperationContract]

    //  string getNews(getNewsRequest request);
    // GetNewsOutputStructure getNews (getNewsRequest request);
    // getNewsResponseStructure getNews(getNewsRequest request);
    getNewsResponse getNews();

    [OperationContract]
    string GetData(int value);

    [OperationContract]
    CompositeType GetDataUsingDataContract(CompositeType composite);

    // TODO: Add your service operations here
}
       public getNewsResponse getNews()
    {
        getNewsResponse response = null;

        List<NewsListStructure> newsList = new List<NewsListStructure>();
        NewsStructure news = null;
        for (int i = 0; i < 2; i++)
        {
            news = new NewsStructure();
            news.NewsText = "Test";
            news.NewsId = "22";
            news.NewsDate = DateTime.Now;
            MediaExtentionsArrayStructure[] mediaExtentionsArrayStructures = null;
            news.MediaExtentionsArrayObject = mediaExtentionsArrayStructures;   //nnList[i].NewsDate;
            news.NewsClassificationObject = new NewsClassificationStructure { NewsClassificationId = 1.ToString(), NewsClassificationDescription = "g" };
            //  news.MediaArrayObject = nnList[i].NewsDate;
            NewsListStructure newsStructure = new NewsListStructure();
            newsStructure.NewsObject = news;
            newsList.Add(newsStructure);

        }
        //   return newsList;

        GetNewsOutputStructure getNewsOutputStructure = new GetNewsOutputStructure();
        getNewsOutputStructure.NewsListObject = newsList.ToArray();
        getNewsOutputStructure.ResponseStatus = ResponseStatusType.Success;
        getNewsOutputStructure.DataSchemaVersion = 1;
        getNewsOutputStructure.FaildReasonListObject = new FaildReasonListStructure[1] ;
        var fdf = new ErrorStructure() { Item = "hh" , ItemElementName = ItemChoiceType.ErrorMessage};
        getNewsOutputStructure.FaildReasonListObject[0] = new FaildReasonListStructure();
        getNewsOutputStructure.FaildReasonListObject[0].Item = fdf;
        // return  getNewsOutputStructure;

        getNewsResponseStructure getNewsResponseStructure = new getNewsResponseStructure();
        getNewsResponseStructure.Item = getNewsOutputStructure;

     // return getNewsResponseStructure;
     //   response = new getNewsResponse(getNewsResponseStructure);
        response = new getNewsResponse();
        response.getNewsResponseObject = getNewsResponseStructure;
       response.getNewsResponseObject.Item = newsList;

     return response;
    }