Prev | Current Page 359 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

binildas.com/2006/12/30/products
This also provides an excellent mechanism to version control services and we will
demonstrate this in examples later in this chapter.
Version Parameter
Including a version parameter is another method. This special parameter is usually
passed through the headers of the web service request. It is also possible to include
this parameter in the message payload (or body content). In either form, in order
to make this mechanism work we need to pass the value for the version parameter
along with every request. A sample SOAP request with a version parameter in the
header is shown in the following code:


2.2



....


Web Service Versioning
[ 268 ]
As disscussed before, the same can be included in the body as shown in the
following code:



347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371