Thats just normail attributes for WCF :

ServiceBehaviorAttribute.Namespace
DataContractAttribute.Namespace

On Oct 2, 2012, at 7:54 PM, Gabriel Perez wrote:

> Hey all,
> 
> I'm using the WCF facility with Windsor and I'm trying to figure out how to 
> configure it so it changes the default targetNamespace from 
> http://targeturi.org. I know that in regular WCF I set the namespace in the 
> ServiceContract and in the ServiceBehavior attributes. My ServiceContract is 
> set properly but the Windsor documentation says you shouldn't use the 
> ServiceBehavior.
> 
> Here is my current config:
>           container.AddFacility<WcfFacility>(f => f.CloseTimeout = 
> TimeSpan.Zero)
>             .Register(
>             Component.For<IServiceBehavior>().Instance(debug), 
>                 Component.For<IMyService>()
>                                     
> .ImplementedBy<MyService>().Named("MyService")
>                                     .AsWcfService(new 
> DefaultServiceModel().Hosted()).LifestylePerWcfOperation());
> 
> Any insights would be appreciated.
> 
> Thanks,
> Gabe.
> 
> -- 
> 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/-/jLT2wQ6x_G8J.
> 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-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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-users?hl=en.

Reply via email to