none
Web Service + Url Rewrite RRS feed

  • Pergunta

  • Olá amigos, possuo um web service que trabalha em conjunto com o Ajax Auto Complete em um campo de busca, porém quando eu implementei o Url Rewrite o web service passou a dar este erro:

    Server Error in '/' Application.
    
    The HTTP verb POST used to access path '/buscaconteudo.asmx/retornalista' is not allowed.
    
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.Web.HttpException: The HTTP verb POST used to access path '/buscaconteudo.asmx/retornalista' is not allowed.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    
    Stack Trace: 
    
    
    [HttpException (0x80004005): The HTTP verb POST used to access path '/buscaconteudo.asmx/retornalista' is not allowed.]
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +2510509
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8969412
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

    Alguém sabe como posso resolver? Obrigado!!

    sexta-feira, 2 de março de 2012 14:23

Respostas

Todas as Respostas