Hi guys,
Maybe you know about this nice (i'd say a bit hidden) feature in AX 2012 AIF framework. If not, I recommend to read this blog post: OData Query Service
SO, I have created a very simple Query in AOT, activated it as Document data source under Organization Administration > Setup > Document management > Document data sources, and then opened this URL in Internet Explorer directly on the server:
And I am getting the data back. Looks good. It doesn't even ask me for credentials.
However, when I try to open the URL from another machine, I am being prompted for credentials (looks like basic HTTP authentication or forms authentication), I am getting the error HTTP 400 Bad request.
- There is no firewall between the machines
- I am using same credentials
- In the event log on the server, I am getting following info message:
Object Server 01: RPC error: RPC exception 1702 occurred in session 20 process is Ax32Serv.exe thread is 22496(User: wpross, ClientType: Worker)
Thanks for your help!