Using the Asynchronous Features Together
6.1 Using the Asynchronous Features Together
The preceding sections describe how to use the WebLogic Web service asynchronous features Web service reliable messaging, conversations, asynchronous request-response, and buffering on their own. Typically, however, Web services use the features together; see Section 6.2, Example of a JWS File That Implements a Reliable Conversational Web Service and Section 6.3, Example of Client Web Service That Asynchronously Invokes a Reliable Conversational Web Service for examples. When used together, some restrictions described in the individual feature sections do not apply, and sometimes additional restrictions apply. The following table summarizes considerations for various feature combinations. Table 6–1 Considerations When Using Asynchronous Features Together Feature Combination Consideration Asynchronous request-response with Web service reliable messaging or buffering ■ The asynchronous response from the reliable Web service is also reliable. This means that you must also configure a JMS server, module, and queue on the source WebLogic Server instance, in a similar way you configured the destination WebLogic Server instance, to handle the response. When you create the JMS queue on the source WebLogic Server instance, you are required to specify a JNDI name of weblogic.wsee.DefaultQueue ; you can name the queue anything you want. You must also ensure that you specify that this JMS queue is local, typically by setting the local JNDI name. ■ The reliable or buffered operation cannot be one-way; in other words, you cannot annotate the implementing method with the Oneway annotation. Asynchronous request-response with Web service reliable messaging If you set a property in one of the asynchronous contexts AsyncPreCallContext or AsyncPostCallContext, then the property must implement java.io.Serializable. 6-2 Programming Advanced Features of JAX-RPC Web Services for Oracle WebLogic Server6.2 Example of a JWS File That Implements a Reliable Conversational Web Service
Parts
» Oracle Fusion Middleware Online Documentation Library
» Overview of the Asynchronous Request-Response Feature
» Using Asynchronous Request-Response: Main Steps
» Configuring the Host WebLogic Server Instance for the Asynchronous Web Service
» Example of a Synchronous Invoke
» Configuring the Source WebLogic Server Instance
» Creating a Custom WS-Policy File Using WS-ReliableMessaging Policy Assertions Version 1.1
» Using Multiple Policy Alternatives
» Programming Guidelines for the JWS File That Invokes a Reliable Web Service
» Overview of Conversational Web Services
» Creating a Conversational Web Service: Main Steps
» Programming Guidelines for the Conversational JWS File
» Programming Guidelines for the JWS File That Invokes a Conversational Web Service
» Updating a Stand-Alone Java Client to Invoke a Conversational Web Service
» ConversationService.java File Example Conversational Web Service .NET Client
» Service.cs File Example Conversational Web Service .NET Client
» build.xml File Example Conversational Web Service .NET Client
» Configuring the Host WebLogic Server Instance for the Buffered Web Service
» Programming Guidelines for the Buffered JWS File
» Using the Asynchronous Features Together
» Example of a JWS File That Implements a Reliable Conversational Web Service
» Overview of Callbacks Callback Implementation Overview and Terminology
» Programming Callbacks: Main Steps Programming Guidelines for Target Web Service
» Programming Guidelines for the Callback Client Web Service
» Programming Guidelines for the Callback Interface
» Updating the build.xml File for the Client Web Service
» Overview of Using JMS Transport
» Using JMS Transport Starting From Java: Main Steps
» Using JMS Transport Starting From WSDL: Main Steps
» Configuring the Host WebLogic Server Instance for the JMS Transport Web Service
» Using the WLJmsTransport JWS Annotation
» Using the WLJmsTransport Child Element of the jwsc Ant Task Updating the WSDL to Use JMS Transport
» Overriding the Default Service Address URL
» Using JMS BytesMessage Rather Than the Default TextMessage Disabling HTTP Access to the WSDL File
» Overview of SOAP Message Handlers
» Adding SOAP Message Handlers to a Web Service: Main Steps
» Designing the SOAP Message Handlers and Handler Chains
» Implementing the Handler.handleResponse Method
» javax.jws.HandlerChain Configuring Handlers in the JWS File
» javax.jws.soap.SOAPMessageHandlers
» Creating the Handler Chain Configuration File
» Compiling and Rebuilding the Web Service
» Using Client-Side SOAP Message Handlers: Main Steps
» Example of a Client-Side Handler Class Creating the Client-Side SOAP Handler Configuration File
» Database Call-out Overview of Database Web Services
» SQL to XML Type Mappings for Web Service Call-Ins
» UDDI and Web Services UDDI and Business Registry
» Configuring an External LDAP Server
» Description of Properties in the uddi.properties File
Show more