Developing JAX-RPC Web Services for Oracle WebLogic Server
Table of Contents
Show All | Collapse- Title and Copyright Information
- Preface
- What's New in This Guide
- Part I Introduction
- 1 Introduction to JAX-RPC Web Services
- 2 Examples for JAX-RPC Web Service Developers
- Part II Developing Basic JAX-RPC Web Services
- 3 Developing JAX-RPC Web Services
- Overview of the WebLogic Web Service Programming Model
- Configuring Your Domain For Web Services Features
- Developing WebLogic Web Services Starting From Java: Main Steps
- Developing WebLogic Web Services Starting From a WSDL File: Main Steps
- Creating the Basic Ant build.xml File
- Running the jwsc WebLogic Web Services Ant Task
- Running the wsdlc WebLogic Web Services Ant Task
- Updating the Stubbed-out JWS Implementation Class File Generated By wsdlc
- Deploying and Undeploying WebLogic Web Services
- Browsing to the WSDL of the Web Service
- Configuring the Server Address Specified in the Dynamic WSDL
- Testing the Web Service
- Integrating Web Services Into the WebLogic Split Development Directory Environment
- 4 Programming the JWS File
- Overview of JWS Files and JWS Annotations
- Java Requirements for a JWS File
- Programming the JWS File: Typical Steps
- Example of a JWS File
- Specifying that the JWS File Implements a Web Service (@WebService Annotation)
- Specifying the Mapping of the Web Service to the SOAP Message Protocol (@SOAPBinding Annotation)
- Specifying the Context Path and Service URI of the Web Service (@WLHttpTransport Annotation)
- Specifying That a JWS Method Be Exposed as a Public Operation (@WebMethod and @OneWay Annotations)
- Customizing the Mapping Between Operation Parameters and WSDL Elements (@WebParam Annotation)
- Customizing the Mapping Between the Operation Return Value and a WSDL Element (@WebResult Annotation)
- Accessing Run-Time Information About a Web Service
- Should You Implement a Stateless Session EJB?
- Programming the User-Defined Java Data Type
- Throwing Exceptions
- Invoking Another Web Service from the JWS File
- Programming Additional Miscellaneous Features Using JWS Annotations and APIs
- JWS Programming Best Practices
- 5 Understanding Data Binding
- 6 Developing JAX-RPC Web Service Clients
- Overview of JAX-RPC Web Service Clients
- Invoking a Web Service from a Java SE Client
- Invoking a Web Service from Another Web Service
- Using a Standalone Client JAR File When Invoking Web Services
- Using a Proxy Server When Invoking a Web Service
- Client Considerations When Redeploying a Web Service
- WebLogic Web Services Stub Properties
- Setting the Character Encoding For the Response SOAP Message
- 3 Developing JAX-RPC Web Services
- Part III Developing Advanced Features of JAX-RPC Web Services
- 7 Invoking a Web Service Using Asynchronous Request-Response
- Overview of the Asynchronous Request-Response Feature
- Using Asynchronous Request-Response: Main Steps
- Configuring the Host WebLogic Server Instance for the Asynchronous Web Service
- Writing the Asynchronous JWS File
- Updating the build.xml File When Using Asynchronous Request-Response
- Disabling The Internal Asynchronous Service
- Using Asynchronous Request Response With a Proxy Server
- 8 Using Web Services Reliable Messaging
- Overview of Web Service Reliable Messaging
- Using Web Service Reliable Messaging: Main Steps
- Configuring the Destination WebLogic Server Instance
- Configuring the Source WebLogic Server Instance
- Creating the Web Service Reliable Messaging WS-Policy File
- Programming Guidelines for the Reliable JWS File
- Configuring Reliable Messaging for a Reliable Web Service
- Programming Guidelines for the JWS File That Invokes a Reliable Web Service
- Updating the build.xml File for a Client of a Reliable Web Service
- Using Reliable Messaging With MTOM
- Client Considerations When Redeploying a Reliable Web Service
- Using Reliable Messaging With a Proxy Server
- 9 Creating Conversational Web Services
- 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
- ConversationUtils Utility Class
- Updating the build.xml File for a Client of a Conversational Web Service
- Updating a Stand-Alone Java Client to Invoke a Conversational Web Service
- Example Conversational Web Service .NET Client
- Client Considerations When Redeploying a Conversational Web Service
- 10 Creating Buffered Web Services
- Overview of Buffered Web Services
- Creating a Buffered Web Service: Main Steps
- Configuring the Host WebLogic Server Instance for the Buffered Web Service
- Programming Guidelines for the Buffered JWS File
- Programming the JWS File That Invokes the Buffered Web Service
- Updating the build.xml File for a Client of the Buffered Web Service
- 11 Using the Asynchronous Features Together
- 12 Using Callbacks to Notify Clients of Events
- 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
- 13 Using JMS Transport as the Connection Protocol
- 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
- Invoking a WebLogic Web Service Using JMS Transport
- 14 Creating and Using SOAP Message Handlers
- Overview of SOAP Message Handlers
- Adding SOAP Message Handlers to a Web Service: Main Steps
- Designing the SOAP Message Handlers and Handler Chains
- Creating the GenericHandler Class
- Implementing the Handler.init() Method
- Implementing the Handler.destroy() Method
- Implementing the Handler.getHeaders() Method
- Implementing the Handler.handleRequest() Method
- Implementing the Handler.handleResponse() Method
- Implementing the Handler.handleFault() Method
- Directly Manipulating the SOAP Request and Response Message Using SAAJ
- Configuring Handlers in the JWS File
- Creating the Handler Chain Configuration File
- Compiling and Rebuilding the Web Service
- Creating and Using Client-Side SOAP Message Handlers
- 15 Using Database Web Services
- A Pre-Packaged WS-Policy Files for Reliable Messaging
- DefaultReliability1.1.xml (WS-Policy File)
- Reliability1.1_SequenceTransportSecurity.xml (WS-Policy File)
- Reliability1.1_SequenceSTR.xml (WS-Policy File)
- Reliability1.0_1.1.xml (WS-Policy.xml File)
- DefaultReliability.xml (WS-Policy File) [Deprecated]
- LongRunningReliability.xml (WS-Policy File) [Deprecated]
- 7 Invoking a Web Service Using Asynchronous Request-Response