Adding a web reference in code (without VS.Net) ?

Discussion in 'ASP .Net Web Services' started by Chris Ashley, Nov 10, 2005.

  1. Chris  Ashley

    Chris Ashley Guest

    I want to just quickly knock up a simple aspx page that calls a web
    service without bothering to create a project or anything. Is it
    possible for me to add and call a web reference in code without using
    VS.Net at all?
     
    Chris Ashley, Nov 10, 2005
    #1
    1. Advertising

  2. Chris  Ashley

    Martin Kulov Guest

    "Chris Ashley" <> wrote in message
    news:...
    >I want to just quickly knock up a simple aspx page that calls a web
    > service without bothering to create a project or anything. Is it
    > possible for me to add and call a web reference in code without using
    > VS.Net at all?
    >


    Hi Chris,
    you can use @ Assembly directive to set the reference to your web service
    assembly or file and use a <script runat="server"></script> tag to write
    inline code for calling the web service.

    HTH,

    --
    Martin Kulov
    http://www.codeattest.com/blogs/martin

    MCAD Charter Member
    MCSD.NET Early Achiever
    MCSD
     
    Martin Kulov, Nov 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saumendra
    Replies:
    0
    Views:
    1,246
    Saumendra
    Jun 24, 2003
  2. Kiran
    Replies:
    3
    Views:
    759
  3. wawa_piggy

    Adding a web reference to a java web service

    wawa_piggy, Apr 19, 2004, in forum: ASP .Net Web Services
    Replies:
    5
    Views:
    175
    Dino Chiesa [Microsoft]
    Apr 22, 2004
  4. only_me

    vs2005 consuming web service, adding web reference ?

    only_me, Sep 20, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    204
    only_me
    Sep 25, 2005
  5. Replies:
    8
    Views:
    162
Loading...

Share This Page