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
    Ignacio Ocampo 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
    keoma 32,675 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
    Roberto Stefanetti 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans