Web Services Infrastructure and how to Create an Internal Proxy

I am NOT an expert in how to setup a secure network and I do NOT know a lot about firewalls, DMZ setup and all of these things, but I have seen a lot in my 25 years of working with computers and the following (absolutely non-exhaustive) gives a good picture of a common network…

7

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…

2

Connecting to NAV Web Services from Windows Mobile 6

I have created my very first Windows Mobile App! This is running in an Emulator using the Professional SDK. I also tried to deploy the solution to my physical device (my Smartphone), which also worked: To be honest, the biggest challenge is to setup everything so that you can get going. A couple of useful…

1

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….

9

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…

1

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…

10

Connecting to NAV Web Services from Visual Basic .net using Service Reference

This post is really just a Visual Basic version of this post and this post combined, please read those posts before continuing this post. As described in the other posts, there are two ways to work with Service References – one is to keep the configuration in a .config file and the other is to…


Connecting to NAV Web Services from Visual Basic .net using Web Reference

This post is really just a Visual Basic version of this post, please read that post before continuing. Note, this is my very first Visual Basic application. I don’t think there are any ways to do this easier – but then again – how should I know. I am creating a Visual Basic Console application…

2

Connecting to NAV Web Services from C# using Service Reference (code version)

You should read the post about connecting to NAV Web Services from C# using Service Reference (config file version) before continuing here. Code is king As you saw in the other post, the config file was pretty complicated and although it is editable by hand and as such could be modified at installtime or whatever,…

7

Connecting to NAV Web Services from C# using Service Reference (config file version)

Prerequisites Please read this post to get a brief explanation of the scenario I will implement in C# using Web References. For C# we can leave the Service Tier running Negotiate or we can use Ntlm as PHP and Java. In this example I will assume that the Service Tier is running SPNEGO (which is…

10

Connecting to NAV Web Services from C# using Web Reference

Prerequisites Please read this post to get a brief explanation of the scenario I will implement in C# using Web References. For C# we can leave the Service Tier running Negotiate or we can use Ntlm as PHP and Java. In this example I will assume that the Service Tier is running SPNEGO (which is…

12

Connecting to NAV Web Services from Java

Prerequisites Please read this post to get an explanation on how to modify the service tier to use NTLM authentication and for a brief explanation of the scenario I will implement in Java. BTW. Basic knowledge about Java is required to understand the following post:-) Version and download Java does not natively have support for…

23

Connecting to NAV Web Services from PHP

Prerequisites Please read this post to get an explanation on how to modify the service tier to use NTLM authentication and for a brief explanation of the scenario I will implement in PHP. BTW. Basic knowledge about PHP is required to understand the following post:-) Version and download In my sample I am using PHP…

71

Connecting to NAV Web Services from …

I promised to write some posts about how to connect to NAV Web Services from various other programming languages/platforms and I guess it is about time I kept my promise. I will create a couple of posts on how to connect to NAV Web Services from: PHP Java C# using Web Reference C# using Service…

9

Auto Deployment of Client Side Components – take 2

Updated the link to the ComponentHelper msi on 12/11/2009 Please read my first post about auto deployment of Client side components here before reading this. As you know, my first auto deployment project contained a couple of methods for automatically adding actions to pages, but as one of my colleagues in Germany (Carsten Scholling) told…


Dynamic references to NAV Page Web Services in C# – take 2

In this post from April, I explained how to make dynamic references to page based Web Services, but the post really left the developer with a lot of manual work to do using reflection. So – I thought – why not create a couple of helper classes which makes it easier. Basically I have created…

7

Displaying Company information in Card pages

I received a question from a customer, who is running multiple companies and often have multiple instances of NAV open with different companies. On the main page, they do have information about what company is the active:   but when they have opened a number of Task Pages in the various instances of NAV, they…


What COMPANY to use?

As you know, when creating an application consuming NAV Web Services you need to specify the Company name as part of the URL to the Web Service, but what company should you be using? Some applications are web front-ends placing data from the web application into NAV. For applications like this you typically would have…


Extending page Web Services (and creating a Sales Order again)

It has been working in the same way since NAV 2009, but I still get asked often how this works, so why not write up a quick post on this. I also realize that my prior post on how to create Sales Orders through Web Services was made very complex due to compatibility with NAV…

16

Synchronize A/D users to NAV

During my work with demos like Edit In Excel, I wanted to make sure that these things would work in all localized versions of NAV 2009 SP1 – meaning that I needed to install 14 different databases and 14 running Service Tier’s. Having done that, I also wanted to allow my colleagues who needed to…