WebLogic Web services conform to the WS-ReliableMessaging (February 2009) specification, which describes how two Web services running on different application servers can communicate reliably. In particular, the specification describes an interoperable protocol in which a message sent from a source endpoint (or client Web service) to a destination endpoint (or Web service whose operations can be invoked reliably) is guaranteed either to be delivered, according to one or more delivery assurances, or to raise an error.
For more information about creating and invoking reliable Web services, see:
- JAX-WS Web services: Using Web Services Reliable Messaging
- JAX-RPC Web services: Using Web Services Reliable Messaging
- Configure your domain for Web service advanced features, as described in the following sections:
- JAX-WS Web services: "Configuring Your Domain for Advanced Web Services Features in Getting Started With JAX-WS Web Services
- JAX-RPC Web services: :"Configuring Your Domain For Web Services Features" in Getting Started With JAX-RPC Web Services
- For JAX-WS Web services, configure the source and destination WebLogic Server instances, as follows:
- In the left pane of the Administration Console, select Environment then Servers.
- In the right pane, click the name of the server for which you want to configure reliable message.
- Select Configuration> Web Services > Reliable Message.
- Set the reliable messaging configuration properties, as required.
- Click Save.
- For both JAX-WS and JAX-RPC Web services, configure reliable messaging at the Web service endpoint (port) level:
- In the left pane of the Administration Console, select Deployments.
- In the right pane, navigate within the Deployments table until you find the Web service for which you want to view the configuration. Note: Web services are deployed as part of an Enterprise application, Web application, or EJB. To understand how Web services are displayed in the Administration Console, see View installed Web services.
- In the Deployments table, click the name of the Web service.
- Select Configuration > Ports, then click the name of the Web service endpoint that you want to configure.
- On the Web service endpoint page, select the Reliable Message tab.
- Click Customize Reliable Message Configuration.
- Set the reliable messaging configuration properties, as required.
- Click Save.
After you finish
Attach a WS-Policy file that contains reliable messaging policy assertions with the Web service. See Attach a WS-Policy file to a Web service.
No comments:
Post a Comment