Thought I'd start a new thread as the existing one clouds this. I've decided to take a step back. I have my WCF Service library running in the IDE in the WCF Test Client. In my Web App. I have made a service reference to my running process.
The problem I have is trying to expose the method that I want to call.
The WCF program has a class called IRSService.cs :
and a second class called IIRSService.csCode:public class IRSService : IRS { public void ProcessBorderaux() {.....
in the WCF Test Client I can see my IRS Interface with the ProcessBorderaux() method attached.Code:[ServiceContract] public interface IRS { [OperationContract(IsInitiating=true)] void ProcessBorderaux();......
Back in my client code I have made a Reference to my service:
I figured If I can get this far then I should be able to introduce the windows serviceCode:using Borderaux.wcfBorderauxIRSService; then Down in my code I would expect to do: wcfBorderauxIRSService.IRS WCF = wcfBorderauxIRSService.IRSService(); WCF.ProcessBorderaux(); However, the IRSService is not being exposed at the above point How do I get a reference correctly so that I can run my method.


Reply With Quote