XML
-
Connecting to NAV Web Services from VBScript
The Connecting to NAV Web Services series is coming to an end. I think I have covered the majority of platforms from which you would like to connect and use NAV Web Services – some things are easy and some things are a little harder. I did not cover Flash nor did i cover things like the iPhone or iPod Touch, primarily because I don’t think the demand is there. If I have forgotten any platform/language please let me know...
-
Connecting to NAV Web Services from Microsoft Dynamics NAV 2009 SP1
Please read this post to get a brief explanation of the scenario I will implement in Microsoft Dynamics NAV 2009 SP1. Please also read this post in order to understand how Web Services works using pure XML and no fancy objects. Like Javascript, NAV 2009 SP1 does not natively have support for consuming Web Services. It does however have support for both Client and Server side COM automation and XmlHttp (which is compatible with XmlHttpRequest which we used in the...
-
Logging the XML generated from .net or received from NAV WS
When working with Web Services using languages who doesn’t natively have Web Services support (like Javascript and NAV self) you have to create a SOAP envelope yourself in the correct format. Of course you can do so by looking at the WSDL, understanding SOAP and using theory – or… – you can create a small C# application, invoke the Web Service you want to and see what XML .net creates for this. You can also see what XML you get...
-
Connecting to NAV Web Services from Javascript
Prerequisites Please read this post to get a brief explanation of the scenario I will implement in Javascript. BTW. Basic knowledge about Javascript and XML is required to understand the following post:-) Browser compatibility The sample in this post will work with Internet Explorer. I have only tried this with IE8, but according to documentation it should work from IE5 and up. I actually also tried to download Mozilla FireFox 3.6 and Opera 10.10 – but I failed to make...
-
Web Services changes in NAV 2009 SP1
NAV 2009 SP1 is being released later this year, so why write about it now? The main reason is, that NAV 2009 SP1 comes out with a couple of changes, you might want to take into consideration when writing towards NAV 2009 Web Services. Except for some performance enhancements, the major changes are: New standard encoding of the Company name I think one of the questions that has been asked the most is, how does my company name look in...
-
Edit In Excel R2 – Part 1 (out of 2)
This post assumes that you have read the 4 step walkthrough of how to build the Edit In Excel demo from November 2008. You can find the parts here: Part 1, Part 2, Part 3, Part 4 and the Bug Fix. In this post I will talk about what is needed in order to be able to save an Excel spreadsheet on a local disc, edit it offline and then submit your changes later. My first assumption was that this...
-
Microsoft Windows Vista Gadget – My “Stuff”
This is my second gadget. My first gadget was the Search gadget, which you can find here. I won’t repeat any explanation as to what a gadget is, nor will I talk about Javascript – instead I will focus upon the things, which are new in this post: Returning an XMLPort from Web Services to Javascript Running a Web Service method asynchronous Use the same gadget for invoking three different methods Poor mans error handling in Javascript What I want...
-
Search in NAV 2009 – Part 3 (out of 3)
If you haven’t read part 2 and part 1 of the Search in NAV 2009 posts, you should do so before continuing. This is the 3rd and final part of the Search in NAV 2009 post. In this section I will show how to create a Windows Vista Gadget and have this gadget connect to NAV through Web Services and search in NAV (like the System Tray version in part 2). We will create an installable Gadget like: and when...
-
Search in NAV 2009 – Part 2 (out of 3)
If you haven’t read part 1 of the Search in NAV 2009, you should do so before continuing. In this section we will create a small Winforms application, which uses the Web Service we just created in part 1. Our application will be visible as a System Tray Icon, it will have a global Windows Hotkey with which we can activate search and when you activate the Search application it will popup and look like this In part 3 we...
