// Job ID: #43005
using LegalOne.Lib.Queue.Hangfire.Queues;
var dataCloudSchedulerRexQueueResolver = Activate<DataCloudSchedulerRexQueueResolver<DataCloudSchedulerJob,TaskQueueItemParam<DataCloudScheduleQueueItem>>>();
dataCloudSchedulerRexQueueResolver.Run(
"DataCloud scheduler Rex job: qa2",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"Id\":1020,\"IdMonHorarioAgendadorApp\":2,\"TimeZoneIdentiy\":\"E. South America Standard Time\",\"SchedulerType\":1,\"DataBaseName\":\"express-firmbr-qa2\",\"DataBaseServer\":\"legalone-dev-eastus2.database.windows.net\",\"AppIdInstancia\":8076095,\"OfficeName\":\"qa2\",\"ManagerIdentifier\":\"a74a00f0-93fb-4aa9-ab31-229b97ab75b3\",\"UtcDifference\":-180,\"EnqueuedDate\":\"2022-10-03T20:15:00.3558166Z\"},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"qa2\",\"TenantIdentifier\":null,\"UserId\":-1,\"BatchId\":null,\"OperationId\":\"057CH4Ypigo=\",\"EnqueueTime\":\"2025-12-12T15:32:49.2981991-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);
"1bd0ff9a-17c8-4011-9e75-c529f047b4e7""pt-BR""pt-BR"An exception occurred during performance of the job.
Error on DataCloud scheduler Rex job: qa2. See inner exception for more details.
System.ApplicationException: Error on DataCloud scheduler Rex job: qa2. See inner exception for more details. ---> System.ServiceModel.ProtocolException: An HTTP Content-Type header is required for SOAP messaging and none was found. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Novajus.WSConsumo.WSRex.IWSRex.GetMonthBalance_Processo(GetMonthBalance_ProcessoRequest request) at LegalOne.Lib.LegalOneMonitoramento2Rex.RequestMonthBalance(Int32 idInstance, String dcPass) in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Monitoramento\Lib\LegalOneMonitoramento2Rex.cs:line 564 at LegalOne.Lib.LegalOneMonitoramento2`3.StartBlock() in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Monitoramento\Lib\LegalOneMonitoramento2.cs:line 790 at LegalOne.Lib.Schedulers.DataCloud.Rex.GerenciadorTarefas.GerenciadorTarefasRexNovaJus.NotificaInicioTarefa(Tarefa tarefa) in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Schedulers\DataCloud\Rex\GerenciadorTarefas\GerenciadorTarefasRexNovaJus.cs:line 165 at LegalOne.Lib.Schedulers.DataCloud.DataCloudSchedulerJob.Run(TaskQueueItemParam`1 param) in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Schedulers\DataCloud\DataCloudSchedulerJob.cs:line 172 at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Execute(TTask task, TTaskParam parameter, Exception& exception) in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 161 --- End of inner exception stack trace --- at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Run(String jobDescription, TTaskParam parameter, IJobCancellationToken cancellationToken) in C:\Agent\1\_work\24\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 139