BT

Your opinion matters! Please fill in the InfoQ Survey!

Article: Schema for Web Services – Part I: Basic Datatypes

| by Stefan Tilkov Follow 1 Followers on Jan 16, 2009. Estimated reading time: less than one minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

In the first of a series of articles addressing the problems that arise when XML Schema types are mapped to programming language constructs, web services expert Dennis Sosnoski starts at the most basic level, looking at simple data types and the problems they create.

As Dennis writes:

Most web service applications don't work with XML documents directly, instead going through a data binding conversion layer within a web service toolkit. This is convenient for application developers, since it means they can work directly with data structures in their programming language of choice. But the data binding step needs to deal with mismatches between schema data types and structures and programming language data types and structures, and these mismatches can create problems for applications.

He continues to look in detail at XML Schema numeric types, time-related values, and references. For each of these, he outlines the problems and offers some concrete advice on how to handle them.

Check out the complete article.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Dates by Ben Murphy

Handling of dates and datetime in xmlschema is such a terrible joke. They provide a type for the uncommon case which is a datetime with an optional timezone but don't provide specific types for the common cases which are datetime with a timezone and datetime without a timezone. It's like the writers of the schema have never written an application that has had to deal with dates.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT