README revision ada1678a4262b208a7b87391f520a7767d25287c
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonThis test case has :
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson--------------------
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsA simple webservice returns the sum of two integers. This is bundled as a
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssonservlet inside a WAR file. This WAR file is included in the service assembly
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssonand is deployed by the JavaEE Service Engine.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonA simple servlet (with jbi_enabled=true) to access this web service
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsA simple java client to invoke this servlet
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsThe test case uses:
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews------------------
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsJava EE Service Engine as the consumer.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonJava EE Service Engine as the provider.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsclient <----> servlet <-----> JavaEE SE <-----NMR------> JavaEE SE <------> webservice
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonExpected result:
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson----------------
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonThe Java EE Service Engine should successfully deploy the service unit.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonJava client should be able to successfully invoke the webservice and get
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssonthe sum of two numbers.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson