spacer
Yehuda Shiran July 20, 2002
Web Service Proxy
Tips: July 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

ASP.NET pages cannot interact directly with Web services. You need to create a proxy for the Web service you want to consume in your ASP.NET code. A proxy is a special component that masquerades as the service. The proxy insulates you from the location of the actual service. The location is captured once, when the proxy is created, and from then on you don't have to worry about where the Web service is. Creating a proxy for a Web service converts the Web service to a local component. In general, when you want to call a local component from your code, you need to access the component's class definition including its namespace, as well as its binary realization in the form of a dll. That's exactly what you get when you create a proxy for a Web service:

  • Namespace and class definition
  • A library (.dll) file

To learn more about JScript .NET and ASP.NET, go to Column 113, JScript .NET, Part VII: Consuming add from ASP.NET.


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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint