Web Services

Hi all,
Anybody can help me with using Dynamics AX web services? I used Microsoft documents for configuring IIS and AIF and the rest of the things but it doesnt work.
More specific:
1- Error in Visual studio:

System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.ApplicationException: AifRequestProcessor-processInbound Request Failed. See the Exception Log for details.

at Microsoft.Dynamics.IntegrationFramework.WebService.IntegrationProcessor.SubmitMessage(String aifMessage)
at Microsoft.Dynamics.IntegrationFramework.WebService.IntegrationProcessor.ProcessRequest(DocumentContext documentContext, String xmlElementName)
at Microsoft.Dynamics.IntegrationFramework.WebService.ProfileService.CreateProfile(DocumentContext DocumentContext, AxdProfile Profile)
— End of inner exception stack trace —2- Exception in Dynamics AX:
User is not authorized for this Endpoint.

I tried with and withouth setting SourceEndPointUser . doesn’t work anyway.

Thanks in advance

I solved it finally. I needed to add action policies in axapta and enable the Data policies. It workes perfect except endpoint user which doesnt work the way i want. But the major problem is gone now.


HI Maho,

solution worked fine…thanks