2 <link rel=
"stylesheet" type=
"text/css" href=
"stylesheet.css"><title></title>
6 var wsdl_uri
= "http://www.pocketsoap.com/services/ilab.wsdl";
8 function Translate (aValue
)
14 onLoad: function (aProxy
)
17 proxy
.setListener(listener
);
18 requestTranslation(aValue
);
21 onError: function (aError
)
23 //alert("Error-" + aError);
24 resdiv
= document
.getElementById("result");
25 resdiv
.innerHTML
= "Result from server:"+"Error-" + aError
;
28 echoVoidCallback : function (aTranslatedValue
)
30 //alert(aTranslatedValue);
31 resdiv
= document
.getElementById("result");
32 resdiv
.innerHTML
= "Result from server:" + aTranslatedValue
;
35 createProxy(listener
);
38 requestTranslation(aValue
);
42 function createProxy(aCreationListener
)
45 var factory
= new WebServiceProxyFactory();
47 factory
.createProxyAsync(wsdl_uri
, "interopTestPort", "", true, aCreationListener
);
54 function requestTranslation (value
)
58 netscape
.security
.PrivilegeManager
.enablePrivilege("UniversalBrowserRead");
62 alert("Error: Proxy set up not complete!");
76 <p>This page tests simple type void operation. Calls a method which does not require any parameter
</p>
78 <div style=
"border: 1px dotted black;">
79 <div style=
"padding: 20px;">
85 <input id=
"Send" type=
"button" value=
"Call Void Method" onclick=
"Translate();">
88 <div id=
"result">Result from server:
</div>
93 <div id=
"myWizard" style=
"position: relative;"></div>