-
November 18th, 2010, 07:28 PM
#1
.NET web service as Data Feed
Hello, I'm wondering what is the quickest way to proceed in accomplishing the following using .NET and Lightstreamer:
What I really want to do is expose a .NET web service that accepts as input a unique ID, and a data string. For example something like CustomerID, Status.
I have various backend applications that can update the status of that Item. When they do, I want them to call the .NET web service via a SOAP call with this new Status value. In turn, I want the .NET Web service to somehow invoke Lightstreamer which can then broadcast to all browsers that happen to be subscribed to updates for the Customer ID.
I see the example of Hello World and .NET but this seems to be using a self-generated data feed randomly switching between "hello" and "world". What is the best way to replace that feed with the feed being fed into my .NET web service?
Any help on this would be greatly appreciated. Thank you.
Ian T. Caiozzi
-
November 19th, 2010, 11:52 AM
#2
hi,
the .NET hello world is a good starting point but you obviously have to substitute the data generation with your own logic.
More complicated examples are available in our distribution under LS_HOME/DOCS-SDKs/sdk_adapter_dotnet/examples
In particular the Portfolio example shows the handling of client sent messages.
In this case messages are sent through our APIs, but you can obviously implement another communication channel in your adapter
HTH
Similar Threads
-
By intelsmart in forum Adapter SDKs
Replies: 1
Last Post: April 11th, 2012, 09:03 AM
-
By mode_vigilante in forum Adapter SDKs
Replies: 16
Last Post: January 27th, 2012, 03:58 PM
-
By brucehoch in forum Adapter SDKs
Replies: 3
Last Post: October 14th, 2010, 11:22 PM
-
By devidasan in forum Adapter SDKs
Replies: 1
Last Post: March 17th, 2009, 11:00 AM
-
By markgoldin in forum Adapter SDKs
Replies: 21
Last Post: August 28th, 2008, 07:39 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 05:48 PM.
Bookmarks