Skip navigation

Developer .NET UPDATE, May 21, 2002

Developer .NET UPDATE—brought to you by Windows & .NET Magazine Network.
http://www.winnetmag.net


THIS ISSUE SPONSORED BY

Microsoft ASP.NET Connections
http://www.asp-connections.com

XML Web Services Connections
http://www.xmlconnections.com/xml/default.asp
(below DEVELOPER .NET PERSPECTIVES)


SPONSOR: MICROSOFT ASP.NET CONNECTIONS

MICROSOFT ASP.NET CONNECTIONS TO CO-LOCATE WITH SQL SERVER MAGAZINE LIVE!
Microsoft ASP.NET Connections, along with VS.NET Connections will co-locate with SQL Server Magazine LIVE! in Orlando, FL, at the Hyatt Grand Cypress Resort on Oct. 27 - 30. Keep your career on track. Learn from top third-party gurus, Microsoft product developers, and magazine authors. This is a must attend event to keep your skills sharp and to dig deeper into the .NET Framework and what it means for you and your company. It's chock full of practical information you can use right away. Real content with real value for you. Register for one conference and attend the other two conferences for FREE. Go to
http://www.devconnections.com


May 21, 2002—In this issue:

1. DEVELOPER .NET PERSPECTIVES

  • What Is a Web Service?

2. ANNOUNCEMENTS

  • Attend Our Free Windows Security Solutions Webinar!
  • Raising Windows 2000 Availability—Free Webinar

3. NEW AND IMPROVED

  • Learn More About C# and .NET

4. CONTACT US

  • See this section for a list of ways to contact us.

1. DEVELOPER .NET PERSPECTIVES

  • WHAT IS A WEB SERVICE?

  • By now, you've probably heard of Microsoft .NET Framework's support for XML Web services, but you might not know what Web services are. A Web service is a Web site that doesn't have a UI because the Web service designed for programmatic access. Any security measure you can implement on a Web site you can duplicate in a Web service. In other words, the entire HTTP access model will work.

    You might argue that some remote procedure call (RPC) implementations of distributed interfaces are Web services. Although these implementations are based on RPC and might use the Simple Object Access Protocol (SOAP) to support data interchange, I don't consider these RPC implementations to be Web services. A Web service is more than just a business object with a network interface. In particular, a Web service supports two evolving industry standards, the first of which is the Universal Description, Discovery, and Integration (UDDI) standard. One of the UDDI standard's primary goals is to support interoperable services that applications can discover and call from any client. As the "UDDI Executive White Paper" explains, you use an HTTP connection to access UDDI and discover existing Web services that meet your business needs. The second standard, the Web Services Description Language (WSDL), is under the control of the World Wide Web Consortium (W3C). As the WSDL standard notes, you can publish a WSDL file that lists any set of interfaces, including a file that lists only RPC interfaces. However, in theory, you can also publish a WSDL file that lists only COM interfaces. No matter whether you're using RPC or COM, publishing a WSDL file doesn't make that object's programmatic interface a Web service. I'm not saying that a service interface can't support COM, RPC, or both. As I'll discuss next week, good reasons exist for having a service support COM- or RPC-like interface.

    Thus, to meet my definition of a Web service, the implementation needs to support an HTTP interface in addition to supporting elements such as UDDI and WSDL. The Web services' ability to support HTTP interfaces is a big deal because of the promise of interoperability. For years, you could use a variety of interfaces, including the distributed, Distributed COM (DCOM), Common Object Request Broker Architecture (CORBA), and Remote Method Invocation (RMI) interfaces. Although these interfaces support programmatic access, none of them act as a Web site. That distinction makes a difference when you need to use those interfaces. In the past, regardless of the interface you used, you likely experienced problems with accessing ports through a firewall or managing different protocols. For example, you couldn't call an RMI interface from Microsoft Visual Basic (VB) unless you had third-party software to reinterpret the call and reformat the data. With the .NET Framework, however, you can implement a Web service in Java that supports HTTP, then call that Web service from VB code without a third-party tool.

    Writing Web services with Microsoft Visual Studio .NET is easy—and writing applications to use those services is even easier. In the same manner that you add a reference to a component or another .NET assembly in Visual Studio .NET, you can add a Web reference for a Web service. Web references let your GUI desktop application reach across port 80 and retrieve data, just like a user's browser. Your firewall problems go away, and you can use HTTP over Secure Sockets Layer (HTTPS) or another form of encryption to transmit data back and forth to a server anywhere in the world. You get all the power of a traditional Windows GUI and all the built-in logic and client processing that make Windows applications popular. And you can still obtain data from remote servers, no matter whether those machines are database servers or application servers that contain business logic written in COBOL.

    With the .NET Framework, you can go beyond putting a front-end Web service on non-Windows system to display data for enterprise clients. Instead, you can create a GUI application that communicates with the non-Windows system and lets clients truly interact with that system's data. Hence, the Web services' glory doesn't lie in the ability to open a Web page that displays data in a browser. (Visual Studio .NET provides this ability for free.) Rather, the Web services' glory lies in the ability to let a native 32-bit Windows, Macintosh, or UNIX workstation application communicate with the same back-end Web service.

    With Web services, you can overcome Web architecture problems, especially when you need to deal with interoperability. However, using a Web service isn't always the best solution. I'll discuss this topic next week.


    SPONSOR: XML WEB SERVICES CONNECTIONS

    XML WEB SERVICES CONNECTIONS TO CO-LOCATE WITH WINDOWS & .NET MAGAZINE LIVE!
    XML Web Services Connections and Windows & .NET Magazine LIVE! will co-locate from Oct. 30 — Nov. 2 immediately following Microsoft ASP.NET Connections, VS.NET Connections, and SQL Server Magazine LIVE! Deep discounts will be available for those attending the entire week of conferences. Save even more by registering now to lock in your Early Bird discount. For more information, go to
    http://www.xmlconnections.com


    2. ANNOUNCEMENTS
    (brought to you by Windows & .NET Magazine and its partners)

  • ATTEND OUR FREE WINDOWS SECURITY SOLUTIONS WEBINAR!

  • If you're using Windows 2000 to run mission-critical applications, you know Win2K has security concerns. The Windows & .NET Magazine's Security Solutions Summit, a half-day online event, addresses where the vulnerabilities lie, how you can strengthen your enterprise's security, and how you can exploit the same tools that hackers use. Register today!
    http://www.winnetmag.com/seminars/security

  • RAISING WINDOWS 2000 AVAILABILITY—FREE WEBINAR

  • How can you reduce (or eliminate) data loss and downtime in the event of a site-wide disaster? Attend the latest free webinar from Windows & .NET Magazine and get the answers including what kind of fault-tolerant disk setup to use, what clustering is (and isn't) good at, and best practices for boosting SQL Server and Exchange 2000 Server availability. Register (for FREE) today!
    http://www.winnetmag.com/seminars/veritas

    3. NEW AND IMPROVED
    (contributed by Carolyn Mascarenas, [email protected])

  • LEARN MORE ABOUT C# AND .NET

  • O'Reilly announced "C# in a Nutshell" by Peter Drayton, Ben Albahari, and Ted Neward, a desktop reference for C# programmers. Each chapter in the API reference features an overview of a Microsoft .NET namespace and a quick reference entry for each type, including name, assembly category, description, member availability, and class hierarchy. The reference section also includes an accelerated introduction to the C# language and the .NET Common Language Runtime (CLR). Chapter 1, "Introducing C# and the .NET Framework," is free online. The reference costs $39.95. Contact O'Reilly at 707-827-7000 or 800-998-9938.
    http://www.oreilly.com

    4. CONTACT US
    Here's how to reach us with your comments and questions:

    (please mention the newsletter name in the subject line)

    This weekly email newsletter is brought to you by Windows & .NET Magazine, the leading publication for Windows professionals who want to learn more and perform better. Subscribe today.
    http://www.winnetmag.com/sub.cfm?code=wswi201x1z

    Receive the latest information about the Windows and .NET topics of your choice. Subscribe to our other FREE email newsletters.
    http://www.winnetmag.net/email

    Hide comments

    Comments

    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.
    Publish