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

  • Ignacio Ocampo Profile Picture
    15 on at
    RE: Dynamic Nav and WebSphere integration

    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

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: Dynamic Nav and WebSphere integration

    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

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: Dynamic Nav and WebSphere integration

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans