-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
31 lines (31 loc) · 927 Bytes
/
test.html
File metadata and controls
31 lines (31 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="soapclient.js"></script>
<script type="text/javascript">
function HelloWorld()
{
var pl = new SOAPClientParameters();
pl.add('user', 'manhnd');
pl.add('pass', '123456');
SOAPClient.invoke("http://ideone.com/api/1/service", "getLanguages", pl, true, GetSoapResponse_callBack);
}
function GetSoapResponse_callBack(r, soapResponse)
{
alert("AAA");
alert("r: " + r);
alert("SOAP response: " + soapResponse.xml);
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="result">TODO write content</div>
<button onclick="HelloWorld();">OK</button>
</body>
</html>