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 APIs
    Replies: 1
    Last Post: April 11th, 2012, 09:03 AM
  2. Database Feed
    By mode_vigilante in forum Adapter APIs
    Replies: 16
    Last Post: January 27th, 2012, 03:58 PM
  3. DataAdapter Service
    By brucehoch in forum Adapter APIs
    Replies: 3
    Last Post: October 14th, 2010, 11:22 PM
  4. How And Where To Specify Database As Data Feed?
    By devidasan in forum Adapter APIs
    Replies: 1
    Last Post: March 17th, 2009, 11:00 AM
  5. .NET with external feed
    By markgoldin in forum Adapter APIs
    Replies: 21
    Last Post: August 28th, 2008, 07: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 10:30 AM.