Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us
Online Education
KVM over IP
Computer Deals
Shop Online
Promotional Products
Home Improvement
Boat Donations
Find Software
Data Center Solutions
Promotional Pens
Hurricane Shutters
SMS Gateway
Domain registration
Memory Upgrades

Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


  Rethinking the Datacenter
Sponsored by HP
Today's datacenters need to increase utilization, get control over power and cooling costs, and align with business objectives. Download this eBook to learn about the challenges facing the data center in a world where digital information is growing at a torrid pace and costs are being held in check. Learn more. »
 
  Putting the Green into IT
Sponsored by HP
Electricity use in data centers is skyrocketing, sending energy bills through the roof, creating environmental concerns and generating negative publicity. "Going Green" means looking to technologies like virtualization, energy-efficient chips and racks, and implementing policies that extend beyond the data center. Learn more. »
 
  Managing the Modern Network
Sponsored by HP
In a global economy where information crosses the globe in an instant, and where Web-based applications power business, it's more important than ever to ensure your network is safe from threats and optimized to deliver the data your business needs. »
 
  Evaluating Software as a Service for Your Business
Sponsored by Webroot
Is Software as a Service just hype, or is something really going on here? See if your company can benefit as SaaS tries to change the face of the enterprise. »
 
  Is Your Disaster Recovery Plan Good Enough?
Sponsored by HP
Preparing for a disaster is more often than not part of the storage planning process, and it is one of the most difficult tasks, since it includes local hardware and software, networking equipment, and a test plan. Learn how to get disaster recovery right. »
 
Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

Introduction to Directory Services Markup Language (DSML)

October 27, 2000

Directory Services Markup Language (DSML) is an XML schema for working with directories. It is designed with LDAP directories in mind. If you want to access directories within XML programs, DSML could allow you to stick with familiar XML syntax and tools instead of having to use LDAP or proprietary directory-access APIs such as Microsoft's ADSI. In addition, DSML could give you one consistent way to work with multiple dissimilar directories.

Directory Services Markup Language (DSML) XMLizes LDAP

Directory Services Markup Language (DSML) is an XML schema for working with directories. If you want to access directories within XML programs, DSML allows you to stick with familiar XML syntax and tools. DSML is defined using a Document Content Description (DCD).

DSML is designed with Lightweight Directory Access Protocol (LDAP) directories in mind. LDAP is a TCP-based protocol for accessing online directory services. The main idea of DSML is to allow XML programmers to access LDAP-enabled directories without having to write to the LDAP interface or use proprietary directory-access APIs such as Microsoft's Active Directory Service Interfaces (ADSI). In addition, DSML could give you one consistent way to work with multiple dissimilar directories.

A typical DSML transaction works as follows: An XML application formats a query in DSML. The query is transported across an HTTP network and received by a DSML service, which translates the query into LDAP. Via LDAP, the data is retrieved from the directory and passed back to the DSML service, which formats the data in DSML and sends it back across the HTTP network to the application.

Here's a graphical view of the process:

Flash animation (14KB)
Animated GIF (86KB)

Who Needs DSML?

DSML will be of practical use to you only if DSML interfaces provide the functionality you need. That will depend partly on whether DSML itself specifies the required functionality, and partly on whether there is robust DSML support for the directory or directories your application needs to access.

Let’s look at these two points one at a time.

The DSML Spec

The DSML spec is still fairly immature: DSML 1.0 was released in final form at the end of 1999. Work on DSML 2.0 started in earnest in the Fall of 2000. Participants want to produce an implementable 2.0 spec by Q1 2001.

The biggest limitation of DSML 1.0 is a lack of support for querying and updating. A query allows a client to request specific information from a directory, such as the first name, last name and phone number of all employees in the Accounting department. An update changes information in a directory. For instance, it might modify a phone number or address, delete a record, or add a record. DSML 1.0 provides a meta-language for expressing the data model and structure of a directory in XML. It doesn’t say anything about how to query or update directories. If you want to do queries or updates, you’ll have to go outside XML. Most likely, you’d use LDAP or a proprietary API like ADSI (Active Directory Services Interfaces).

DSML 2.0 will support querying and updating. Since most applications that use a directory need to query and/or update, 2.0 will be the first really useful version of the spec for most programmers. However, you could use 1.0, for instance, to implement a bulk import/export function for directory information.

Implementations
Microsoft
Other Directory Vendors
Novell
C and Java Not Required
Security Considerations
Conclusion
What About LDAP?
Beyond DSML
DSML: a Common Language

Implementations


Up to => Home / Authoring / Languages / XML / DSML




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


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

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers