Use webservice without .asmx file

Discussion in 'ASP .Net Web Services' started by Marcel Wolterbeek, Apr 9, 2009.

  1. I was wondering if it is possible to use a webservice from javascript in an
    Ajax control without publishing an .asmx file.

    This is why: I've build a nice Ajax web control. Javascript is embedded in
    the control as resource, the code for the webservices is in the control and
    the control registers the scripts and webservices on load, so all the user of
    my control has to do is include the control in his project. But unfortunately
    the .asmx files for the webservices needs to be on a readable place on the
    website and -as far as I found out - it is not possible to embed it in the
    control as resource or in any other way.

    Has anybody a suggestion to solve this? Is there a way to embed the .asmx
    file in the control or to use the webservice without publishing the .asmx
    file?
    Marcel Wolterbeek, Apr 9, 2009
    #1
    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. asptodotnet
    Replies:
    1
    Views:
    411
    Daniel Fisher\(lennybacon\)
    Nov 18, 2004
  2. Craig G
    Replies:
    1
    Views:
    437
    William F. Robertson, Jr.
    Dec 6, 2004
  3. Maxwell2006
    Replies:
    1
    Views:
    2,159
    Steven Cheng[MSFT]
    Mar 31, 2006
  4. Jay Douglas

    WebService w/o .ASMX file (ASP.net 2.0)

    Jay Douglas, May 15, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    658
    Cowboy \(Gregory A. Beamer\)
    May 15, 2007
  5. Sriram

    Webservice, without ASMX?

    Sriram, Dec 12, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    816
    Sriram
    Dec 12, 2009
Loading...

Share This Page