web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Query Service - experience sharing

(0) ShareShare
ReportReport
Posted on by 35

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? 

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    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).

  • AlexDr8 Profile Picture
    35 on at

    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?

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    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.

  • AlexDr8 Profile Picture
    35 on at

    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?

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    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);

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans