Table of Contents
Preface ..................................................................................................................................................iv
1. Introdcution ........................................................................................................................................1
1.1. Features ...................................................................................................................................1
2. Installation .........................................................................................................................................2
2.1. Install on JBoss Application Server ...........................................................................................2
2.2. Install on Apache Tomcat .........................................................................................................2
3. Getting started ....................................................................................................................................4
3.1. A simple RPC Style Endpoint ...................................................................................................4
3.2. Document Style Endpoints ........................................................................................................7
3.3. Message Style Endpoints ........................................................................................................11
3.3.1. SOAPConnection for raw message dispatch ..................................................................12
4. Developing web service endpoints .....................................................................................................14
4.1. JSR-109 Endpoints .................................................................................................................14
4.1.1. JSR-109 POJO Endpoint ..............................................................................................14
4.1.2. JSR-109 EJB Endpoint ................................................................................................15
4.2. JSR-181 Endpoints .................................................................................................................16
4.2.1. JSR-181 POJO Endpoint ..............................................................................................17
4.2.2. JSR-181 EJB Endpoint ................................................................................................19
4.3. Service Lifecycle and MessageContext ....................................................................................19
4.4. Endpoint configuration templates ............................................................................................20
5. Consuming web services ...................................................................................................................22
5.1. JSR-109 Clients .....................................................................................................................22
5.2. Dynamic Invocation Interface .................................................................................................24
5.3. Stub properties .......................................................................................................................25
6. Headers & Handlers ..........................................................................................................................27
6.1. Bound and unbound SOAP Headers ........................................................................................27
6.2. Message handler ....................................................................................................................30
6.3. Dynamic JAXRPC Handlers ...................................................................................................32
7. Holders for INOUT parameters ..........................................................................................................34
8. Custom Exceptions ...........................................................................................................................36
9. OneWay Invocations .........................................................................................................................39
10. SOAP with Attachments ..................................................................................................................41
10.1. Access attachments on the server side ....................................................................................42
10.2. Sending an attachment from a DII client ................................................................................43
10.3. Building a SOAP multipart message using SAAJ ...................................................................43
11. MTOM/XOP ..................................................................................................................................45
11.1. MTOM schema elements ......................................................................................................45
11.2. Supported MTOM parameter types ........................................................................................45
11.3. An example MTOM request ..................................................................................................46
12. JMS Transport ................................................................................................................................47
12.1. JMS Endpoint ......................................................................................................................47
12.2. JMS Client ...........................................................................................................................48
13. Secure Endpoints ............................................................................................................................50
14. WS-Security ...................................................................................................................................55
JBoss 05-Sep-2006 ii
评论3
最新资源