Create and use Web Services in a Microsoft Dynamics™ NAV

WaldoWaldo Member Posts: 3,412
edited 2008-04-15 in NAV Three Tier
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 :wink:.

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog

Comments

  • garakgarak Member Posts: 3,263
    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.)

    Regards
    Do you make it right, it works too!
  • p.willemse6p.willemse6 Member Posts: 216
    Would also be nice if MIcrosoft could tell us something more about the licensing model for these webservices...
  • garakgarak Member Posts: 3,263
    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!
  • WaldoWaldo Member Posts: 3,412
    I think this is not known yet.
    Monday, I'm leaving to convergence ... this is one of my questions that I will try to get answered :wink:.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • garakgarak Member Posts: 3,263
    waldo, we looking forward .....
    Do you make it right, it works too!
  • Jason_Allor_[MSFT]Jason_Allor_[MSFT] Member, Microsoft Employee Posts: 5
    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.”
  • SobyOneSobyOne Member Posts: 20
    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:
    _\~ () ]3 `/ () |\| [-
    http://www.SobyLand.com
    651-815-0698
Sign In or Register to comment.