Get xml web services call

weneedweneed Member Posts: 80
I'need to get and save web service call (XML) to my Navision 2013R2 Database.
I want to log every call that was done to my web service.
There is a way to get it?

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    It depends on how have you built your web service.

    If it is a function in some codeunit then whatever is received can be stored in some table, either in native XML format in some BLOB field, or parsed parameters.

    If you expose a page as a web service then as far as I know it won't be easily possible, if at all,
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • weneedweneed Member Posts: 80
    I've used a Codeunit. My problem is how I can catch xml request string not how I can store it. Can you send me an example?
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    I might have been a bit too fast. I was thinking about this particular use of an XML port as a part of exposed web service,. I've stumbled upn this article long time ago, but after re-reading it, it does not look like someting that you are after.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • weneedweneed Member Posts: 80
    No. I need to this from Nav and not from VS
Sign In or Register to comment.