Skip to main content

Notifications

Announcements

No record found.

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

WS authentication in NAV2009

(0) ShareShare
ReportReport
Posted on by 35

Hi everyone,

I'm trying to integrate an eSHop with NAV2009. I have published a CodeUnit as a SOAP WS. NAV has windows authentication by the way.

If I connect to the URL fro ma browser outside the server, I must enter user/pasword. I enter the same ones I introduce into the rdp connection. I can get the WSDL from the browser without any problem.

For testing, I'm trying to create request with the SOAPui. If I create a new SOAP project, I introduce the WS url, and I get this:

pastedimage1592402248673v1.png

Heer I have my frist problem. What should i introduce here?

Anyway, when I logged into with the browser, I've downloaded the WSDl, so I created a project with that WSDL.

In the request, I introduce same user and password I've introduced before in the browser:

pastedimage1592402586957v2.png

And the response is this:

pastedimage1592402609099v3.png

I'm quite lost, becasue I worked a lot with webServices and I never found this troubles. I am afraid that has something to see with the authentication...

Any hint?

Thank you all!!

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: WS authentication in NAV2009

    If the Problem is solved then mark the answer verify so that it helps to other community members.

    For date issues create a new thread and post it with screenshot.

  • aitorNAV Profile Picture
    aitorNAV 35 on at
    RE: WS authentication in NAV2009

    Hi Binesh,

    Thanks for your tips. I am already working against the WS. Now I have problems with dates, and the development itself, but at least, the authentication and conection issues are solved.

    Thank you!

  • Binesh Profile Picture
    Binesh 7,885 on at
    RE: WS authentication in NAV2009

    Make sure NTLM is true

  • aitorNAV Profile Picture
    aitorNAV 35 on at
    RE: WS authentication in NAV2009

    Finally I solved the authentication issue. The server adminsitrator gave me the domain, and now works correctly.

    Any way, now I get this error:

    pastedimage1592479115511v1.png

    What could be the reason? I filled the XML that is proposed in the webService... At least we can confirm that the webService is correctly created???

  • aitorNAV Profile Picture
    aitorNAV 35 on at
    RE: WS authentication in NAV2009

    Hello Binesh,

    First of all, thanks for your answer.

    I must say that I didn't execute any comand from that URL. But as far as I understand, if I can reach the WSDL from the browser, that means that the WS is created, am I right? It's my first time with WebServices in NAV 2009, I am quite lost and afraid about "breaking" anything I must admit..

    Apart from that, in the confgi file we have changed the marked value to false, because at first it was set to true, and the error was the same...

  • Verified answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: WS authentication in NAV2009

    Hello,

    make sure you have created a web services, for reference see below link

    Create Web Services in NAV 2009 R2

    Also make sure you have NTLM TRUE as shown below.

    pastedimage1592419792561v1.png

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans