Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Connecting business central web service through java code

(0) ShareShare
ReportReport
Posted on by 90

8562.Screenshot-_2800_101_2900_.png
I have created a web service for newly created page named as "VendorList" business central. I want to access this web service through java code so I can add data to tables of business central through java code. I want connection of web service (any type of URL of web service OData URL, Soap URL) and java. You may suggest any other method to add data to business central table? Is this can be done using business central API? Where can I get business central API so I can call this API from java to add data to table of business central? If is it a possible way (calling business central API ) , how can I call business central API in java? Kindly provide a solution for this, Thanks in advance.

  • BCJavaDeveloper Profile Picture
    19 on at
    RE: Connecting business central web service through java code

    The above link no longer works - I am getting the following error:

    docs.microsoft.com/.../content-removed.

    This answer really did not help what I was looking for.

  • Santosh Guttigoli Profile Picture
    90 on at
    RE: Connecting business central web service through java code

    Thanks a lot for your help. I have one more question to ask, what will be urn for the business central? Also I am getting error in SystemService class even though I have mentioned in url.

    Screenshot-_2800_106_2900_.png

  • Suggested answer
    keoma Profile Picture
    32,725 on at
    RE: Connecting business central web service through java code

    goto web services. there in the soap column you find the soap links.

    the base url is api.businesscentral.dynamics.com/.../<your app guid>/Production/WS

    that should be the url you need.

  • Santosh Guttigoli Profile Picture
    90 on at
    RE: Connecting business central web service through java code

    Thanks. But  The code is for localhost, and schema file is imported using wsimport, It will not work for sandbox link. I am working on sandbox  environment. Also where Can I get schema file of business central to import in java code. Could you please provide me with schema file or what will be the change in the code so I can run code for sandbox environment of business central?

    Screenshot-_2800_103_2900_.png

  • Suggested answer
    keoma Profile Picture
    32,725 on at
    RE: Connecting business central web service through java code

    goto blogs.msdn.microsoft.com/.../

    works also for bc.

  • Santosh Guttigoli Profile Picture
    90 on at
    RE: Connecting business central web service through java code
    [quote user="Santosh Guttigoli"]

    8562.Screenshot-_2800_101_2900_.png
    I have created a web service for newly created page named as "VendorList" business central. I want to access this web service through java code so I can add data to tables of business central through java code. I want connection of web service (any type of URL of web service OData URL, Soap URL) and java. You may suggest any other method to add data to business central table? Is this can be done using business central API? Where can I get business central API so I can call this API from java to add data to table of business central? If is it a possible way (calling business central API ) , how can I call business central API in java? Kindly provide a solution for this, Thanks in advance.

    [/quote]

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,424 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans