Generic Web Services Client (v2) for Microsoft Dynamics NAV

Administrator
Member, Moderator, Administrator Posts: 2,506
Generic Web Services Client for Microsoft Dynamics NAV
This simple codeunit allows you to consume any NAV page web service from C/AL without having to write any wrapper classes in .NET, or deploy any external dependencies. The only thing you need to have is the URL to the page web service.
More details and code examples at: http://vjeko.com/web-services-black-belt-consuming-nav-web-services-using-pure-cal/
https://mibuso.com/downloads/generic-web-services-client-v2-for-microsoft-dynamics-nav
Discuss this download here.
This simple codeunit allows you to consume any NAV page web service from C/AL without having to write any wrapper classes in .NET, or deploy any external dependencies. The only thing you need to have is the URL to the page web service.
More details and code examples at: http://vjeko.com/web-services-black-belt-consuming-nav-web-services-using-pure-cal/
https://mibuso.com/downloads/generic-web-services-client-v2-for-microsoft-dynamics-nav
Discuss this download here.
1
Comments
-
Great, thanks!
Saw you @ Techdays and was hoping that you would post the source
=D>0 -
dankerr wrote:Great, thanks!
Saw you @ Techdays and was hoping that you would post the source
=D>
* LIKE *0 -
dankerr wrote:Great, thanks!
Saw you @ Techdays and was hoping that you would post the source
=D>
I said I would post the source, so I did. It's no voodoo inside, I don't know why I'd keep it secret(Co-)author of "Implementing Microsoft Dynamics NAV 2009"
http://vjeko.com/0 -
Hi, I asked on your site if I could debug the C# code? :oops: A big thanks for opening up my view for what can be done with those soap messages. The .net framework saves us from programming a lot of steps but I was feeling a bit dumb for not understanding what goes on behind the scenes.0
-
mdPartnerNL wrote:Hi, I asked on your site if I could debug the C# code? :oops: A big thanks for opening up my view for what can be done with those soap messages. The .net framework saves us from programming a lot of steps but I was feeling a bit dumb for not understanding what goes on behind the scenes.
I'll put up the C# code on my site - I need to produce it myself, tooI started from it, but then was dumb enough to not save it ](*,)
And I am trying to make it work in 2009, too. It's kind of tricky because there is no GETDOTNETTYPE, and some differences between .NET Framework 3.5 and 4.0. Some patience, and over weekend I post all of it here, and on my blog.(Co-)author of "Implementing Microsoft Dynamics NAV 2009"
http://vjeko.com/0 -
if you make it work in 2009 I can import it. And debug the c# on the server. That's ok too of course.
About the .NET version, 2009 installs 3.5 I think, don't no yet about 2013.0 -
mdPartnerNL wrote:if you make it work in 2009 I can import it. And debug the c# on the server. That's ok too of course.
I'll make it work, I am working on it as I, well, typeBut you can debug it in C# even in 2013. That won't help, though. It shows much more complicated version of C#, with a lot of overhead. The original C# code is way simpler than this 2009, and in 2009 I had to pull a lot of tricks to make it work.
mdPartnerNL wrote:About the .NET version, 2009 installs 3.5 I think, don't no yet about 2013.
For NAV 2013 I am pretty sure it's compatible with 4.5, as I have been deploying some 4.5 assemblies, and it ran them without whining.(Co-)author of "Implementing Microsoft Dynamics NAV 2009"
http://vjeko.com/0 -
Generic Web Services Client (v2) for Microsoft Dynamics NAV
This simple codeunit allows you to consume any NAV page web service from C/AL without having to write any wrapper classes in .NET, or deploy any external dependencies. The only thing you need to have is the URL to the page web service.
Update October 08, 2012
==================
There are two files inside: one for NAV 2009 and one for 2013. I haven't fully tested the NAV 2009 version. It is a bit different because of differences between the .NET interoperability implementation in NAV, and the limitations of NAV 2009. I am not going to maintain the NAV 2009 version, and it is here just as an example of how to address the limitations, such as the lack of the GETDOTNETTYPE and the fact that simple data types translate directly to C/AL types.
To run the NAV 2009 version correctly, you need the latest hotfix for NAV 2009.
More details and code examples at: http://vjeko.com/web-services-black-belt-consuming-nav-web-services-using-pure-cal/
https://mibuso.com/downloads/generic-web-services-client-v2-for-microsoft-dynamics-nav
Discuss this download here.0 -
==================================================
Problem solved
==================================================
A group in page is required for working.0 -
Thank you very much to sharing valuable knowledge.
This was the solution that i had been searching few weeks...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