Use webservice without .asmx file

  • Thread starter Marcel Wolterbeek
  • Start date

M

Marcel Wolterbeek

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?
 
Ad

Advertisements


Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top