0

i visit this post about hide from wsdl , i'v not yet test if its work on wsdl.

[ServiceContract]
[DeprecatedOperationsWsdlExportExtension]
public interface ICalculator{[OperationContract]
     int Add(int x, int y);
     [OperationContract]
    int Subtract(int x, int y);
     [OperationContract]
     [DeprecatedOperation
     int Multiply(int x, int y);
     [OperationContract]
}

but iv try to test it on the help screen svc provide and its not hidden.

how should we keep some of the OperationContract hidden from the help and wsdl?

roy.d
  • 1,030
  • 2
  • 16
  • 33
  • 2
    That post you mentioned only deals with the WSDL - **not** the service help page. Have you checked whether or not your "hidden" method shows up in the WSDL?? Have you browsed to the `(service)?wsdl` URL to check that?? If not: do that first! – marc_s Mar 21 '12 at 09:47
  • the wsdl is not realy my concern, i want to take off some of the function only from the help – roy.d Mar 21 '12 at 10:24

0 Answers0