XML Web Services NAV (with C/Side)

usherbrookeusherbrooke Member Posts: 10
edited 2011-09-07 in NAV Three Tier
Hello,
I would ask you for the help.
I'm looking for an example of :
a) a codeunit (which would be published from a server SRV-NAV1) to export an XML stream,
b) a codeunit (on SRV-NAV2), that will consume this WS for to save an XML file (with this stream) on the local disk. Then, this file (*.xml) will be save by XMLPort in tabledata.
Thanks again for your help,
Best Regards
Benoît

Comments

  • kinekine Member Posts: 12,562
    ad 1) Use the XMLPort as parameter of the function in the codeunit and check the Var property
    ad 2) Use XMLHTTP to call the webservices (it is more complex to set all what is needed, but it could be done). You can find more by searching...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.