Web Services Black Belt: consuming NAV web services using pure C/AL
Have you ever needed to connect to the Web services of one NAV instance from another one? If so, I bet that the approach was something like this: you created a .NET class where you defined a Web or Service reference to the target instance, and then you consumed that .NET class using .NET Framework interoperability. It was kind of clumsy, inflexible, but it worked.
How cool would it be if you could do something like this:
WITH WebService DO BEGIN
MESSAGE(‘I just created Customer No. %1 in another NAV instance.’,GETVALUE(‘No’));