Menu

webservice

2001-03-14
2001-03-14
  • Daniel Kong

    Daniel Kong - 2001-03-14

    To ALL, especially CODERS

    I played around with writing a Web Service.

    The WEB APPLICATION that consumes the service is at:

    http://209.213.48.100/testApplication/testApplication.aspx

    The WEB SERVICE itself is at:

    http://209.213.48.100/testService/testService.asmx

    Give it some time, as it uses a powerful algorithm.

    joe

    PS It's not too painful with VS.net.  Web Services are really what we're
    used to it already (pages that accept parameters and dish out output) except
    the process is more standardized with XML.

     
    • Daniel Kong

      Daniel Kong - 2001-03-14

      class,

      here's the basics on creating a simple webservice.  assumming that you have
      IIS and .net plaform and everything else set up and configured properly,
      this *should* work.  also, all my configurations are default.  just skim
      thru the setup docs.

      1) in your root web directory (mine is c:\inet\wwwroot ), save this email's
      attachment (AnykineMethods.asmx).  you can add/delete methods if you want.

      2) launch IE, and in the url address thingy, type in
      (http://localhost/AnykineMethods.asmx) and run it.
      *note: "localhost" is the default.

      3) invoke any of the various methods you defined in the file.  if the method
      is not declared as a void return type, then there will be one textfield for
      each parameter that the method accepts.

      of course, it gets a lot more complex, but like i said, this is the basics.
      also, i've only used notepad.  we will use visual studio for the larger
      project.

      scott

       

Log in to post a comment.

MongoDB Logo MongoDB