I have developed a client software for ms dynamics 2011 using WCF channel and organization service. After creating the channel I put it into dictionary Dictionary<string, OrganizationServiceProxy>
and after 8 hours waiting was over, the security token was not valid any more. Now I call serviceProxy.Authenticate()
method (serviceProxy is an object retrieved from my collection) and nothing happens. My token has not been renewed and I can not use my channel to retrieve data from dynamics. As I read in msdn, Authenticate()
method should deliver me a new token, what am I doing wrong?
相关问题
- How to make a .svc file write to asp.net Trace.axd
- Dynamics CRM 365 - Cannot access Xrm.Page.entity i
- WCF Service Using Client Certificates Requires Ano
- WCF error with net.tcp "The service endpoint faile
- crm 2011 creating a view of merged contacts
相关文章
- WCF发布Windows服务 POST方式报错 GET方式没有问题 应该怎么解决?
- XCopy or MOVE do not work when a WCF Service runs
- Using Xrm.WebApi method in Web Resource opened in
- Could not find default endpoint element that refer
- The 'DbProviderFactories' section can only
- Do I need to expose a constructor in a WCF DataCon
- exposing net.tcp endpoint
- When is destructor called in a WCF service
Have you tried to monitor the token like described in Performance Best Practices?
You will find an example of how you could automatically renew the token in this classes.