call a webservice programmatically

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default call a webservice programmatically

    I would like to call a web service programmatically ie: without adding a web
    reference in visual studio. From the docs it seems like I have to use
    HttpWebRequest. Also what I can't figure out is how to convert the wsdl or
    the xml that is returned to an object. In VS when you create a web reference
    for a web service then we can access that service in code by instantiating
    the service. How do I do this when I call the web service using
    HttpWebRequest. Or is there any other way of doing this?

    I a newbie to .NET so if anyone has anyone has any samples to share it would
    be great.

    Thanks in advance
    Ted


    Ted Guest

  2. Similar Questions and Discussions

    1. Can a webservice call another webservice?
      Hi all, I want one WebService I have, say on a server in Los Angeles, to call methods I have in a 2nd WebService on another server, say in New...
    2. call webservice
      hi i have a webservice which resides on a server on the same LAN that am working at. I have the URL and theWSDL of the webservice. However, i...
    3. Webservice API Call
      I get the following error below upon attempts to access a webservice that attempts to call advapi32.dll I believe this to be a security issue yet...
    4. Call COM from .NET WebService Help
      We are trying to access a COM object from our .NET WebService, but we get System.RunTime.Interopservices.COMException 0x80010105 everytime. We also...
    5. Error Accessing webservice programmatically over HTTPS.
      I'm getting the follwoing error msg while trying to access a web service over HTTPS."The underlying connection was closed: Unable to connect to the...
  3. #2

    Default Re: call a webservice programmatically

    GotDotNet.com has this ...

    [url]http://www.gotdotnet.com/community/usersamples/Default.aspx?query=webservicestudio[/url]


    "Ted" <sumesh.nair@flytxt.com> wrote in message
    news:uXnaKZRUDHA.2196@TK2MSFTNGP11.phx.gbl...
    > I would like to call a web service programmatically ie: without adding a
    web
    > reference in visual studio. From the docs it seems like I have to use
    > HttpWebRequest. Also what I can't figure out is how to convert the wsdl or
    > the xml that is returned to an object. In VS when you create a web
    reference
    > for a web service then we can access that service in code by instantiating
    > the service. How do I do this when I call the web service using
    > HttpWebRequest. Or is there any other way of doing this?
    >
    > I a newbie to .NET so if anyone has anyone has any samples to share it
    would
    > be great.
    >
    > Thanks in advance
    > Ted
    >
    >

    Dino Chiesa [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139