I am about to build functionality for reading invoice data from a customer into NAV 2009. The customer exposes incoices using a web service on his server.
The problem is that all information from Microsoft, and most postings I have found on the net is about web services cover the opposite; how to expose a webservice from NAV.
From what I have found out it is possible to use automation like XMLHTTP and DOMdocument, but that involves a lot of coding including parsing of the XML.
I guess using an XML port would be better.
Do anybody have some ideas of the best way to do this? Links?
0
Comments
I use Visual Studio to build a web reference or a class for the web service. Compile a .dll and put that into the Add-ins folder for the server and/or the client. That is the fastest way in my experience to implement web service communication in NAV tree tier.
Look here http://www.dynamics.is/?p=1381
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
Sometime ago I started off with this code to call webservices. I abstracted all the complexity away by writing wrappers and now I can call any SOAP webservice using the same methods and parameters, including Navision itself for all sorts of multicompany integration.