How To: Test a Dynamics NAV Webservice with Soap UI (free)

Featured_WS
FacebookTwitterGoogle+LinkedInWhatsAppEvernoteShare

For the last few days I have been working more than usual with Dynamics NAV Webservices in order to make available the business logic to the outside world and allow for external connections. And to do so I needed a trustworthy testing tool.

In my case I have used Soap UI in the past and have had good experiences. So I wanted to create this entry detailing how to test a webservice with this tool :-)

To demonstrate this I have decided to create a new codeunit that has one function alone named “PrintPDFInvoice”. This function prints a PDF of a specific invoice and leaves it in a specific folder.

Continue reading

How To: Close sessions in NAV2013, NAV2013R2 and NAV2015!

sessions

Up to NAV2009 we had at our disposal the option of closing sessions from the same form we could see the sessions on. But unfortunately this option disappeared in NAV2013.

The page where we can see the same info is now the debugger, and does not have a “Kill session” option we are looking for.

What can we do in this version then?

A new function was introduced called “STOPSESSION”. It enables us to do the same thing we could do before.

Continue reading