I'm adding inheritance to one of my interfaces in WCF, but the inherited interface is not showing it's methods in the wsdl:
I have and endpoint implementing:
contract="HNA.SP.PS.WEB.OBJECTS.IServicios"
And these descriptions:
namespace HNA.SP.PS.WEB.OBJECTS
{
[ServiceContract]
public interface IServicios : IEmail
{
[OperationContract]
FakeResult FakeMethod1(Param ctc);
[OperationContract]
List<FakeResult> FakeMethod2(Param producto);
}
}
The inherited interface below:
namespace HNA.SP.PS.WEB.OBJECTS.Servicios.Datos
{
[ServiceContract]
public interface IEmail
{
[OperationContract]
bool TestingMethod();
}
}
The implementation of the Interface is in two files, both partial classes:
public partial class Servicios : IServicios
{
public FakeResult FakeMethod1(Param ctc) {
//Whatever
}
public List<FakeResult> FakeMethod2(Param producto) {
//Whatever
}
And other partial class implementing the other method:
public partial class Servicios
{
public bool TestingMethod()
{
return true;
}
}
If I recompile the service, I can view my OperationContracts from the Parent Interface (IServicios), but the method (TestingMethod), from the inherited interface is not shown in the WSDL and I can not find why.