Professional Documents
Culture Documents
1. Web Service
2. RESTful web service
3. SOAP web service
4. SOAP vs REST
5. SOAP example
6. REST example
7. REST JSON
8. REST CRUD
9. Spring Rest
10. Spring Rest JSON
11. Spring Rest XML
12. Spring Rest CRUD
13. Spring Rest Hibernate
14. Spring Hibernate CRUD
15. Rest AngularJS example
16. Spring RestTemplate
17. Android Rest example
18. Web services interview questions
19. Restful web services interview questions
Table of Contents
Preface .....................................................
Who Should Read This Book? .....................................
Organization .................................................
Software and Versions ..........................................
Conventions .................................................
Comments and Questions ........................................
Acknowledgments .............................................
1123445
1. Welcome to Web Services .......................................
1.1 What Are Web Services? ......................................
1.2 Web Services Adoption Factors ..................................
1.3 Web Services in a J2EE Environment ..............................
1.4 What This Book Discusses .....................................
66
11
14
15
2. Inside the Composite Computing Model ............................
2.1 Service-Oriented Architecture ...................................
2.2 The P2P Model ............................................
17
17
26
3. SOAP: The Cornerstone of Interoperability ..........................
3.1 Simple ..................................................
3.2 Object ..................................................
3.3 Access ..................................................
3.4 Protocol .................................................
3.5 Anatomy of a SOAP Message ...................................
3.6 Sending and Receiving SOAP Messages ............................
3.7 The Apache SOAP Routing Service ...............................
3.8 SOAP with Attachments ......................................
28
28
29
29
30
30
34
46
50
4. SOAP-RPC, SOAP-Faults, and Misunderstandings .....................
4.1 SOAP-RPC ...............................................
4.2 Error Handling with SOAP Faults ................................
4.3 SOAP Intermediaries and Actors .................................
55
55
63
69
5. Web Services Description Language ...............................
5.1 Introduction to WSDL ........................................
5.2 Anatomy of a WSDL Document .................................
5.3 Best Practices, Makes Perfect ...................................
5.4 Where Is All the Java? ........................................
72
72
73
94
95
6. UDDI: Universal Description, Discovery, and Integration ................
6.1 UDDI Overview ............................................
6.2 UDDI Specifications and Java-Based APIs ..........................
6.3 Programming UDDI .........................................
6.4 Using WSDL Definitions with UDDI ..............................
96
96
99
101
135
7. JAX-RPC and JAXM .........................................
7.1 Java API for XML Messaging (JAXM) .............................
7.2 JAX-RPC ................................................
7.3 SOAPElement API ..........................................
7.4 JAX-RPC Client Invocation Models ...............................
138
138
157
161
162
8. J2EE and Web Services ........................................
8.1 The SOAP-J2EE Way ........................................
8.2 The Java Web Service (JWS) Standard .............................
169
169
183
www.it-ebooks.info
9. Web Services Interoperability ....................................
9.1 The Concept of Interoperability ..................................
9.2 The Good, Bad, and Ugly of Interoperability .........................
9.3 Potential Interoperability Issues ..................................
9.4 SOAPBuilders Interoperability ..................................
9.5 Other Interoperability Resources .................................
9.6 Resources ................................................
186
186
186
198
200
223
225
10. Web Services Security ........................................
10.1 Incorporating Security Within XML ..............................
10.2 XML Digital Signatures ......................................
10.3 XML Encryption ..........................................
10.4 SOAP Security Extensions ....................................
10.5 Further Reading ...........................................
227
227
228
233
239
241
A. Credits ...................................................
243
Colophon ....................................................
245