NAV 2009 web service connection from linux system

genericgeneric Member Posts: 511
edited 2009-03-05 in NAV Three Tier
Hello
Has anybody successfully connected from non windows system to NAV 2009 web service?
There is no documentation on how to authenticate with 2009.

I believe in Java Sun has implemented the Kerberos authentication.
Any info would be appreciated.

Comments

  • genericgeneric Member Posts: 511
    No answer? nobody out there as build solution yet? Is it even possible?
  • jwilderjwilder Member Posts: 263
    I also am looking for a quick easy example on using NAV Web Services with Java or Javascript
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    You can find a couple of samples on Web Services from Javascript on my blog.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • genericgeneric Member Posts: 511
    Hello Freddy

    In you example you are using "Msxml2.XMLHTTP.4.0". I don't it can be used in non windows OS or java.


    xmlhttp.open("POST", URL, false, null, null);

    you are passing null for login and pw.

    So where is the authentication done or how?
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    Correct you probably cannot load the MsXML ActiveX on non-windows.
    I read a couple of places that newer browser can do
    xmlhttp=new XMLHttpRequest();
    

    But I haven't tried non-windows platforms.
    Reg authentication - javascript in the (Internet Explorer Browser under Windows) is executed in the context of the user and it supports windows authentication.
    You would probably have to create a user (maybe with deny login) which you use for this purpose.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Sign In or Register to comment.