Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Media Center Plug-in
#11
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

"Really dear, it was too good of a deal to pass up. Besides, look at what it does now...."
I think my wife is getting a little tired of hearing this :-)
Reply
#12
thanks for the tip. - will do so now.
Reply
#13
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
Reply
#14
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

"Really dear, it was too good of a deal to pass up. Besides, look at what it does now...."
I think my wife is getting a little tired of hearing this :-)
Reply
#15
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
Reply
#16
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
Reply
#17
What about using something like this to launch the interface viewer directly rather than trying to roll your own...
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#18
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
Reply
#19
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
Reply
#20
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
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Version 4.5 Room Configuration/Media Meta Data Dean Roddey 6 8,219 06-17-2014, 12:47 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)