(MBS-Navision 3.70) WEB Service ?

ams79
Member Posts: 39
Does MBS-Navision 3.70 runs as a Web service without making an application for it?
0
Comments
-
I'm afraid not. You have 2 options:
1) you can write a web service which connects to Navision through C/ODBC or directly on SQL Server if you use the SQL Server option
2) you write a codeunit in Navision which calls a webservice to the external application (how to call a webservice from within Navision is explained here: http://www.mibuso.com/forum/viewtopic.php?t=1303&highlight=web+service)
For Native Navision servers I really don't like the C/ODBC option, because that always takes up a session. Imagine you have a Navision database with 10 user sessions available: 9 real users and one for the C/ODBC connection. If one user decides to log in twice, than the 10th session is blocked, than the C/ODBC cannot make a connection anymore and your Web Service will time out.
I prefer that Navision takes "the lead" for communicating with the outside world. Instead of a C/ODBC session, you install a NAS Service, and you program Navision so that the NAS looks for data to be processed (by calling the Web Service of the external application, taking in an XML from that web service with data input). You can than write code to process the data in Navision using the business logic that you have already written.
That way, all your business logic is in Navision, and you don't have to rewrite it in your web service as well. We have done several projects using this approach, and they all confirm that it's the right way to handle things.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