Debian Codegraph @

test/wsdl/jaxrpchandlereval/readme.txt

raw
1 This testcase tests the evaluation of JAX-RPC handler methods return value.
2
3 There are two client handlers: ClientHandler and ClientHander2.
4 There are two server handlers: ServiceHandler1 and Servicehandler2.
5
6 The order of handler is :
7
8 ClientHandler -> ClientHandler2 ~~~~~> ServiceHandler1 --> Servicehandler2
9
10 Each handler adds notes on the soap header and the test client check it to
11 determine handler's call order.
12
13 There are five tests in it.
14
15 1. Happy Path
16 This is the normal operation.
17 All handler's handlerRequest and handleResponse methods are called.
18 The test client check that all the client/server handler are called in order.
19
20 2. Server-Return-False
21 This checks the following scenario:
22 (SH for server-side handler, CH for client-side handler)
23
24 SH1.handleRequest
25 SH2.handleRequest <-- return false
26 SH2.handleResponse
27 SH1.handleResponse
28
29 3. Server-throw-SOAPFaultexception
30 This checks the following scenario:
31
32 SH1.handleRequest
33 SH2.handleRequest <-- throws SOAPFaultException
34 SH2.handleFault
35 SH1.handleFault
36
37 4. Client-Return-False
38 This checks the following scenario:
39
40 CH1.handleRequest
41 CH2.handleRequest <-- return false;
42 CH2.handleResponse
43 CH1.handleResponse
44
45 5. Client-Return-JAXRPCException
46 This checks the following scenario:
47
48 CH1.handleRequest
49 CH2.handleRequest <-- throws JAXRPCException. stop processing and destroy handlers
50
51
52 The original test program is from Shantanu Sen([email protected]).
53 This document and converted test case is compiled by Jongjin Choi([email protected]).
54
55