Hi all,
I have added a webservice to my asp.net website. Let's say /root/WebServices/webservice.asmx. with a codefile: /root/App_Code/webservice.cs.
This works all just fine. I can invoke it calling it from a browser etx.
Now I want to test it to call it from a simple html page. I have tested it locally and it works just fine.
When I now test my local html file with the uploaded webservice it does not work and 'undefined' get's returned.
Code I use in htmpage is:
<html>
<head>
<title>webservice javascript</title>
<script language="javascript" type="text/javascript">
var callID = 0;
function InitializeService(){
service.useService("http://www.mysite.nl/WebServices/webservice.asmx?wsdl", "webservice");
}
function LookupHTML()
...
Go to the complete details ...