Skip to Content
Special Edition Using XSLT
book

Special Edition Using XSLT

by Michael Floyd
January 2002
Intermediate to advanced
480 pages
11h 5m
English
Que
Content preview from Special Edition Using XSLT

Troubleshooting

Creating a .NET Web Service

I’m having difficulties creating a basic Web service and am not sure where to begin.

If you’re having difficulties creating a basic Web service, keep in mind that you only need to employ two classes:

  • WebService

  • WebMethodAttribute

The WebService class is used to simply declare the Web service. It does not give a name to the Web service or tell the world that there is a new Web service. It is only a directive to allow the .NET framework to treat this set of code as a Web service.

The WebMethodAttribute class is used to identify the set of code that is reusable. Any set of code that is reusable must be public and used within an ASP.NET application.

In VB .NET a simple Web service can be created with the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Special Edition Using XML, Second Edition

Special Edition Using XML, Second Edition

- et al. David Gulbransen
XML for Publishers

XML for Publishers

Keith Fahlgren

Publisher Resources

ISBN: 0789725053Purchase book