NAV Http Web Request

In my post about Json and Rest web services I showed how to use the standard Codeunit no. 1297 for web service communication. Today I was asked to do this in NAV 2015.  I must admit, I forgot that this Codeunit was not available in NAV...
Continue reading »

Using REST/Json web services from NAV

One of my most popular blog entry is the one about Json.  I have also had some questions outside this website about this topic. This week I got a task.  We need to communicate with a payment service that uses REST web services and Json...
Continue reading »

Asynchronous web services in NAV

Asynchronous methods are very useful for web services.  To be able to start a process with one method and then check the status with another opens a lot of possibilities. There are two known patterns in NAV that support asynchronous methods;  one is to use the STARTSESSION...
Continue reading »

JSON meets NAV

I have been using SOAP services over the last years.  Only recently the RESTful web services have become more and more popular in my integration work.  Wikipedia says: In computing, Representational State Transfer (REST) is a software architecture style for building scalable web services. REST gives...
Continue reading »

Using NetTcpPortSharing for NAV Servers

I just came back from three weeks vacation yesterday.  During my vacation I had made a decision to implement Tcp Port Sharing for the Instance Administration tool used in Advania Azure. Early last year I published a function that uses the sc.exe to modify a NAV...
Continue reading »

Ping your web service for security

Increasingly we are using Web Services to communicate between NAV companies.  In a production environment these communication is usually secured by the SSL standard. When the communication is sent over the Internet I would recommend that a secure ping be added before every communication to...
Continue reading »

OData in NAV 2013 R2

Open Data Protocol (OData) is a data access protocol initially defined by Microsoft.  In NAV 2013 Microsoft first added a support for OData.  On the Developer Network Microsoft has a few walk-throughs aimed to get us started in using both SOAP and OData web services....
Continue reading »

Please add block possibility to Permission table

Yesterday I suggested to Microsoft an enhancement to the permission functionality.  That was an informal suggestion so I logged into Microsoft Connect and added a formal suggestion. In table 2000000005 Permission we can assign permission to objects.  In the Classic Client we had the possibility to...
Continue reading »