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

I have the same question (0)
  • Santosh Guttigoli Profile Picture
    90 on at
    [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]

  • Suggested answer
    keoma Profile Picture
    32,729 on at

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

    works also for bc.

  • Santosh Guttigoli Profile Picture
    90 on at

    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,729 on at

    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

    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

  • BCJavaDeveloper Profile Picture
    19 on at

    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.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,033 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,105 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,035 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans