WebHttpBinding : Get actual return type of method in ProvideFault method RRS feed

  • Question

  • Hi,

    I have following method in service contract- 

    Response DoSomething(Request request);

    The binding is webHttpBinding.

    I want to get the return type (i.e. "Response") of the service operation called in ProvideFault Method of the IErrorHandler interface. I am able to achieve this in other bindings except webHttpBinding using OperationContext.Current but does not know how to get it with WebOperationContext.

    Please help

    Thursday, September 11, 2014 3:16 AM


  • Hi,

    You could refer to the following links for more information:

    Friday, September 12, 2014 5:26 AM