Debian Codegraph @

test/wsdl/addrNoImplSEI/README

raw
1 Test addrNoImpSEI
2
3 Summary:
4 This test is a variant of the AddressBook test. Unlike
5 the regular AddressBook test, the server side implementation
6 (AddressBookNoImplSEISoapBindingImpl) does not
7 implement the Service Endpoint Interface (SEI). The
8 server side implementation does contain methods that
9 correspond to the methods defined in the SEI.
10 The purpose of this test is to simulate a server side EJB
11 which will not implement the SEI, but will have methods that
12 match the SEI.
13
14 Step 1:
15 An AddressBook.wsdl and AddressBookNoImplSEISoapBindingImpl.java
16 files are provided.
17
18 WSDL2Java is run on AddressBook.wsdl to create the client side
19 artifacts and deployment data.
20
21 Step 2:
22 The generated AddressBookNoImplSEISoapBindingImpl.java is
23 replaced with the provided one that does not implement the SEI.
24
25 Step 3:
26 These files are compiled to ensure that the generated artifacts
27 and provided file are correct. In a normal scenario, we would
28 run the test at this point.
29
30 Step 4:
31 We now have a setup that simulates the setup for an EJB scenario.
32 Java2WSDL is run on the server implementation to make sure it
33 is possible to generate a wsdl file describing this service.
34
35 Step 5:
36 Prior classes and java files are deleted.
37 The only way to test the validity of the wsdl file produced in
38 step 4 is to run WSDL2Java on it.
39
40 Step 6:
41 Replace the generated server side implementation with the provided
42 one. Now we are ready to compile all the files and run the test.