Hi I want to achieve the following.
I want to call code unit through webservice ( expose code unit as web service ) and pass xml to it.
I want to save that xml and then read it and import it through xml port.
I am trying to write a code unit and declared XMLIN variable as paramter (automaticion xml ) and trying to save it. It gives me assignment error.
Can any one guide me here?
I am just new to nav coding...

hope you some one will help me out here.
regards,
Answers
But you could also transfer the XML directly to an XMLPort parameter - which in effect will run the XMLPort with your Input and then run the function.
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
I hope this should do the job.
Any recommendations?
regards,
I even can't save it in xml file.. it gives type convertion error. any help ?
regards,
I even can't save it in xml file.. it gives type conver
regards,