Good morning,
I have a problem after publishing an AIF service and using its method in a Wep.API.
I published that service as a RESTful Api and consumes it using postman.
On C# Wep.Api side i gave the user credentials as follow:
client.ClientCredentials.Windows.ClientCredential.Domain = "Company_domain";
client.ClientCredentials.Windows.ClientCredential.UserName = "user";
client.ClientCredentials.Windows.ClientCredential.Password = "password";
On AX side I gave the service method to a created privilege and gave it to Role that role i passed it to my user account
On Postman side when i try to send a request i get that error:
"System.ServiceModel.FaultException`1[NewTestApi.TestServices.AifFault]: Access denied: SalesFormLetter_PackingSlip (Fault Detail is equal to NewTestApi.TestServices.AifFault).
so how to give that class "SalesFormLetter_PackingSlip" to my privilege to perform that request.
Thanks in advance.
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,104 Most Valuable Professional
nmaenpaa 101,156