0" encoding="ISO-8859-1" ?>
targetNamespace="http://www.product.org">
processContents="lax"
minOccurs="0"
maxOccurs="unbounded"/>
The above is an extensible XML schema. The firstName and lastName elements are
bound whereas it provides an extension mechanism to add additional constructs
after the lastName (for example, Binil Das Mr, Craig Maret PhD, and so on) while
still remaining valid based on the overall schema definition. At the same time, the
targetNamespace mechanism also helps us to separate out different schemas, and
thus to differentiate between schema constrained XML data.
Chapter 14
[ 267 ]
targetNamespace for WSDL
A WSDL document is the description of a web service and has a definitions element
that contains the types, message, portType, binding, and service elements.
For the definitions element, targetNamespace is the namespace for information
about the referred service.
Pages:
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369