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. Advertisements

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:
    548
    Daniel Fisher\(lennybacon\)
    Nov 18, 2004
  2. Craig G
    Replies:
    1
    Views:
    623
    William F. Robertson, Jr.
    Dec 6, 2004
  3. Maxwell2006
    Replies:
    1
    Views:
    2,450
    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:
    854
    Cowboy \(Gregory A. Beamer\)
    May 15, 2007
  5. shapper

    Use Method inside ASMX file

    shapper, Oct 9, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    460
    Cowboy \(Gregory A. Beamer\)
    Oct 9, 2007
  6. Mr. x

    use another webservice in a webservice

    Mr. x, Sep 26, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    260
    Mr. x
    Sep 26, 2003
  7. Howard Hoffman

    ASMX pages / WebService Apps and ASP.NET Thread Pools

    Howard Hoffman, Jan 13, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    261
    Howard Hoffman
    Jan 13, 2004
  8. Sriram

    Webservice, without ASMX?

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