Ask a questionAsk a question
 

QuestionWebservices in CRM

  • Monday, October 26, 2009 12:57 PMArun Lal Prasanth Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Dear all

          i am working in WebServices of MS crm 4.0.I am checking the parameter which are used in the webservice methods.
    path: http://localhost:5555/AppWebServices/ActivitiesWebService.asmx?op=ConvertActivity. From the mentioned link i cant able to convert the activity by giving the parameters in the textbox..Its showinf error, when i click the invoke button after entering all the inputs.Can anyone helpme, how to solve this..

    Error:

    System.Web.Services.Protocols.SoapException: Microsoft.Crm.CrmException: INVALID_WRPC_TOKEN: Validate WRPC Token: WRPCTokenState=Invalid, TOKEN_EXPIRY=4320, IGNORE_TOKEN=False, TOKEN_KEY=paVpn7FhEd6lBgAZ29W1EM/H/niktn7UI+kEThM+QJJdtVFeWc3DfiEKmKv9W8JU
    
       at Microsoft.Crm.Application.Security.WRPCContext.ValidateTokenState()
    
       at Microsoft.Crm.Application.Platform.CommunicationListeners.CommunicationListener.HandlePreEvent(PlatformCommand command)
    
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
    
       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
    
       at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
    
       at Microsoft.Crm.Application.Platform.EntityProxy.Create()
    
       at Microsoft.Crm.Application.WebServices.ActivitiesWebService.ConvertActivity(String activitySubject, String activityId, Int32 activityType, String leadId, String customerId, Int32 customerType, String currencyId, String campaignId, Int32 campaignType, Boolean logResponse, String ownerId, Int32 ownerType) ---> Microsoft.Crm.CrmException: INVALID_WRPC_TOKEN: Validate WRPC Token: WRPCTokenState=Invalid, TOKEN_EXPIRY=4320, IGNORE_TOKEN=False, TOKEN_KEY=paVpn7FhEd6lBgAZ29W1EM/H/niktn7UI+kEThM+QJJdtVFeWc3DfiEKmKv9W8JU
    
       at Microsoft.Crm.Application.Security.WRPCContext.ValidateTokenState()
    
       at Microsoft.Crm.Application.Platform.CommunicationListeners.CommunicationListener.HandlePreEvent(PlatformCommand command)
    
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
    
       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
    
       at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
    
       at Microsoft.Crm.Application.Platform.EntityProxy.Create()
    
       at Microsoft.Crm.Application.WebServices.ActivitiesWebService.ConvertActivity(String activitySubject, String activityId, Int32 activityType, String leadId, String customerId, Int32 customerType, String currencyId, String campaignId, Int32 campaignType, Boolean logResponse, String ownerId, Int32 ownerType)
    
       --- End of inner exception stack trace ---
    
       at Microsoft.Crm.Application.WebServices.ActivitiesWebService.ConvertActivity(String activitySubject, String activityId, Int32 activityType, String leadId, String customerId, Int32 customerType, String currencyId, String campaignId, Int32 campaignType, Boolean logResponse, String ownerId, Int32 ownerType)
    
    

    Regards

    Arun

All Replies