Hello all,
May I ask you a question concerning invoking external web services ?
I read in Mr Ernst 's blog the possibility to invoke an external web service from Navision :
<<
Here is a link to a blog post about connecting to SOAP Web Services from inside NAV:
http://navcode.blogspot.dk/2012/01/conn ... -from.html
>>
Can you please tell me if this works also in NAV 2013 R2 ? (as automation variables are used)
and if not do I have to develop it in DOTNET ?
I have already read relevant MSDN help for NAV 2013 R2 but the external web service to consume has not been done with a proxy class (contrary to MSDN Help)
Note also that the web service to call has to export data from a table and not to import it.
I don't know which syntax to use to export data.
I would really appreciate an answer from you.
Thanks for your reply
abultel
Comments
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
There is no problem using server-side Dot-Nets as they only have to be installed on the server and not on the client and they do not have to be registered in the Client add-ins table
This is an example of one I wrote to talk to a free SOAP service that returns exchange rate information
First, thank you for your answer.
But as I am not a Dotnet developper, I would like to understand a bit more your example.
When you say that "the small piece of .net code consumes the web service and parses the results out in a series of functions that NAV can understand" ; can you please explain me in your example where is the interface to Navision ?
Where are in your code the series of functions that can be understood by navision ?
How is done the call from navision ?
My goal is to call an existing web service with an argument and export a list of records from a navision table.
Thanks for your reply
Arnaud
Try using the link Gunnar poste din his answer. I did not and allthough I am not a DotNet developer either, I had the code up and working in NAV in 15 minutes by following his guide.
Archerpoint India Pvt. Ltd,Chennai.
https://rockwithnav.wordpress.com/2016/02/23/consume-net-webservice-dotnet-data-type/
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/