Hi All
I need to call sap sap webservice from a java script i am using below code
when i load above in html i m not able to get required its getting blank page whereas wsdl getting required o/p
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
alert ("1");
<script language="JavaScript">
var iCallID;
function InitializeService(){
service.useService(xxxxxxxxxxxxxxxxxxxx,
"HelloWorldService");
service.HelloWorldService.callService("");
alert ("Hai");
}
function ShowResult(){
alert(event.result.value);
}
</script>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
alert ("3");
<body onload="InitializeService()" id="service"
style="behavior:url(webservice.htc)" onresult="ShowResult()"> </body>
alert ("4");
</html>
</html>