Problem integrating WCF with Sharp architecture?

Finally I've found the answer, I was missing the following line in the ComponentRegistrar.

Finally I've found the answer, I was missing the following line in the ComponentRegistrar: container. AddComponent("facilityWcfService", typeof(FacilitiesWcfService)).

– Kristoffer Dec 10 '09 at 21:05 Just for anyone else who is having this problem even though they have registered their component w/the container (as in my case), step through the code where you register with the container and drill down into container. Compnents, find the component you registered, and drill down into its Status property for messages about what dependencies IT may have that can't be resolved. – sydneyos Nov 21 at 1:36.

You're not returning anything from your service method, so it needs to be marked as IsOneWay=true: ServiceContract public interface IFacilitiesWcfService : ICloseableAndAbortable { OperationContract(IsOneWay=true) void AddFacility(string facility); } By default, WCF expects request/response, i.e. It expects to get a response back from the service method. "void" doesn't count as a response - so just mark those service methods that don't return anything with the IsOneWay=true and you should be fine.

Though this didn't resolve the issue, it's good to know. Thank you – Leg10n Dec 3 '09 at 15:37 Feels like something WCF should be able to figure out on it's own. If it reads an attribute, why not read the return value as well?

It's probably only done once on startup anyway. – Kristoffer Dec 10 '09 at 21:04 @Kristoffer: yes, I agree - seems WCF could just default to IsOneWay when the return value is "void" .... oh well.... – marc_s Dec 10 '09 at 22:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions