Latest post Thu, Mar 17 2022 7:23 PM by Jone Smit. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • Mon, Oct 25 2021 9:33 AM

    • J_Man777
    • Not Ranked
    • Joined on Tue, Jun 15 2021
    • Posts 2
    • Points 35

    Generating classes for nsml spec

    Hi, 

    I'm currently in midst of creating a rest client operating through CTMS Api towards iNews. I managed to get an nsml document containing most of the elements described in the documentation and generated c# classes from that. Sadly it still hits some missing elements from time to time which is a bit frustrating.

    Is there a way to generate classes for nsml (xml) specification running in our instance of iNews server? I'm asking because this kind of service usually exists for almost every well designed Api.

    I have found the documentation describing the specs, but would be nice if there was something like a wsdl that could be used to generate the classes, instead of having to write boilerplate code.

    Also, if someone has pulled the specification into class structure, does some public repository exist that contains the code / dll?

    Filed under: , ,
  • Mon, Oct 25 2021 9:58 AM In reply to

    • J_Man777
    • Not Ranked
    • Joined on Tue, Jun 15 2021
    • Posts 2
    • Points 35

    Re: Generating classes for nsml spec

    I was also wondering if ctms datamodel endpoint could be used to pull this, but datamodel for our iNews gives 404 answer... Should the datamodel exposure be configured in iNews or in Cux side of things? And if someone knows where this is configured, advice on finding the config params would be much appreciated.

  • Tue, Oct 26 2021 9:33 AM In reply to

    • olenad
    • Not Ranked
    • Joined on Thu, Nov 6 2014
    • Posts 70
    • Points 800

    Re: Generating classes for nsml spec

    Hi,

    There is no tool to generate data structure from NSML specs, you have to describe it manually, sorry

    Best regards,

    Olena

  • Tue, Oct 26 2021 9:33 AM In reply to

    • olenad
    • Not Ranked
    • Joined on Thu, Nov 6 2014
    • Posts 70
    • Points 800

    Re: Generating classes for nsml spec

    Hi,

    There is no tool to generate data structure from NSML specs, you have to describe it manually, sorry

    Best regards,

    Olena

  • Thu, Feb 10 2022 10:01 PM In reply to

    • ECNomad
    • Not Ranked
    • Joined on Tue, Jan 18 2022
    • Posts 21
    • Points 275

    Re: Generating classes for nsml spec

  • Thu, Mar 17 2022 7:23 PM In reply to

    • Jone Smit
    • Not Ranked
    • Joined on Wed, Jan 27 2021
    • Posts 11
    • Points 75

    Re: Generating classes for nsml spec

Page 1 of 1 (6 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller