Hi,

I've noticed that when I use the WCF Facility but forget to register
one of the dependencies of my service class in the container I just
get a 400 error which makes diagnosing the issue harder than it should
be. For example take this service class:

    public class UserResourceHandler : IUserResourceClient
    {
        ...

        public UserResourceHandler(
            IOutgoingWebResponseContext outgoingWebResponseContext,
            IUserRepository userRepository)
        {
            ...

If I make an HTTP request that is to be handled by the
UserResourceHandler but the IUserRepository is not registered then I
get a "(400) Bad Request".

I've turned up log4net to try and ensure I get more information logged
but nothing comes out of Castle itself (though NHibernate and other
components are loggng fine), I presume I'm missing something obvious
but not sure what?

Ta,

Colin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to