How to fetch fields from AAS data model in java?

Nilesh Prajapati 21 Reputation points
2021-02-10T06:53:25.287+00:00

Hello there,
I am Nilesh, exploring Azure analysis service for my project.

For that,
I have created demo azure free account and able to create demo AAS and integrate it with SSMS/Excel to check the imported data model with its fields.
I have also checked few endpoints access using tokens and I am able to get response successfully with 200 code, tried with postman.

To get token: https://login.microsoftonline.com/23b103f9-76a9-4b74-9391-ae5b94842b23/oauth2/v2.0/authorize
https://login.microsoftonline.com/23b103f9-76a9-4b74-9391-ae5b94842b23/oauth2/v2.0/token

Service : POST/GET <SERVER-NAME>/models/AdventureWorks/refreshes

Now,
I need to fetch the fields from data model of AAS and its raw data using java.
Please help with providing possible ways for same so that I can check it for my project integration
66261-aaz.png

Thanks,
Nilesh

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
479 questions
0 comments No comments
{count} votes

Accepted answer
  1. Saurabh Sharma 23,846 Reputation points Microsoft Employee Moderator
    2021-02-11T00:56:44.483+00:00

    @Nilesh Prajapati Thanks for using Microsoft Q&A !!

    As discussed over here AAS does not support java natively and so you need to use .NET Core to wrap around it or you can use a custom JSON proxy wrapper that can be integrated with Java. Sample code for the wrapper is found here. You can try using the suggested methods and check if able to fetch the required information.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Permono Sam 1 Reputation point
    2021-02-12T05:59:14.987+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.