0

The set up I have on my local machine works fine, but when I push it to the server I encounter an issue. All my calls work on the server until I call this certain method in the Reference.cs file.

public DataResults GetData(DataRequest request) {
        return base.Channel.GetData(request);
    }

Then nothing happens after this is called, it just sits there. No exception is being thrown or anything.

I had my logger code log points on each method, it gets to this method, but never gets to the WCF method. But all the other WCF method except for 2 of them. And the two works when I run it on my local machine.

The WCF method is set up like this:

The interface has:

    [OperationContract]
    [FaultContract(typeof(Domain.Fault.SystemFault))]
    [FaultContract(typeof(Domain.Fault.BusinessFault))]
    DataResults GetData(DataRequest request);

and the actual method:

public DataResults GetData(DataRequest request)
    {
        try
        {
            Logger.LogInformation("Got to service");
            DataResults dr=CallDB(request);
            return dr;
        }
        catch (Exception ex)
        {
            throw this.getFaultExceptionComplete("GetData failed");
        }
    }
4

0 に答える 0