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. "

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

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