The open archive for STFC research publications

Full Record Details

Persistent URL http://purl.org/net/epubs/work/37262
Record Status Checked
Record Id 37262
Title Approaches and best practices in Web Service Data Binding
Abstract In this chapter we provide a critical evaluation of the different Web service styles and approaches to data-binding and validation, citing examples and recommendations based on our experiences in developing Web services for large-scale scientific facilities in the UK. We provide implementation examples using current SOAP standards for Java, including JAX-RPC and the newly released JAX-WS standard. We assess the advantages and disadvantages associated with ‘loose’ verses ‘tight’ data typing and when decoupling the binding / validation framework from the SOAP engine implementation. We also assess the different approaches to Web service development, citing both the ‘code first’ and ‘contract driven’ approaches, and outline some best practices for WSDL authoring / modularization. We show how the WSDL interface style (RPC / Document), strength of data typing and the level of support for data modelling, binding and validation must be carefully considered in order to successfully address the particular requirements of the application. As an example, data-centric services will usually require different approaches to Web service development when compared to more general services, for example, those designed for the delivery and sharing of generic files and documents. In the former scenario, a strongly typed and tightly bound Document orientated approach would be suitable, whereas a loosely typed RPC approach using MIME attachments could be more suitable for the latter. For the most part however, we recommend the use of the Document/ literal wrapped Web service style with a 100% XML schema compliant data-model that can be separated from the WSDL definitions. We found that this encouraged collaboration between the different partners involved in the data definition process and also assured interoperability. This also leverages the advanced capabilities of XML schema for precisely constraining complex data when compared to RPC and SOAP encoding styles.
Organisation CCLRC , ESC , ESC-GTG
Keywords JAXB , Security , WSDL , Web Services , XML , Web Services Style , Data Binding , SOAP , XML Beans
Funding Information
Related Research Object(s):
Licence Information:
Language English (EN)
Type Details URI(s) Local file(s) Year
Book Chapter or Section In Securing web services: practical usage of standards and specifications. edited by P Periorellis , chapter 13, USA: Idea Group Inc, 2006. AsifAkramDaveMeredithChapter.pdf 2006