Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2010
    Location
    Denver
    Posts
    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

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

  1. Web Service Data Adapter ? How can I do ?
    By intelsmart in forum Adapter SDKs
    Replies: 1
    Last Post: April 11th, 2012, 10:03 AM
  2. Database Feed
    By mode_vigilante in forum Adapter SDKs
    Replies: 16
    Last Post: January 27th, 2012, 04:58 PM
  3. DataAdapter Service
    By brucehoch in forum Adapter SDKs
    Replies: 3
    Last Post: October 15th, 2010, 12:22 AM
  4. How And Where To Specify Database As Data Feed?
    By devidasan in forum Adapter SDKs
    Replies: 1
    Last Post: March 17th, 2009, 12:00 PM
  5. .NET with external feed
    By markgoldin in forum Adapter SDKs
    Replies: 21
    Last Post: August 28th, 2008, 08:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:53 PM.