Getting Started With WebLogic Web Services Using JAX-RPC

      

Introduction

Use Cases and Examples

Creating a Simple HelloWorld Web Service

Creating a Web Service With User-Defined Data Types

Creating a Web Service from a WSDL File

Invoking a Web Service from a Stand-alone Java Client

Invoking a Web Service from a WebLogic Web Service

Developing WebLogic 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

 

Examples of Using jwsc

 

Advanced Uses of jwsc

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

 

Using the wldeploy Ant Task to Deploy Web Services

 

Using the Administration Console to Deploy 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

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 Runtime Information About a Web Service

 

Using JwsContext to Access Runtime Information

Guidelines for Accessing the Web Service Context

Methods of the JwsContext

 

Using the Stub Interface to Access Runtime Information

Should You Implement a Stateless Session EJB?

 

Programming Guidelines When Implementing an EJB in Your JWS File

 

Example of a JWS File That Implements an 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

 

Sending Binary Data Using MTOM/XOP

 

Streaming SOAP Attachments

 

Using SOAP 1.2

 

Specifying that Operations Run Inside of a Transaction

 

Getting the HttpServletRequest/Response Object

JWS Programming Best Practices

Understanding Data Binding

Overview of Data Binding

Supported Built-In Data Types

 

XML-to-Java Mapping for Built-in Data Types

 

Java-to-XML Mapping for Built-In Data Types

Supported User-Defined Data Types

 

Supported XML User-Defined Data Types

 

Supported Java User-Defined Data Types

Invoking Web Services

Overview of Web Services Invocation

 

Invoking Web Services Using JAX-RPC

 

Examples of Clients That Invoke Web Services

Invoking a Web Service from a Stand-alone Client: Main Steps

 

Using the clientgen Ant Task To Generate Client Artifacts

 

Getting Information About a Web Service

 

Writing the Java Client Application Code to Invoke a Web Service

 

Compiling and Running the Client Application

 

Sample Ant Build File for a Stand-Alone Java Client

Invoking a Web Service from Another Web Service

 

Sample build.xml File for a Web Service Client

 

Sample JWS File That Invokes a Web Service

Using a Stand-Alone Client JAR File When Invoking Web Services

Using a Proxy Server When Invoking a Web Service

 

Using the HttpTransportInfo API to Specify the Proxy Server

 

Using System Properties to Specify the Proxy Server

Client Considerations When Redeploying a Web Service

WebLogic Web Services Stub Properties

Setting the Character Encoding For the Response SOAP Message

Administering Web Services

Overview of WebLogic Web Services Administration Tasks

Administration Tools

Using the Administration Console

 

Invoking the Administration Console

 

How Web Services Are Displayed In the Administration Console

 

Creating a Web Services Security Configuration

Using the WebLogic Scripting Tool

Using WebLogic Ant Tasks

Using the Java Management Extensions (JMX)

Using the Java EE Deployment API

Using Work Managers to Prioritize Web Services Work and Reduce Stuck Execute Threads

Upgrading WebLogic Web Services From Previous Releases to 10g Release 3

Upgrading a 9.2 or 10.0 WebLogic Web Service to 10g Release 3

Upgrading a 9.0 or 9.1 WebLogic Web Service to 10g Release 3

Upgrading an 8.1 WebLogic Web Service to 10g Release 3

 

Upgrading an 8.1 Java Class-Implemented WebLogic Web Service to 10g Release 3: Main Steps

 

Upgrading an 8.1 EJB-Implemented WebLogic Web Service to 10g Release 3: Main Steps

8.1 SessionBean Class

8.1 Remote Interface

8.1 EJB Home Interface

Equivalent 10g Release 3 JWS File

 

Mapping of servicegen Attributes to JWS Annotations or jwsc Attributes


  Back to Top       Previous