In this book you’ll learn the concepts of SOAP based Web Services architecture and get practical advice on building and deploying Web Services in the enterprise. Starting from the basics and the best practices for setting up a development environment, this book enters into the inner details of the JAX-WS in a clear and concise way. You will also learn about the major toolkits available for creating, compiling and testing SOAP Web Services and how to address common issues such as debugging data and securing its content.
What you will learn from this book:
- Move your first steps with SOAP Web Services. Installing the tools required for developing and testing applications.
- Developing Web Services using top-down and bottom-up approach.
- Using Maven archetypes to speed up Web Services creation.
- Getting into the details of JAX-WS types: Java to XML mapping and XML to Java
- Developing SOAP Web Services on WildFly 8 and Tomcat. Running native Apache CXF on WildFly
- Securing Web Services. Applying authentication policies to your services. Encrypting the communication.
Table of contents:
Chapter 2: Developing JAX-WS Web Service Applications, dives deep into Web Services development. In particular, you will get detailed information on how to create Web Service clients from a WSDL contract, how to create a full Web Service project using the WSDL-to-Java tools and top-down methodology. Finally, we will show another option for creating a full Web Service project using a Maven archetype specifically focused on WildFly
Chapter 3: Advanced JAX-WS and JAXB usage, covers some advanced concepts that are often required to deal with non trivial web services applications such as Oneway invocations, JAX-WS handlers, JavaEE injection and JAX-WS components, Asynchronous invocations, Fault handling
Chapter 4: WildFly JAX-WS Provider, provides information on how the JAX-WS specification is implemented in WildFly. While users can certainly rely on the vanilla WildFly configuration, a good grasp of the various layers building up the Web Services stack of the server allows better configuration and tuning.
Chapter 5: Web Services Security, introduces to the most common concerns about Web Services security. After an initial overview of the key security concepts some common scenarios will be described through source code examples and directions on configuring the WildFly container properly.
Appendix: Shows how to create top-down Web Services and Web Service clients using the Eclipse wizard. Detailed instructions on running tests are included.