Hi
I cant give you the actual code however check out the links from Aleksandar and also the Microsoft examples and help here is pretty good - msdn.microsoft.com/.../br211386.aspx
It took a bit of reading up to get it working but as i mentioned NAV had not problem handling the calls
Cheers
Nev