spacer
Yehuda Shiran April 5, 2002
Consuming Multiple Web Services
Tips: April 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

For an Internet Explorer page to consume multiple Web services, there are three HTML items you need to have:

  • onload="init()". Add this event handler to your BODY tag. For example:

    <BODY BGCOLOR="#ffffff" onload="init()">
  • Instantiate the webservice behavior. You can share this behavior among all Web services you consume from your page:

    <DIV ID="myWebService" STYLE="behavior:url(webservice.htc)"></DIV>
  • GUI. For each Web service, implement some way to collect user parameters, call the service, and display the results. Simple INPUT elements will do.

These Web service examples work properly in Internet Explorer 5.5 or later browsers. If you are using Internet Explorer 5.5+ and receiving errors with the examples, you need to enable the access data sources across domains option. See Column 105 for details.

To learn more on consuming multiple Web services, go to Column 106, Web services Part XI: Consuming Multiple Web Services.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business