Hey! We are currently working on the documentation regarding the query service - https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/query-service.There are several questions:
1. Does Query Service must be installed as an additional service or it's included in the standard Dynamics AX 2012 installation package?
2. Please share the experience with WSDL. How to get it? How to request it?
Please open the documentation page - you can find several examples there. This is one of them:
DataSet dataSet; Paging paging = null; dataSet = client.ExecuteStaticQuery("CustTable", ref paging);
After generating service client and call - query service. Could you please provide an example of how to call a query service for retrieving data mentioned above e.g. Invoices?
1. Look at the link in your question. It already contains an example of calling a query to get customers.
2. You won't generate WSDL. This is a system service developed by Microsoft and you'll find WSDL on the URL mentioned above. You'll use this WSDL to generate a service client for calling the query service.
Thanks for the reply!
How to install or adjust this service for further use:
1. Could you please provide an example of how to call a service for getting data about the "Invoices" or "Customers"?
2. Where can I find the instruction with examples of how to generate the WSDL for getting the info mentioned in 1 question above?
1. It's included - you don't need to do anything.
2. You can find the URL of WSDL on the page that you've linked above. It's http://<servername>:8101/DynamicsAx/Services/QueryService (assuming the default port number).
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 844 User Group Leader
André Arnaud de Cal... 752 Super User 2025 Season 2
CA Neeraj Kumar 553