Al iniciar un flujo me da el siguiente error, por donde puede ir el problema?

System.Net.WebExceptionError en el servidor remoto: (405) Método no permitido.

System.ServiceModel.ProtocolException: El servidor remoto devolvió una respuesta inesperada: (405) Method Not Allowed. ---> System.Net.WebException: Error en el servidor remoto: (405) Método no permitido.
   en System.Net.HttpWebRequest.GetResponse()
   en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   --- Fin del seguimiento de la pila de la excepción interna ---

Server stack trace: 
   en System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
   en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   en System.ServiceModel.Dispatcher.RequestChannelBinder.Send(Message message, TimeSpan timeout)
   en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   en Aseinfo.VH4.Infraestructura.Workflow.AuthorizationWorkflowService.IAuthorizationWorkflowService.StartWorkflowInstance(String EntityServiceType, String ConnectionString, String Username, String ConfigConnectionString, String BaseUrl, Guid InstanceId, String ApplicationName)
   en Aseinfo.VH4.Infraestructura.Workflow.AuthorizationWorkflowService.AuthorizationWorkflowServiceClient.StartWorkflowInstance(String EntityServiceType, String ConnectionString, String Username, String ConfigConnectionString, String BaseUrl, Guid InstanceId, String ApplicationName)
   en Aseinfo.VH4.Infraestructura.Workflow.WorkflowFoundationEngine.StartCurrentInstance()
   en Aseinfo.Infrastructure.Base.Entity.EntityServiceBase`2.DoInsert(T entity, Boolean saveChanges, Boolean bypassWorkflowInitialization) en c:\VH4\Infrastructure\Base\Entity\EntityServiceBase.cs:línea 907
   en Aseinfo.VH4.Acciones.Controllers.IncapacidadController.SaveIncapacidad(Incapacidad entity, Nullable`1 codigoEmpleo, Nullable`1 codigoEmpleoSolicita, Nullable`1 codigoTipo, Nullable`1 codigoRiesgo, Nullable`1 codigoClinicaMedica, String codigoVisualTipoPlanilla, String codigoVisualPlanilla, Nullable`1 codigoIncapacidadProrrogar, Int32 codigoCompania, Boolean inserting, Nullable`1 iniciaFlujo) en c:\VH4\VH4\Acciones\Controllers\IncapacidadController.cs:línea 658
   en Aseinfo.VH4.Acciones.Controllers.IncapacidadController.Create(Incapacidad entity, Nullable`1 codigoEmpleo, Nullable`1 codigoEmpleoSolicita, Nullable`1 codigoTipo, Nullable`1 codigoRiesgo, Nullable`1 codigoClinicaMedica, String codigoVisualTipoPlanilla, String codigoVisualPlanilla, Nullable`1 codigoIncapacidadProrrogar, Int32 codigoCompania, Nullable`1 iniciaFlujo, DateTime fechaInicio, Nullable`1 fechaFinal) en c:\VH4\VH4\Acciones\Controllers\IncapacidadController.cs:línea 349
   en lambda_method(Closure , ControllerBase , Object[] )
   en System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   en System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   en System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

asked 13 Oct '15, 09:18

Daniel%20Flores's gravatar image

Daniel Flores
(suspended)
accept rate: 20%

edited 14 Oct '15, 11:30

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635


Cosas por revisar:

  1. ¿El sitio del workflow está instalado?
  2. ¿El website del workflow está funcionando? podes usar la página de prueba desde el servidor (http://<<server>>/EvolutionWorkflowService/AuthorizationWorkflow.xamlx)
  3. Revisa el log del workflow para ver si no está generando un error cuando recibe las peticiones de inicio de un flujo (en el folder App_Data del folder donde esta creado el website del workflow)
  4. Revisa la ruta del endpoint que tiene configurado el website de Evolution, para ver si apunta al sitio donde está instalado el workflow
link

answered 14 Oct '15, 11:37

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

edited 14 Oct '15, 11:39

Falto instalar un componente del servidor, lo cual evitaba el correcto funcionamiento del workflow

link

answered 14 Oct '15, 16:05

Daniel%20Flores's gravatar image

Daniel Flores
(suspended)
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×92
×1

Asked: 13 Oct '15, 09:18

Seen: 2,799 times

Last updated: 14 Oct '15, 16:05

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática