nobitavn94 Posted December 23, 2006 Share Posted December 23, 2006 Hi all,I want to call a webservice from HTML page using javascript.But I encountered an error:"Object doesn't support this property or method".This error is caused by init function :function Init(){ service.useService("http://localhost/CNLTHD/UniInfoLookup/Service.asmx?WSDL","GetMarksService"); }In body tag,I added :<body onload="Init();" id="service" style="behavior(url:webservice.htc)" onresult="showResult()">My webservice is written in C# ,contained in file Service.asmx Can you help me ?Thank you so much ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now