Authorization Error in Java and NAV Web Service Integration.

Amitava_Mitra
Member Posts: 35
Hi,
We are trying to integrate NAV 2009 SP1 with a Java/Oracle based application through the web-services. Basically the objective is to transfer data between central NAV-SQL ERP database to the local databases of the application through web-services.
The infrastructure is the SQL database, NAV Webservice and NAV Service is running in the same server.
We have been able to publish web-services in NAV and able to consume them using simple MS Office InfoPath project and succssfully able to read/write data in the NAV-SQL Database.
However, it is constently throwing error <401> Unauthorized, while connctting through the Java application. We have already set NTLM authentication for the web service as "false" in the web service config file.
Any help would be of great help. Thanks in advance.
Thanks,
Amitava
We are trying to integrate NAV 2009 SP1 with a Java/Oracle based application through the web-services. Basically the objective is to transfer data between central NAV-SQL ERP database to the local databases of the application through web-services.
The infrastructure is the SQL database, NAV Webservice and NAV Service is running in the same server.
We have been able to publish web-services in NAV and able to consume them using simple MS Office InfoPath project and succssfully able to read/write data in the NAV-SQL Database.
However, it is constently throwing error <401> Unauthorized, while connctting through the Java application. We have already set NTLM authentication for the web service as "false" in the web service config file.
Any help would be of great help. Thanks in advance.
Thanks,
Amitava
0
Comments
-
Have a look on this :
http://blogs.msdn.com/b/freddyk/archive/2010/01/19/connecting-to-nav-web-services-from-java.aspxCA Sandeep Singla
http://ssdynamics.co.in0 -
However, it is constently throwing error <401> Unauthorized, while connctting through the Java application. We have already set NTLM authentication for the web service as "false" in the web service config file.
You need to set it to "True"0 -
Thanks for your post.
But even if I set the "WebServicesUseNTLMAuthentication" as "True" in CustomSettings.config file, it is not working with Java, whereas perfectly working from other applications like InfoPath or even .NET as well.
Is there any web-service (generic or specific to NAV web-services) authentication issues with Java platform, or any special settings need to be done? We tried almost everything on the server, like turning off firewell, using administrator to login to the web-service etc., still no positive result. ](*,) ](*,) ](*,)
Though it is the simplest setup having everything in a single server box, still not working.
Is it possible to share a working sample code of Java / NAV web-service integration which can be tested?
Thanks for your help.
Regards,
Amitava0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions