web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dynamic Nav and WebSphere integration

(1) ShareShare
ReportReport
Posted on by 90

Hi to all. I need to consume Navision codeunit web service from a j2ee application deployed on websphere.

A developed a standalone application and it works perfectly. When I copy this code in a java class within the j2ee application I have a nullpointexception. Reading trace log server, I found out the web service call is executed but the answer is a 401 error...I don't know why but is seems the authentication I implemented does not work in a j2ee application. Is there a way to implement such an integration? I spent some day without success.

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    only some suggestions.

    "401 error" is "unauthorized" issue.

    Try to use "Username"for NAV authentication model instead of Windows Model (using certificate mapping wirh certificate thumprint);

    I tested some times ago with SOAPUI Client and Others Java clients, you need to pass credentials on WSDL after mapping (if have need to cnnect one); you can also activate NTLM Authentication if necessary.

    some links\blogs here

    blogs.msdn.com/.../connecting-to-nav-web-services-from-java.aspx

    consuming webservice with java

    mibuso.com/.../viewtopic.php;t=57164&view=previous

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    hi,

    there are some threads about that topic (java/nav web services):

    follow:

    community.dynamics.com/.../142289.aspx

    community.dynamics.com/.../142385.aspx

    also follow:

    blogs.msdn.com/.../connecting-to-nav-web-services-from-java.aspx

  • Ignacio Ocampo Profile Picture
    15 on at

    Hi Pierpaolo I'm developing a new service to do NTLM authentication https://www.nafiux.com/wasp/ if I can help you please let me know

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans