Re: Single WCF Service Class Implementing Multiple Service Contract

99 views
Skip to first unread message

Valeriu Caraulean

unread,
Sep 26, 2012, 5:23:15 PM9/26/12
to castle-pro...@googlegroups.com
Have you looked at Tests project?
I think I've seen a unit test demonstrating it. It had "Client" in fixture's name...

On Wed, Sep 26, 2012 at 11:12 PM, Dennis <denni...@gmail.com> wrote:
Hi Guys,
 
Does anybody done this before using the WCF Facility?  Currently it throws exception
 
"The component {0} exposes {1} services.  Currently only single-service components are supported  by the facility"

Thanks,

Dennis

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/5lEZkll0kUEJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.

Krzysztof Kozmic

unread,
Sep 26, 2012, 5:29:33 PM9/26/12
to castle-pro...@googlegroups.com
done what?

WCF Facility doesn't support cases like Component.For<IServiceOne, IServiceTwo>().ImplementedBy<BothServices>().AsWcfService(...)

-- 
Krzysztof Kozmic

Dennis

unread,
Sep 26, 2012, 9:46:40 PM9/26/12
to castle-pro...@googlegroups.com
Yup, that is what I meant.  Thanks.


On Wednesday, September 26, 2012 2:29:34 PM UTC-7, Krzysztof Koźmic wrote:
done what?

WCF Facility doesn't support cases like Component.For<IServiceOne, IServiceTwo>().ImplementedBy<BothServices>().AsWcfService(...)

-- 
Krzysztof Kozmic

On Thursday, 27 September 2012 at 7:12 AM, Dennis wrote:

Hi Guys,
 
Does anybody done this before using the WCF Facility?  Currently it throws exception
 
"The component {0} exposes {1} services.  Currently only single-service components are supported  by the facility"

Thanks,

Dennis

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/5lEZkll0kUEJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.

Dennis

unread,
Sep 26, 2012, 9:59:56 PM9/26/12
to castle-pro...@googlegroups.com
I checked the tests project and didn't see any instance that resembles the following Component.For<IFoo, IBar>().ImplementedBy<FooBar>().AsWcfService(...). 

Thanks.

Dennis


On Wednesday, September 26, 2012 2:23:17 PM UTC-7, Valeriu Caraulean wrote:
Have you looked at Tests project?
I think I've seen a unit test demonstrating it. It had "Client" in fixture's name...

On Wed, Sep 26, 2012 at 11:12 PM, Dennis <denni...@gmail.com> wrote:
Hi Guys,
 
Does anybody done this before using the WCF Facility?  Currently it throws exception
 
"The component {0} exposes {1} services.  Currently only single-service components are supported  by the facility"

Thanks,

Dennis

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/5lEZkll0kUEJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages