| Server IP : 74.208.236.79 / Your IP : 216.73.216.46 Web Server : Apache System : Linux infongp-us50 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64 User : u93192080 ( 6162215) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/usr/share/doc/libsoap-lite-perl/examples/COM/ |
Upload File : |
<html>
<head><title>JavaScript SOAP::Lite for COM Examples</title></head>
<body>
<script language="javascript"><!--
// .create() here is synonim for .new(), because new() is reserved in JavaScript
var objPerlCOM = new ActiveXObject("SOAP.Lite");
var SOAP = objPerlCOM.create();
SOAP.proxy("http://localhost/")
.uri("http://www.soaplite.com/My/Examples");
function getStateName (form) {
form.result.value = SOAP.getStateName(form.state.value).result();
}
//--></script>
<h1>SOAP::Lite Examples</h1>
<hr>
<form name="states">
<input type="text" name="state" value="25" size="3" maxlength="3">
<input type="button" value="getStateName" onclick="getStateName(states);">
<input type="text" name="result" readonly>
</form>
<hr>
<pre>
<script language="javascript"><!--
var objPerlCOM = new ActiveXObject("SOAP.Lite");
var SOAP = objPerlCOM.create();
SOAP.proxy("http://localhost/")
.uri("http://www.soaplite.com/My/Examples");
function getStateName (form) {
form.result.value = SOAP.getStateName(form.state.value).result();
}
//--></script>
</pre>
</body>
</html>