Create and use Web Services in a Microsoft Dynamics™ NAV

Waldo
Member Posts: 3,412
Create and use Web Services in a Microsoft Dynamics™ NAV solution (Belgian MSDN Evening)
Source: my blog
Recently (last Thursday) I joined the MSDN Evening, organised by Microsoft, to learn more about how to use webservices in a NAV implementation. Now, I have to say, I was not able to follow the session, unfortunately
.
Namely, I had the honors to work together with a Microsoft employee on a presentation about webservices in NAV2009. We did some work before this session, but also during this session to create the session, to create a cool demo . Off course, this made me miss the original one. Nevertheless, this time, they recorded the session. So from now on, everybody over the world can enjoy the Belgian MSDN sessions. I know it was a comment on one of my first blogs about the the MSDN evenings ... well ... they did something about it . Long live the community .
You can find the video here: http://www.microsoft.com/belux/msdn/nl/chopsticks/default.aspx?id=323. I hope everybody can log in and watch the video - it was very interesting imho.
So, what did we (the microsoft employee (Kurt Juvyns) and I) do during the session? Well, Kurt intended to give a little preview on how we will be able to create webservices in the future - in NAV 2009. In some conferences I attended, I had the opportunity to see some demo's about this, so I somewhat had an idea on how it should work. That's why Kurt asked for my help.
We wanted to show how easy it was to do your own thing, and that's why we created our own codeunit to be published as a webservice. I won't go into it too deeply (with codesamples or whatever - I will do that whenever this comes available), but this is what we did in only one and a half hour of development in C#, C/SIDE and Infopath:
Create a "Hello World" in C# - the webservice was based on a custom codeunit;
Create a customer card in Infopath - the webservice was based on a page (Customer card);
Create a webservice to create a customer in C# - the webservice was based on a page (Customer Card) - it executed the business logic to generate a new number, and to fill the Search description.
Create a webservice that posted an invoice - based on our custom codeunit: to show that a very big piece of business logic can be used out-of-the-box;
Create a customer list by publishing a page (Customer List) in C#. Looping a recordset with a foreach, and just adding the recordset into a grid.
It was remarkable to see how fast we could create these kinds of things (knowing that Kurt and I never worked with Infopath or C# ). One thing was for sure - the people who attended the evening were quite impressed about this upcoming technology - as am I .
There are some pictures on my blogas well
.
Source: my blog
Recently (last Thursday) I joined the MSDN Evening, organised by Microsoft, to learn more about how to use webservices in a NAV implementation. Now, I have to say, I was not able to follow the session, unfortunately

Namely, I had the honors to work together with a Microsoft employee on a presentation about webservices in NAV2009. We did some work before this session, but also during this session to create the session, to create a cool demo . Off course, this made me miss the original one. Nevertheless, this time, they recorded the session. So from now on, everybody over the world can enjoy the Belgian MSDN sessions. I know it was a comment on one of my first blogs about the the MSDN evenings ... well ... they did something about it . Long live the community .
You can find the video here: http://www.microsoft.com/belux/msdn/nl/chopsticks/default.aspx?id=323. I hope everybody can log in and watch the video - it was very interesting imho.
So, what did we (the microsoft employee (Kurt Juvyns) and I) do during the session? Well, Kurt intended to give a little preview on how we will be able to create webservices in the future - in NAV 2009. In some conferences I attended, I had the opportunity to see some demo's about this, so I somewhat had an idea on how it should work. That's why Kurt asked for my help.
We wanted to show how easy it was to do your own thing, and that's why we created our own codeunit to be published as a webservice. I won't go into it too deeply (with codesamples or whatever - I will do that whenever this comes available), but this is what we did in only one and a half hour of development in C#, C/SIDE and Infopath:
Create a "Hello World" in C# - the webservice was based on a custom codeunit;
Create a customer card in Infopath - the webservice was based on a page (Customer card);
Create a webservice to create a customer in C# - the webservice was based on a page (Customer Card) - it executed the business logic to generate a new number, and to fill the Search description.
Create a webservice that posted an invoice - based on our custom codeunit: to show that a very big piece of business logic can be used out-of-the-box;
Create a customer list by publishing a page (Customer List) in C#. Looping a recordset with a foreach, and just adding the recordset into a grid.
It was remarkable to see how fast we could create these kinds of things (knowing that Kurt and I never worked with Infopath or C# ). One thing was for sure - the people who attended the evening were quite impressed about this upcoming technology - as am I .
There are some pictures on my blogas well

0
Comments
-
I've also seen an video about the possibility to create small webservices.
It's an nice tool. And i hope it would be easier for us to create these nice programms
With my version (4.03) i also use an webservice, to make it 3-rd party applications in our firm, easier to create contacts / Customers or invoices.
So, with Nav 4.xx (or 3.70) it's also possible to work with webservices.
The only thin you need.
1. WebServer (Apache or SSIS)
2. NAS
3. An Codeunit
4. an communication interface (Socket, XML, etc.)
RegardsDo you make it right, it works too!0 -
Would also be nice if MIcrosoft could tell us something more about the licensing model for these webservices...0
-
i'ved asked this an german M$ employee (important person) on the Cebit here in Hannover, but he could't give me an answer. Or he wasn't allowed to say :-(Do you make it right, it works too!0
-
waldo, we looking forward .....Do you make it right, it works too!0
-
p.willemse6 wrote:Would also be nice if MIcrosoft could tell us something more about the licensing model for these webservices...
We are currently finalizing the licensing model and should have some information about this relatively soon. The goal is to make web services easy to consume both from a coding standpoint and from a licensing standpoint.This posting is provided "AS IS" with no warranties, and confers no rights.”0 -
Get rid of the concept of a "user" in a web environment.
Simply limit the functionality by RAM, CPU, or other physical constant.
I've had nothing but problems with the license model when it comes to "web" or "offline" users. Technically, the license supports both as "offline" without additional user licenses as long as the application does not make an "active" connection to the live database.
I can't think of a scenario where I would not loose in a license audit. :evil: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