BEA Implementation of Web Service Specifications
SOAP
WSDL 1.1
JAX-RPC 1.0
Web Services Security (WS-Security)
UDDI 2.0
Additional Specifications Supported by WebLogic Web Services
 
 
 
 
 
The EJB Java Interfaces and Implementation Class
Remote Interface (Trader.java)
Session Bean Implementation Class (TraderBean.java)
Home Interface (TraderHome.java)
The Non-Built-In Data Type TraderResult
The EJB Deployment Descriptors
ejb-jar.xml
weblogic-ejb-jar.xml
The servicegen Ant Task That Assembles the Web Service
The Client Application to Invoke The Web Service
 
 
EJB Back-end Component
Java Class Back-end Component
 
 
 
Implementing a Web Service By Writing a Stateless Session EJB
Implementing a Web Service By Writing a Java Class
Implementing Non-Built-In Data Types
Implementing a Document-Oriented Web Service
Generating a Partial Implementation From a WSDL File
Running the wsdl2Service Ant Task
Sample build.xml Files for the wsdl2Service Ant Task
Using SOAP Attachments
java.lang.String
javax.activation.DataHandler
Implementing Multiple Return Values
Using Out and In-Out Parameters
Using Holder Classes to Implement Multiple Return Values
Throwing SOAP Fault Exceptions
 
XML Schema-to-Java Mapping for Built-In Data Types
Java-to-XML Mapping for Built-In Data Types
 
 
What the servicegen Ant Task Does
Assembling WebLogic Web Services Automatically: Main Steps
Creating the Build File That Specifies the servicegen Ant Task
 
Assembling a Web Service Starting with Java
Assembling a Web Service Starting with an XML Schema
Running the source2wsdd Ant Task
Running the autotype Ant Task
Running the clientgen Ant Task
Running the wspackage Ant task
 
Supported XML Non-Built-In Data Types
Supported Java Non-Built-In Data Types
Data Type Non-Compliance with JAX-RPC
 
WebLogic Web Services Home Page and WSDL URLs
Denying Access to the WSDL and Home Page of a WebLogic Web Service
 
 
JAX-RPC API 1.0
The Runtime Client JAR Files
Examples of Clients That Invoke Web Services
 
Generating the Client JAR File by Running the clientgen Ant Task
Getting Information About a Web Service
Writing the Java Client Application to Invoke a Web Service
Writing a Simple Client Application
Writing a Client That Uses Out or In-Out Parameters
 
Description of the Generated Asynchronous Web Service Client Stub
Writing the Asynchronous Client Java Code
 
Creating and Using Portable Stubs
 Using the VersionMaker Utility to Update Client JAR Files
 
Writing a Dynamic Client That Uses WSDL
Writing a Dynamic Client That Does Not Use WSDL
Writing a Dynamic Client That Uses Non-Built-In Data Types
Writing a J2ME Client
Writing a J2ME Client That Uses SSL
 
 
 
 
 
 
Reliable SOAP Messaging Architecture
Receiver Transactional Context
Guidelines For Programming the EJB That Implements a Reliable Web Service Operation
Guidelines for Programming the Java Class That Implements a Reliable Web Service Operation
Configuring the Transaction
Limitations of Reliable SOAP Messaging
 
Configuring the Sender WebLogic Server
Configuring the Receiver WebLogic Server
Writing the Java Code to Invoke an Operation Reliably
Handling Sender Server Failures
Updating the web-services.xml File Manually for Reliable SOAP Messaging
 
 
Writing the XML Schema Data Type Representation
Writing the Java Data Type Representation
Writing the Serialization Class
Creating the Data Type Mapping File
Updating the web-services.xml File With XML Schema Information
 
 
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
The SOAPPart Object
The AttachmentPart Object
Manipulating Image Attachments in a SOAP Message Handler
 
 
 
Main Use Cases
Unimplemented Features of the Web Services Security Core Specification
Terminology
Architectural Overview of Message-Level Security
Configuring Message-Level Security: Main Steps
Configuring The Identity Asserter Provider for the myrealm Security Realm
Updating the servicegen build.xml File
Updating Security Information in the web-services.xml File
Encrypting Passwords in the web-services.xml File
Updating a Java Client to Invoke a Data-Secured Web Service
 
Using the WebLogic Server-Provided SSL Implementation
Configuring the WebLogic SSL Implementation Programatically
Using SSL Socket Sharing When Using the WebLogic SSL Implementation
Using a Third-Party SSL Implementation
Extending the SSLAdapterFactory Class
Configuring Two-Way SSL For a Client Application
Using a Proxy Server
 
Controlling Access to WebLogic Web Services
Securing the Entire Web Service and Its Operations
Securing the Web Service URL
Securing the Stateless Session EJB and Its Methods
Securing the WSDL and Home Page of the Web Service
Specifying the HTTPS Protocol
Coding a Client Application to Authenticate Itself to a Web Service
 
 
 
Specifying the Character Set for a WebLogic Web Service
Updating the web-services.xml File
Setting a WebLogic Server System Property
Order of Precedence of Character Set Configuration Used By WebLogic Server
 
Setting the Character Set When Invoking a Web Service
Character Set Settings in HTTP Request Headers Honored by WebLogic Web Services
 
 
 
 
Retrieving and Processing Messages
Example of Using JMS Components
 
Packaging the JMS Message Consumers and Producers
Updating the web-services.xml File With Component Information
Sample web-services.xml File for JMS Component Web Service
 
Invoking an Asynchronous Web Service Operation to Send Data
Invoking a Synchronous Web Service Operation to Send Data
 
 
 
 
UDDI and Web Services
UDDI and Business Registry
UDDI Data Structure
 
Configuring the UDDI 2.0 Server
Description of Properties in the uddi.properties File
 
XML Elements and Permissible Values
XML Schema for Pluggable tModels
Sample XML for a Pluggable tModel
 
 
 
 
URL Used to Invoke the Web Service Home Page
Testing the Web Service
 
Setting Verbose Mode with Ant
Setting Verbose Mode Programatically
 
Common XML Schema Problems
Common Java Problems
 
 
 
Converting a 6.1 build.xml file to 8.1
Updating the URL Used to Access the Web Service
 
 
WebLogic Workshop and WebLogic Web Services
EJBGen
Using Meta-Data Tags When Creating EJBs and Web Services
 
Description of the Example
Assumptions
The Example
Sample build.xml File
Source Code for Supporting Java Objects
Item.java
PurchaseOrder.java
PurchasingManagerBean.java
PurchaseOrderFactory.java
 
clock-precision
clocks-synchronized
components
ejb-link
encryptionKey
enforce-precision
fault
generate-signature-timestamp
handler
handler-chain
handler-chains
inbound-expiry
init-param
init-params
java-class
jms-receive-queue
jms-send-destination
jndi-name
name
operation
operations
outbound-expiry
param
params
password
reliable-delivery
require-signature-timestamp
return-param
security
signatureKey
spec:BinarySecurityTokenSpec
spec:ElementIdentifier
spec:EncryptionSpec
spec:SecuritySpec
spec:SignatureSpec
spec:UsernameTokenSpec
stateless-ejb
timestamp
type-mapping
type-mapping-entry
types
user
web-service
web-services
 
List of Web Services Ant Tasks and Command-Line Utilities
Using the Web Services Ant Tasks
Differences in Operating System Case Sensitivity When Manipulating WSDL and XML Schema Files
Setting the Classpath for the WebLogic Ant Tasks
Using the Web Services Command-Line Utilities
 
servicegen
service
client
handlerChain
reliability
security
 
 
 
 
Creating the <components> Element
Creating <operation> Elements
Specifying the Type of Operation
Specifying the Parameters and Return Value of the Operation
 
EJB Component Web Service with Built-In Data Types
EJB Component Web Service with Non-Built-In Data Types
EJB Component and SOAP Message Handler Chain Web Service
SOAP Message Handler Chain Web Service