Coder Social home page Coder Social logo

Comments (1)

RogerHardiman avatar RogerHardiman commented on July 16, 2024

Hi
I've had a look at the project.
I've worked on two big ONVIF servers over the years.
The RPOS project generates the XML from the WSDL schema (using node-soap) and the advantage is that when you start to do more complicated things, like implementing the APIs to CreateProfiles or Change Profiles, or get lists of Codecs and Resolutions, you can update arrays and lists and generate valid XML at run time.

But another project I work on (written in C#) uses exactly the same method you have, with lots of XML as hard coded text and careful replacing of strings within the XML text.
I like this method (the same as your Python project) because you can see the XML in front of your eyes.
It just becomes a little harder when you have to start generating XML within 'while loops' eg when you want to take a list of valid Resolutions and update the XML.
But it is still possible.

Good luck with your project.

from rpos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.