client connection of web service call

Last post 07-06-2009 7:58 AM by johnwsaunders3. 6 replies.

Sort Posts:

  • client connection of web service call

    06-30-2009, 10:23 AM
    • Member
      3 point Member
    • roadman
    • Member since 11-15-2007, 2:39 PM
    • Posts 26

    Hi all,

    Can anyone guide me what is the actual implementation of a web service in .net framework 2.0?
    Does it use the HttpWebRequst or...what is it doing behind scene?
    is the web service a persistent connection to server?
    is there any limitation on client connection to a server?

  • Re: client connection of web service call

    07-01-2009, 4:31 AM
    Answer
    • All-Star
      44,914 point All-Star
    • jimmy q
    • Member since 11-02-2006, 9:01 AM
    • Australia
    • Posts 3,111
    • Moderator
      TrustedFriends-MVPs

    roadman:
    Can anyone guide me what is the actual implementation of a web service in .net framework 2.0?

    web services behind the scene uses a proxy to communicate with the remote end point.

    That is what usually happens is the web service exposes the WSDL which describes the interface. A proxy is created out of this WSDL for the client to consume and it makes it look like you are interacting with a local component, however the proxy proxies the request to the remote end point.

    roadman:
    Does it use the HttpWebRequst or...what is it doing behind scene?

    HttpRequest is a way that allows in code to mimic actual web requests like a POST or a GET request to a website.

  • Re: client connection of web service call

    07-01-2009, 10:41 AM
    • Member
      3 point Member
    • roadman
    • Member since 11-15-2007, 2:39 PM
    • Posts 26

    yes, i know it use proxy to connect to endpoint.
    my question is how does the proxy really do in order to connect to the endpoint.
    is it using the winsock connection? will this connection has max limit? 

  • Re: client connection of web service call

    07-02-2009, 6:50 AM
    • Member
      3 point Member
    • roadman
    • Member since 11-15-2007, 2:39 PM
    • Posts 26

    Will the web service call utilize the shdocvw.dll?

    My question is originated from a problem that
    1. function A in an application uses ws call (.net 2.0) to get sth.
    2. function B in the same application use Web Browser Control to navigate to a web page (with ExtJs)

    The problem come out that whenever function A is invoked , function B does not

  • Re: client connection of web service call

    07-04-2009, 9:20 AM
    Answer

    There should be no interference with shdocvw.dll. That's for web browsing, and has nothing to do with web services.

    John Saunders
  • Re: client connection of web service call

    07-06-2009, 6:09 AM
    • Member
      3 point Member
    • roadman
    • Member since 11-15-2007, 2:39 PM
    • Posts 26

    so, how does the actual implementation of web service connection? via winsock? 

  • Re: client connection of web service call

    07-06-2009, 7:58 AM

    I have no idea, and it's not documented anywhere, and shouldn't be. It's an implementation detail subject to change.

    If you want to find out, then you should download a copy of Reflector, and take a look.

    John Saunders
Page 1 of 1 (7 items)