Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   onLoad for webservice.htc (http://www.velocityreviews.com/forums/t786785-onload-for-webservice-htc.html)

Thom Little 12-09-2006 06:21 AM

onLoad for webservice.htc
 
The following page uses webservice.htc to invoke a proxy web service and it
works perfectly in Internet Explorer and Netscape. Opera and Firefox
apparently do not support onLoad.

Does anyone have an example of how this type of call can be made in all four
browsers (Internet Explorer, Netscape, Opera, and Firefox)?

What was the source of your information?

<html><head><title>Consume Count Service</title>
<script>
function tlaCL( strParm )
{
tlaCountService.useService( "Service/CountService.asmx?WSDL", "tlaCF");
tlaCid = tlaCountService.tlaCF.callService("count", strParm );
}
function tlaCR( )
{
tlaCount.innerText = event.result.value ;
}
var tlaCid ;
</script>
<div id="tlaCountService" style="behavior:url(webservice.htc)"
onresult="tlaCR()"></div>
</head>
<body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
<center><span id="tlaCount">·</span></center>
</body></html>

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--




Thom Little 12-09-2006 04:15 PM

Re: onLoad for webservice.htc
 
Question moved to another newsgroup.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Thom Little" <thom@tlanet.net> wrote in message
news:u9$VGp1GHHA.4904@TK2MSFTNGP04.phx.gbl...
> The following page uses webservice.htc to invoke a proxy web service and
> it works perfectly in Internet Explorer and Netscape. Opera and Firefox
> apparently do not support onLoad.
>
> Does anyone have an example of how this type of call can be made in all
> four browsers (Internet Explorer, Netscape, Opera, and Firefox)?
>
> What was the source of your information?
>
> <html><head><title>Consume Count Service</title>
> <script>
> function tlaCL( strParm )
> {
> tlaCountService.useService( "Service/CountService.asmx?WSDL", "tlaCF");
> tlaCid = tlaCountService.tlaCF.callService("count", strParm );
> }
> function tlaCR( )
> {
> tlaCount.innerText = event.result.value ;
> }
> var tlaCid ;
> </script>
> <div id="tlaCountService" style="behavior:url(webservice.htc)"
> onresult="tlaCR()"></div>
> </head>
> <body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
> <center><span id="tlaCount">·</span></center>
> </body></html>
>
> --
> -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
> --
>
>
>





All times are GMT. The time now is 04:19 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.