WebLogic Server Web Services Architecture
All the preceding technologies can play a role in Web Services, as shown in Figure 30.2. The request-response cycle for Web Services can be summarized as follows:
A Web Service client sends a SOAP message to a Web Service. The Web Service processes the message and invokes an operation within it. This operation might require the services of J2EE components such as EJBs and JDBC data sources. This operation might require the services of other Web Services. In this case, the Web Service will become the client of these other Web Services. The operation finishes processing and returns a SOAP message to the original client.
Also shown in the diagram is the WSDL file that describes the Web Service. Web Service clients that want to connect to the Web Service can consume this file. This file can also be published to a UDDI registry where interested parties can discover it.
|