Android and Navision Web Services

Goyo
Member Posts: 36
Hi everyone. I'm trying to access to Navision WebServices from an Android application, but I haven't had any success. I've been looking for help in this forum and others and I haven't been able to find any example for this matter. Has anyone [-o< an example of how to consume Navision WebServices from Android.
I'm consuming Navision WebServices from other sources, so I think my problem is with the Android code.
Thanks.
I'm consuming Navision WebServices from other sources, so I think my problem is with the Android code.
Thanks.
0
Comments
-
Does this help? http://blogs.msdn.com/b/freddyk/archive/2010/01/19/connecting-to-nav-web-services-from-java.aspxJava does not natively have support for the SPNEGO authentication protocol, but it does have support for NTLM authentication, so you will have to change the Web Services listener to use that.0
-
deV.ch wrote:Does this help? http://blogs.msdn.com/b/freddyk/archive/2010/01/19/connecting-to-nav-web-services-from-java.aspxJava does not natively have support for the SPNEGO authentication protocol, but it does have support for NTLM authentication, so you will have to change the Web Services listener to use that.
Thanks, but I've already tried that. The error I get is "Connection refussed", so I think it's something about authentication. The problem is I've found a few examples and with all of them I obtein the same error message. I think the problem is that those examples don't connect to Nav WebServices. And I think the problem with the example you suggest is that it doesn't connect from Android. Does anybody have a complete (Android+Nav) example working?0 -
Hi Everybody,
I have the same issue of "connection refused" even changed authentication to NTLM and restarted the server, i am connecting from android code using ntlm authentication library but i get the exception as connection refused.0 -
why not to create webservice proxy? Proxy will have windows authentication, but website (or your application) can use whatever you want in that case. Anyway you need something to consume webservice on android end.0
-
Hello All,
I think, this post is related to my problem as well.
I have to develope one Android application that can talk with NAV 2013.
My environment configuration is like below:
One physical server, having 2 virtual machines resides on it.
VM1-DBServer - OS-Windows Server 2012 Standard
SQL-SQL Server 2012 BI Edition
VM2-AppServer - OS-Windows Server 2012 Standard
NAV-Version 2013
If I have enabled the Live IP on this AppServer and want to start the Android Development from outside of domain through live IP, what are the steps required to be setup on NAV Server side or SQL Side so that Web-Services can be accessed from android developer. I am not sure, whether I am missing anything on NAV Side or Active Directory or IIS side. Or Android developer is making fault somewhere.
FYI, the web-services that I have published, are accessible to JAVA development environment in outside of domain through Live IP.
But, problem occurs while accessing the same from Android Development Environment. Android application got the 401 error stating unsuccessful authorization.
Could anybody suggest me where can be the issue and hint toward the solution?0
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