On Tue, Jun 23, 2009 at 10:17 AM, danel <[email protected]> wrote:

>
> Hello,
> I am trying to integrate my custom ServiceCredentials into the
> serviceBehaviors by using this code:
>
>  <component id="tradeUserNameCredential"
>
> service="System.ServiceModel.Description.IServiceBehavior,
> System.ServiceModel"
>               type="MyUserNameCredential, MyDLL">
>    </component>
>
> And I have two difficulties:
>
> 1. I have to set the "Copy Local" property of the System.ServiceModel
> DLL to true, otherwise I get this exception:
> "Could not load file or assembly 'System.ServiceModel' or one of its
> dependencies. The system cannot find the file specified. "


Not sure.  Sounds like some build issue.  Whats the complete stack trace.

>
>
> 2. I cannot set the serviceCertificate of the ServiceCredentials in
> the config file, only hard coded.


Is this in serviceModel config section or castle xml config section?

>
>
> Do you have any solutions?
>
> Thanks,
> Danel.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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