Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
3 Points
5 Posts
May 19, 2012 11:32 PM|LINK
Below is a structure of my asp.net Solution:
Solution_My_Site
|__Web_Application_Project
| |__ObjectManager.aspx
| |__ Webservice1.asmx
| |__web.config
| |__ObjectManager.master
|__Class_Library
|__Webservice2.asmx
Question
Using Jquery I can successfully call WebService1.asmx from ObjectManager.master
Is it possible to call Webservice2.asmx?
I have the [System.Web.Script.Services.ScriptService] tag in WebService1.asmx
and
I use the following Jquery in ObjectManager.master
function Greeting() { $.ajax({ url: "/WebService1.asmx/HelloWorld", type: "POST", data: "{}", dataType: "text", success: Success, error: ajaxFailed }); }
I read about not being able to call .asmx outside the application domain unless through a Proxy. Is a class library outside the application domain? If not, how do I get Jquery to see it.
nischal.bach...
Member
3 Points
5 Posts
Is it Possible to call .asmx from separate class library in Web Application Solution
May 19, 2012 11:32 PM|LINK
Below is a structure of my asp.net Solution:
Solution_My_Site
|__Web_Application_Project
| |__ObjectManager.aspx
| |__ Webservice1.asmx
| |__web.config
| |__ObjectManager.master
|__Class_Library
|__Webservice2.asmx
Question
Using Jquery I can successfully call WebService1.asmx from ObjectManager.master
Is it possible to call Webservice2.asmx?
I have the [System.Web.Script.Services.ScriptService] tag in WebService1.asmx
and
I use the following Jquery in ObjectManager.master
function Greeting() { $.ajax({ url: "/WebService1.asmx/HelloWorld", type: "POST", data: "{}", dataType: "text", success: Success, error: ajaxFailed }); }I read about not being able to call .asmx outside the application domain unless through a Proxy. Is a class library outside the application domain? If not, how do I get Jquery to see it.