Dear friends. I encountered the following problem: I developed a system service using Mule ESB. The aim was to processing a large number of records and therefore during process there were frequent connections to MS CRM Dynamics Onpremise. However, in the middle of treatment (after about 30 min, although this time varies) each subsequent request ends with the following error:
Exception stack is: 1. The security context token is expired or is not valid. The message was not processed. (org.apache.cxf.binding.soap.SoapFault) org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor: 133 (null) 2. The security context token is expired or is not valid. The message was not processed. (javax.xml.ws.soap.SOAPFaultException) org.apache.cxf.jaxws.JaxWsClientProxy: 156 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/ws/soap/SOAPFaultException.html) 3. Failed to invoke retrieveMultipleByQuery. Message payload is of type: HashMap (org.mule.api.MessagingException) org.mule.module.dynamicscrmonpremise.processors.RetrieveMultipleByQueryMessageProcessor: 141 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)
Could you tell me where I could make a mistake and how to fix it?