WCF : FaultContract(typeof(ExceptionDetail)) issue

Posted by jitus on Stack Overflow See other posts from Stack Overflow or by jitus
Published on 2010-03-18T14:35:35Z Indexed on 2010/03/18 17:31 UTC
Read the original article Hit count: 372

Filed under:
|

I have put the attribute [FaultContract(typeof(ExceptionDetail))] for my operation contract. When I am trying to add the service th' a client app, I get this error - "Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details."

But when I comment out the FaultContract Attribute, I am able to add the wcf service reference th' my client app.

Would appreciate if somebody can help me solve this mystery.

Thanks

© Stack Overflow or respective owner

Related posts about wcf

Related posts about faultcontract