Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Cannot use web service in Business Central

Posted on by 543

Hi,

I have a Business Central cloud where I try to use a web service that connects to page 21 (Customer Card).

The web service is public but when I take the SOAP URL from BC and use it in Chrome, it asks for username and password again and again and again. There are no error messages and when I have entered the information a few times, my account is locked in Outlook.

I have tried this using the SOAP URL from Sandbox and from Production. Same error.

On some customer projects, I have done the same but with a username that is not the same as my personal login to Windows.

i use Widzler to test the connection, but in this case BC doesn't return anything that Widzler can use.

My SOAP URL looks like this (I have changed a few numbers before pasting the link here):

https://api.businesscentral.dynamics.com/v2.0/2999befa-1d54-4334-a92a-672d0e24f090/Sandbox/WS/CRONUS%20Danmark%20A%2FS/Page/Debitorer

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Cannot use web service in Business Central

    Hi Marco,

    Thank you very much. I didn't know that I have to use that field as password when connecting to Business Central.

    Br,

    Morten

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Cannot use web service in Business Central

    Hi Salah,

    Thank you very much. I didn't know that I have to use that field as password when connecting to Business Central.

    Br,

    Morten

  • Verified answer
    RE: Cannot use web service in Business Central

    Hi Morten,

    Open the user card on Business Central, then click on the DrillDown Button near "Web Service Access Key" to generate your web service key.

    When opening the web service on the browser, tape your username and the Web access key as password. That's all.

    pastedimage1592915392430v1.png

    -----------------------------------------

    Best Regards,

    Salah Eddine BENOUALA

    Dynamics NAV & 365 Business Central Consultant

    Please verify my answer, if you find it helpful.

    Doing so you'll show others that there was found a solution and you credit my help.

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Cannot use web service in Business Central

    No. I use the same user name and password as I enter when Windows starts.

    I don't know what a WebServicesKey is.

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Cannot use web service in Business Central

    Hello,

    Are you usin the WebServicesKey instead of password?

    Thanks,.

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Cannot use web service in Business Central

    When I have done the same on other projects, it has been on older versions of NAV on-premise.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans