Array parameter in web service

weneedweneed Member Posts: 82
I need to create Web service (CODEUNIT with XMLPort) that accept one or more serial number to export record filtering table. I want to use XMLPort to build a parameter array but.. how I can do it?
Ho I can test it with wilder?

Thank in advance

Answers

  • JuhlJuhl Member Posts: 724
    Just make the parameter of type text, and pass xml or json content.
    Or have 2 xmlports as parameter, on by ref containing the array.
    Think out of the box when working with externals, as not all data types is mapped.
    Follow me on my blog juhl.blog
  • JuhlJuhl Member Posts: 724
    Or maybe even a .NET array instead if a NAV array...? Haven’t tried that 😄
    Follow me on my blog juhl.blog
  • weneedweneed Member Posts: 82
    edited 2018-07-22
    Il i use parametri ad text how can get array in nav? Can you give me an exmple?
Sign In or Register to comment.