Posts: 3,473
Threads: 156
Joined: Jun 2005
Squintz was doing a lot of work with the gateway XML. A quick search didn't uncover any code, but I'd PM him and see if he has anything he could share with you.
Brian - a long time user that rarely messes with the system now
Other systems used:
SageTV w/ cablecard tuner & multiple extenders for viewing
BlueIris and IP cameras for CCTV
Incredible PBX for home phone
Posts: 256
Threads: 17
Joined: Sep 2006
thanks for the tip. - will do so now.
Posts: 40,483
Threads: 491
Joined: Aug 2002
Actually, Mark has a lot of code originally written for the .Net Viewer before it was replaced with the new RIVA system. PM him and he can send you some code. You'll have to deal with the login stuff, which is a little complex.
Dean Roddey
Explorans limites defectum
Posts: 3,473
Threads: 156
Joined: Jun 2005
There are posts from Squintz that he had made it at least past the login portion. He did get the code from Mark as his basis for a lot of the work he did. Again, I'm not sure how far he went into the process, but hopefully he can share enough for you to get through the login portion (which wasn't easy from what I read).
Brian - a long time user that rarely messes with the system now
Other systems used:
SageTV w/ cablecard tuner & multiple extenders for viewing
BlueIris and IP cameras for CCTV
Incredible PBX for home phone
Posts: 256
Threads: 17
Joined: Sep 2006
thanks guys,
PM gone to Squintz to see if he can assist. Ill PM mark now also to see what magic he can pull out.
cheers
D
Posts: 256
Threads: 17
Joined: Sep 2006
Wow
This is going back in time I found a lot of discussion in 2007 on the XML gateway. One note from Mark points that the XML Gateway code was part of the DNV source code stuff. and suggested the current version was linked in the beta thread - but of course that is not the case any longer.
Anyone got a link to the last release of the DNV code? - ill keep searching in the interim.
cheers
Posts: 3,415
Threads: 158
Joined: Jan 2006
What about using something like
this to launch the interface viewer directly rather than trying to roll your own...
Posts: 1,907
Threads: 76
Joined: Feb 2004
12-15-2009, 02:43 AM
(This post was last modified: 12-15-2009, 07:51 AM by Mark Stega.)
I am away from my development system for about a week and won't be able to post until then. Somewhere I did post the XMLgateway authentication, authorization, & communication stack. If it isn't found by the time I get back I'll happily post it again. If you are itching to get going sooner, the communication stack in the recently posted RIVA .Net client is doggone close to the XML gateway and authorization follows the same protocol.
[Edit] It would be extremely easy to build a Silverlight client talking to the XML gateway via a WCF RIA service (and the same effort of an ASP.Net client). The only thing you need to build is a little standalone server that actually talks to the XML Gateway becuase the gateway is not currently stateless so would not play well with getting directly called from a WCF service.
[Edit2] I managed an RDP session to my dev system and zipped up the source for the XML Gateway communication example. It isn't up to date with all of the XML Gateway changes in 3.0 & 3.1 but should form an excellent framework to start. It has an example .Net web page with a button that causes a read and display of a field from your CQC server. I've asked Dean to post the file on the web site and add a reference to it here...
[Edit3] And if for some reason someone wants the old DNV code I can supply that also, but the major "good stuff" is in the communication & security frameworks.
Mark Stega
Posts: 40,483
Threads: 491
Joined: Aug 2002
Here is the source code of the messaging part of the old .Net Viewer.
http://www.charmedquark.com/Web2/Downloa...-12-15.zip
Dean Roddey
Explorans limites defectum
Posts: 256
Threads: 17
Joined: Sep 2006
Mark/Dean. I really really appericate you going to this effort.
Mark - the comments on the silverlight proxy service are very interesting as onle of the goals would be to use this as a presentation layer.
Kind regards
Damian