developer.com
Search EarthWeb
CodeGuru | Gamelan | Jars | Wireless | Discussions
Navigate developer.com
Architecture & Design  
Database  
Java
Languages & Tools
Microsoft & .NET
Open Source  
Project Management  
Security  
Techniques  
Voice  
Web Services  
Wireless/Mobile
XML  
Technology Jobs  

   Developer.com Webcasts:
  The Impact of Coding Standards and Code Reviews

  Project Management for the Developer

  Defining Your Own Software Development Methodology

  more Webcasts...




See the Winners!


Developer Jobs

Be a Commerce Partner
GPS
Prepaid Phone Card
Web Design
Home Improvement
Logo Design
Online Education
Career Education
Promotional Golf
Remote Online Backup
Dental Insurance
Shop Online
Find Software
Server Racks
KVM Switch over IP

 

Search
The Business Internet

Click Here
Web Devs:
Moonlight as a Game Developer and Win Cool Prizes by Accepting the RIA Run Challenge

Now, your mission--should you choose to accept: Take your shot at gaming stardom if you think you might have what it takes to build a cool RIA game and you could win an Xbox 360 or other fabulous prizes. Hurry! You only have until May 15, 2008 to enter. »

 
Article:
Leveraging Your Flash Development with Silverlight

You're not giving up Flash any time soon (and we don't blame you.) But if you could get your Flash application working in Silverlight, why wouldn't you? We show you the tools and techniques required to have your rockin' Flash application rolled for Silverlight. Learn more here. »

 
Article:
What Does it Take to Build the Best RIA?

With the proliferation of Rich Interactive Application (RIA) platform choices out there, you no longer have to take a one-size-fits-all approach to developing your next RIA application. Knowing the strengths (and weaknesses) of each platform can help you to decide the best RIA for your next application. »

 
Developer News -
SaaS Tool Offers Custom Database Development    May 9, 2008
Microsoft’s Automated Agent: Can We Talk?    May 7, 2008
Borland Finally Sells CodeGear    May 7, 2008
Red Hat Heads For The JON 2.0    May 7, 2008
Free Tech Newsletter -

Best Practices for Developing a Web Site: Checklists, Tips, Strategies & More. Download Exclusive eBook Now.

Enterprise UDDI Services
By Thiru Thangarathinam

Go to page: 1  2  Next  

Windows Server 2003 ships with Enterprise UDDI Services, a dynamic and flexible infrastructure for discovering and integrating Web services within your application. Enterprise UDDI Services is a standards-based solution that can be used to run your own UDDI (Universal Description, Discovery, and Integration) directory for intranet or extranet use, making it easier to discover Web services and other programmatic resources. By providing a centralized repository of Web services, Enterprise UDDI Services makes it possible for the developers to easily and quickly find and reuse the Web services available within the organization, allowing them to build and deploy extensible and reliable applications. In this article, we will understand the features of this new capability and demonstrate how it can be used to register and discover Web services. Along the way, we will also see how Enterprise UDDI Services can be accessed from a Web user interface as well as programmatically through the UDDI API.

Introduction

Enterprise UDDI Services helps companies organize and catalog Web services and other programmatic resources. By applying categorization schemes such as geography, Quality of Service (QoS), or organization in UDDI Services, companies can establish a structured and standardized way to describe and discover services. Enterprise UDDI Services in Windows Server 2003 is fully compliant with UDDI 2.0 specification. UDDI Services store both the technical information to build an application compatible with a Web services interface, as well as the information required to successfully connect to the Web service at run time.

The most common scenarios for Enterprise UDDI Services inside an organization are as follows:

  • Developer Reuse—At design time, developers search UDDI Services for Web services and other programmatic resources to reuse in building new applications. UDDI Services exposes all of the information needed to invoke a service, making it easy for the developer to integrate the service into an application. UDDI Services provides developers with a central repository of service description and technical binding information, making it easier to reuse existing services and publish new services based on standard and custom categorization schemes. Because of the seamless integration with Visual Studio .NET and the Office Web Services Toolkit, UDDI Services enables developers to locate and reuse Web services directly from within their application development environment.
  • Dynamic Application Configuration—It is also possible to use UDDI at runtime to get the binding information about a Web service and then connect to the service directly. An example of this is a stock broker application that queries UDDI Services first thing in the morning to get configuration information for the different services that are part of the application, such as a stock ticker, or customer service updates.

Installing UDDI Services

When you install Windows Server 2003, it does not install Enterprise UDDI Services by default. To install Enterprise UDDI Services, Select Start->Control Panel->Add Remove Programs. From the Add Remove Programs dialog box, when you click Add/Remove Windows Components, you will be provided with the following dialog box.



Click here for a larger image.

In the above dialog box, select UDDI Services from the list of options to install the Enterprise UDDI Services component in your server.

Enterprise UDDI Services Architecture

UDDI Services is a managed code service in Windows Server 2003, meaning that it is completely written using .NET managed code. Enterprise UDDI Services was built using the Microsoft .NET Framework 1.1 and was designed to be hosted in IIS 6.0. The following diagram shows the architecture of Enterprise UDDI Services.



Click here for a larger image.

As you can see from the above diagrams, you can leverage UDDI Services either through a Web-based user interface or programmatically through a SOAP interface. The important components of the UDDI Services are:

  • Clients: There are two types of clients—Browser clients and Web service clients. The browser clients can navigate to the ASP.NET Web pages that are available once you install the Enterprise UDDI Services component in your machine. This Web-based interface provides capabilities for searching, publishing, and coordination features that are compatible with browser clients such as Internet Explorer 4.0, or later, and Netscape Navigator 4.5, or later. The Web service clients can directly invoke the Web services exposed by the Enterprise UDDI Services.
  • UDDI Request Manager: UDDI request manager receives the incoming requests from the ASP.NET pages or the Web service classes and invokes the appropriate methods of the UDDI class library.
  • UDDI Class Library: This class library is a core component that encapsulates all of the functionalities required for interacting with the database server.
  • Database Server: As the above diagram shows, you can host the database either in MSDE or SQL Server depending on the scalability requirements for your enterprise. By default, UDDI Services uses MSDE as the data source.

Now that we have had an overview of the different components of Enterprise UDDI Services, let us consider an example in which we will publish a Web service with UDDI through the Web interface and then programmatically query the UDDI Services and get information about the registered Web service.

Web Services Publishing with UDDI

In this section, we will walk through the steps involved in publishing a Web service with the UDDI interface. Before we move on to look at that, let us outline the development steps one has to follow before publishing a Web service with UDDI.

  • Developer creates the core functionality of the service.
  • Writes a SOAP wrapper for the core functionality.
  • Creates a WSDL service description. It is often possible to do this using an automated service.
  • Install the Web service on a new or existing Web server.
  • Publish the specifications of the Web service with Enterprise UDDI Services.

In this section, we will use the UDDI Web interface for publishing the Web service in the Enterprise UDDI Services. For the purposes of this example, we will publish a Web service named http://localhost/MyProjects/SimpleWebService/HelloService.asmx in the Enterprise UDDI Services using the Web-based user interface. Let us start by navigating to the Enterprise UDDI Services default Web site by typing in http://localhost/uddi in the Internet Explorer address bar. If you have enabled SSL when installing UDDI Services, this URL will obviously be https://localhost/uddi.

  • Click the Publish hyperlink in the home page. In the resulting page, click on the Providers tab and add a new Provider by clicking on the Add Provider command button.
  • Once you add a new provider, it should look like the following. In this example, we have added a new provider named MyProvider.


  • Click here for a larger image.

  • If you click View in the above screen, you will be taken to the following screen where you can optionally specify information such as Contacts, Identifiers, Discovery URLs, Relationships, and so on. We will just add the Categories information for this provider to associate the provider with the specific category.


  • Click here for a larger image.

  • In the above screen, click on the Categories tab and Select Categorization scheme by clicking on the Add Category command button. For this example, we will specify the categorization scheme as uddi-org:types and then select Categorization (taxonomy) as the subcategory.
  • After adding the categories information, the output should look like the following.


  • Click here for a larger image.

  • Now that we have associated the Categorization scheme for the provider, let us publish a Web service by clicking on the Services tab in the above screen.
  • In the Services screen, click on the Add Service to publish our new Web service. When you do this, by default, it will create a service named (New Service Name). Click on the Edit command button to change the name of the service. For this example, we will call the name of the service Simple Service. After adding the service name, you can also optionally add a description for the service. After adding the above information, you should see the following screen.


  • Click here for a larger image.

  • Now that we have defined the service, we can now go ahead and specify an access point (location of the Web service) or the binding information for the service. To do this, click on the Bindings tab in the above screenshot and then click on the Add Binding command button to specify the access point for the Web service. For this example, we will specify the access point as http://localhost/MyProjects/SimpleWebService/HelloService.asmx.
  • After specifying the Web service access point, you can also optionally add a description about the Web service.
  • The final step is to add the instance information or a tModel (that provides technical information, such as instance parameters, or links to programmatic descriptions) for the Web service. Before you can associate a tModel with the web service, you need to create the tModel. To create a new tModel, click on the tModels node in the treeview. In the displayed screen, click on the Add tModel command button, and then specify all the required information. For the purposes of this example, we will create a new tModel named Simple Service tModel. Once you create a new tModel, the output should look like the following.


  • Click here for a larger image.

  • Now that we have created the tModel, we can associate the tModel with the access point of the Web service. To do this, click on the Instance Info tab and then click on the Add Instance Info command button to add the instance. When you do that, you will be provided with a screen wherein you can search for a tModel with the specific name. In the search textbox, enter "Simple" as the search string and click on the Search command button and you will get the following output.


  • Click here for a larger image.

  • In the above screen, click on the Simple Service tModel hyperlink to associate the tModel with the access point.

That's all there is to publishing a Web service with the Enterprise UDDI Services.

Go to page: 1  2  Next  


Tools:
Add www.developer.com to your favorites
Add www.developer.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed


.NET Archives

Work With InterSystems. Not Separate Systems. Rapidly develop and deploy connectable applications.
Best Practices for Developing a Web Site. Checklists, Tips & Strategies. Download Exclusive eBook Now.
Whitepaper: Enterprise Information Integration--Deployment Best Practices for Low-Cost Implementation
Five Trends for Application Development. Download Your Complimentary Report. Exclusive. Act Now.
Generate Complete .NET Web Apps in Minutes . Download Iron Speed Designer today.



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES