How Web Services can communicate to Nav?

logu_cbe
Member Posts: 54
Hi Guys,
We need to create one web service which needs to communicate with Nav and return data to other .net product.
For Ex. in third party product (.net product) while it asks for stock of one item stored in Nav, our web service needs to access the Nav and send the stock info to the product.
How can we achive this? Any inputs?
Thank you,
Logu
We need to create one web service which needs to communicate with Nav and return data to other .net product.
For Ex. in third party product (.net product) while it asks for stock of one item stored in Nav, our web service needs to access the Nav and send the stock info to the product.
How can we achive this? Any inputs?
Thank you,
Logu
0
Comments
-
if you want to access Navision Data in any other external application. then you can achieve this by using NAS(Navision Application Server) With Meassage Queue.
search this forum form more detail about Message Queue and NAS.
Regards,Experience Makes Man Perfect....
Rajesh Patel0 -
HI,
Thanks a lot for your immediate reply...
Our .net developer saying that MSMQ is asynchronous data transfer.
We would like to have a Web service which communicate Nav directly and get the info immediately.
Any inputs?
Thanks in Advance,
Logu0 -
MSMQ can be used to implement solutions for both asynchronous and synchronous messaging scenarios.0
-
ara3n wrote:MSMQ can be used to implement solutions for both asynchronous and synchronous messaging scenarios.
But are not running under 64bit OS... or are they?
There are good examples of how to create your own WebService for NAS:
http://www.mibuso.com/forum/viewtopic.php?t=252040 -
Thanks a lot for you guys.
Kine: As the solution suggestd by you using framework 3.0, our developer saying he could not use it.
ara3n: You have suggested that MSMQ for Synchronous transfer also. Can you pls. let me know how we can implement?
Following is our scnario
1. Webservice will send Unique ID and SKU code as a object from Web site
2. NAS needs to get that parameter.
3. Codeunit should be there to parse that parameter and get the stock for given SKU.
4. Codeunit must return availablity with Unique ID and SKU code
At a single point of time we may get multi number of requests for a stock. Will MSMQ work for us?
Can you pls. let me know how we can implement?
Thanks in Advance,
Logu0 -
Also you can be inspired by this download:
http://www.mibuso.com/dlinfo.asp?FileID=599
There is example how to create the WebService using MSMQ...0 -
And one thing - because MSMQ is not working under 64bit OS on NAV, you can take the example for WebService on MSMQ and connect it with the first example of WebService based on .net 3.0, connect them and you have solution able to work with older .nets but working under 64bit... :-)0
-
There are a couple of different ways that you can approach this.
If you need to have read and update data in Navision then using MSMQ and NAS is a good solution (and probably the best if you're using Navision Server)
However if you are only reading data (and running on SQL) and you just want to get Inventory Levels or other information from Navision (i.e. you are not doing anything to update Navision tables) then you could just build a webservice in .Net that accesses the Navision tables directly (through ADO.Net). This may be faster to implement and has reduced support requirements as you do not need to worry about NAS or MSMQ.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