DataContract classes not Generated in Client Side after adding Service Reference !!!! RRS feed

  • Question

  • User1082734430 posted


    There is unique issue what i am facing..

    I have a wcf service -   "KCo.Services.ReportRunner"

    which has been used by my multiple client projects (UI Layers) using service references ("KCo.BeneficiaryReports.FootnoteManagement") and ("KCo.BeneficiaryReports.ReportRunner")

    My service uses multiple DAL layers ("KCo.Data.FootnoteManagement") and ("KCo.Data.ReportRunner") for each UI layers respectively through service, and each DAL layer have separate DataContracts in it and which are not same.

    So it means my

    "KCo.BeneficiaryReports.FootnoteManagement"  UI layer -> WCF Service ("KCo.Services.ReportRunner") ->  DAL ("KCo.Data.FootnoteManagement") ----> This s Working

    "KCo.BeneficiaryReports.ReportRunner"  UI layer -> WCF Service ("KCo.Services.ReportRunner") ->  DAL ("KCo.Data.ReportRunner") ----> This s not Working and here 

    "KCo.BeneficiaryReports.ReportRunner"  service reference does not have datacontract classes which are in  DAL ("KCo.Data.ReportRunner"). 

    Can anybody tell me what could be the issue ???

    Wednesday, December 4, 2013 12:21 PM

All replies

  • User-484054684 posted

    1. Try remove the entire service reference and add again, instead of update.
    2. Please check if project settings are same - like - platform, framework and other settings are same - any assembly keys you are using?
    3. Also check if there are any predefined assembly references are missing on your destination project.

    Wednesday, December 4, 2013 1:07 PM
  • User1082734430 posted

    1) I tried adding the service reference again but it was in vain.

    2) What you mean by Assembly Keys ? where i have to check that ?

    3) I checked this also all required references have been added.

    Wednesday, December 4, 2013 11:01 PM