capture all records from a table

jgallegoajgallegoa Member Posts: 20
Hi everyone,

I have created a codeunit with web service and i'm trying to pass to the aplication the content of a table.
i have tryed do it with records but nots working,
Anyone have any idea?? Im new with service webs and any help would be great.

Thanks in advance

Best Answers


  • Options
    RockWithNAVRockWithNAV Member Posts: 1,139
    Pardon me If I misunderstood your question. I believe you are trying to expose a codeunit as a URL in which you want to expose all the data of a particular table. If this is the case then you need to expose the Page as a Odata Service where you will find all the related records.

  • Options
    jgallegoajgallegoa Member Posts: 20
    Thanks to both!
    the Odata option doesn't serve to me, because i need to display the table in visual studio..
    The solution, as vaprog said is using an xmlport as a parameterin the published codeunit.


    i found this video and i think is very heplfull, but im having problems to attack my codeunit...
  • Options
    jgallegoajgallegoa Member Posts: 20
    Wow, thanks kaspermoerch, I already got to show the table, but this tool is great to see the WSXL and the invoke part.
Sign In or Register to comment.