Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Chatting using WebService as the central Server

Chatting using WebService as the central Server

Scheduled Pinned Locked Moved C#
csssysadminhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KKrista
    wrote on last edited by
    #1

    Hi, I am developing a chatting application with a Web Service as the central monitoring Server. The Web Service methods will be used by the clients (Windows and Web) to Add User, Send and Recieve messages. Can anyone help me in realizing this functionality as I have less knowledge on Web Service? A sample code with this regard will also be helpful

    Thanks in advance, Murali

    S 1 Reply Last reply
    0
    • K KKrista

      Hi, I am developing a chatting application with a Web Service as the central monitoring Server. The Web Service methods will be used by the clients (Windows and Web) to Add User, Send and Recieve messages. Can anyone help me in realizing this functionality as I have less knowledge on Web Service? A sample code with this regard will also be helpful

      Thanks in advance, Murali

      S Offline
      S Offline
      subrata jana
      wrote on last edited by
      #2

      Ur Server code will have all the functionality of Add User, Send and Recieve messages. Then add a webservice to this server project. In the webservice add distinct WebMethods for each of ur task. Create a instance of the server inside this method and make an appropiate call. ex. server.cs- class server { AddUser(){} } in webservice.asmx class service { [webmethod] AddUserService() { server sr = new server(); sr.AddUser(); } } This example is just to help u to start. Once u start u can know how to invoke methods.

      K 1 Reply Last reply
      0
      • S subrata jana

        Ur Server code will have all the functionality of Add User, Send and Recieve messages. Then add a webservice to this server project. In the webservice add distinct WebMethods for each of ur task. Create a instance of the server inside this method and make an appropiate call. ex. server.cs- class server { AddUser(){} } in webservice.asmx class service { [webmethod] AddUserService() { server sr = new server(); sr.AddUser(); } } This example is just to help u to start. Once u start u can know how to invoke methods.

        K Offline
        K Offline
        KKrista
        wrote on last edited by
        #3

        Thanks for the info. Do you have a sample application on this regard?

        Thanks in advance, Murali

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups