[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to broadcast XML messages from lightweight server app to lightweight client app

Posted on 2004-08-25
9
Medium Priority
?
203 Views
Last Modified: 2006-11-17
I'm trying to build a simple XML messaging app/server that allows a sender to broadcast to a selected list of listeners.  The client app should be able to choose who he is listening to messages from. (i.e. client should be able to tune out certain senders).  both sides will be behind firewalls.  I initally thought System.Net.Sockets was the way to go.  Some others have suggested the Remoting library and SOAP and others.  How can I send XML messages via REMOTING/SOAP.  Not really sure where to start.
0
Comment
Question by:benk-master-flash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 5

Expert Comment

by:thenrich
ID: 11893941
XML Web Servies or remoting?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10232001.asp

not quite sure what your looking for but it can be done with either 1 of the above. I prefer the web services myself.
0
 

Author Comment

by:benk-master-flash
ID: 11894593
Thanks for the post.

I think my solution is simpler than that on some levels.  here's what I'm looking to do in, in more detail.  I would like to have an small application capable of sending and recieving a very simple xml (with only say 5 pieces of data... text only, no objects) message to other applications of the same type that are on-line.  kind of like a CB radio really but internet based.
so for example i A,B,C,D,E,F are users of the application (mr. F) would like to send a simple XML message to his friends A,B,C but not D and E.  mr. A would like to listen to messages from F,B,C but not D or E.  The net effect is mr. A hears messages from F,B and C, and in this case, recieves the message from mr. F.

the application is for sending information from brokerage firms to instutional clients. as a broker you only want to send certain ideas to certain clients, and as a client you only want to listen to stuff from certain brokers.  i wan't it to essentially function as a single lightweight standalone client/server that people can download as an executable and just run.  

The appwould know how to get onto the network, and then know who else is on the network.  (i'm beginning to think that this means I need to run some server in the middle to coordinate the xml like sturctured chat,  do i need to develop a private network???  and then simple applications to message on that network???)

This will ideally replace the endless shotgun approach e-mail's that everybody sends that piss off clients and jam up inboxes and cause people to die of information overload.

does that make more sense.
0
 

Expert Comment

by:Kushalnagar
ID: 11899802
I have built an application that transmits XML data between a server and a client.
I have set it up in such a way that the client requests a webpage from the server.

The webpage is an asp page which will reply back an XML file depending on the parameters sent to the server.
You can have client access or client number in the parameters and give out XML data relating to that client.

All this is done on the internet. So there is no need to have a private network.

Hope this solves your problem.

Good Luck
Abhinav.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:Kushalnagar
ID: 11899811
Oh,

btw, alternatively,

You can have a webpage on the client machine running which will pick up XML data and save it or upload it to the client directory.

From the server you can send the file to these webpages by broadcasting to the specific URL's and the client machines will capture the file and saves it on the client machine directory as setup.

Abhinav.
0
 
LVL 5

Expert Comment

by:thenrich
ID: 11901723
It sounds like your trying to make your own messaging solution similiar to MSN Messanger
0
 

Author Comment

by:benk-master-flash
ID: 11902169
I think I like the idea of your first suggestion.  Is the data secure in transit.  I would imagine it's not.  Can you get me started along the way with some example code.  Also, the webpage sounds easy.  Is there anyway to display web content from a form-like interface.  I do not really like the idea of having to have a whole browser open.  But a small app that renders XML/HTML/ASP in a window is not a bad thing.  But, can it be done?
0
 

Accepted Solution

by:
Kushalnagar earned 375 total points
ID: 11910573
I am currently writing a report on securing the XML data that is flowing through the internet. I will post a link here when I finish it.
Shall post code snippets a bit later as I need to find out the legality of posting customer paid source code.

You do not need to open the browser to get the file. Just a simple call to the asp page via an app will do.

Abhinav.
0
 

Author Comment

by:benk-master-flash
ID: 11932690
If you can post the link that would be great and I will award the points and close the issue.  Let me know.  I think I'm on the right track though.
0
 

Expert Comment

by:Kushalnagar
ID: 11958860
I will post a link for the report and a zip file with some source code to help on Monday.
Abhinav.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question