RAD Studio for Microsoft .NET |  |

ASP.NET Web Services Support
ASP.NET Web Services Client Support | ASP.NET Web Services Server Support | ASP.NET Web Services Namespaces | See Also
Collapse All

ASP.NET Web Services support VCL.NET Forms and ASP.NET Web Forms. These forms can be used to create client applications that access Web Services applications. Use the Add Web Reference feature to add the desired ASP.NET Web Services application to the client application. Using the UDDI Browser you can locate Web Services applications you might want to use.

RAD Studio provides simple tools to develop and deploy your ASP.NET Web Services applications. Additionally, RAD Studio helps you import WSDL documents that describe particular Web Services applications and expose their functionality to the client application. You can use the sample WebMethod provided by RAD Studio, which lets you create and access an ASP.NET Web Services application.

This topic includes:

- ASP.NET Web Services Client Support
- ASP.NET Web Services Server Support
- ASP.NET Web Services Namespaces

ASP.NET Web Services Client Support

You can create a Web Services application that is simply a provider, or a server application. This application resides on a web server and can be accessed by any client that understands the application architecture. If you want to consume a Web Services application yourself, you need to create a client application. RAD Studio provides different tools you can use to build client applications:

- Web Forms
- Web References

Virtues of ASP.NET Web Forms

If you need to provide a thin-client application that performs simple data manipulation or satisfies a single-purpose requirement, consider using ASP.NET Web Forms. Web Forms are platform-independent interfaces that display in a web browser and invoke Web Services applications over a simple protocol like HTTP.

You can also create an ASP.NET Web Services application as a console application which can be accessed through either a console window, or by another Web Services application, even one without a client.

Add Web Reference

You can add a Web Reference to your client application to access web services. A Web Reference refers to either a WSDL document or an XML schema, which is imported into your client application. The WSDL document or XML schema describes a web service. When you import one of these documents, RAD Studio generates the interfaces and class definitions needed for calling that web service. Right-click the WebService node in the Project Manager and select Add Web Reference. A UDDI Browser appears. To add the web service to your client application, you must navigate within the browser and locate the WSDL document for the web service.

ASP.NET Web Services Server Support

The ASP.NET Web Services application you build in RAD Studio, provides programmatic access to the application logic of one or more web services. You define the services you want to expose, how the services are to be used, and the infrastructure that receives and processes requests and responses.

When you create a new ASP.NET Web Service application, the New ASP.NET Application dialog box lets you specify the name and location of the ASP.NET Web Services application, and automatically creates the files required for deployment. When you specify the application settings, RAD Studio generates the .asmx file that acts as a base URL for clients calling the ASP.NET Web Services application.

ASP.NET Web Services Namespaces

For more information on System.Web.Services namespaces, refer to the Microsoft .NET Framework SDK.

See Also

ASP.NET Web Services Overview

Web Service Protocol Stack

Building an ASP.NET "Hello World" Web Services Application

Accessing an ASP.NET "Hello World" Web Service Application

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!