Dear all,
We have to do and present and WebService that it is called on demand from other non-Microsoft Environment, so in that time that codeunit/page has to accept the file content and even the key and value, so does anyone had to do with this.
Any help is very appreciated.
Thanks in advance.
0
Answers
What is your problem? If you publish a codeunit as a WebService in NAV, it becomes accessible for any external calls with appropriate credentials.
Thanks for your quick replay.
A lot of questions are there?
How to take that file content send from non-Microsoft env?
How to treat key and value send from non-Microsoft env?
Best Regards,
you can send file content and any other data inside the XML. Or even through text parameter of specific method of NAV web service. Try to make experiment following next articles: https://blogs.msdn.microsoft.com/nav/2009/11/06/using-xmlports-with-web-services/
http://www.kauffmann.nl/2011/01/15/how-to-use-xmlports-in-web-services-1/
https://www.kauffmann.nl/2011/02/24/how-to-use-xmlports-in-web-services-2/