Author: dblevins
Date: Sat Feb 18 20:58:45 2012
New Revision: 1290866
URL: http://svn.apache.org/viewvc?rev=1290866&view=rev
Log:
Added to index. Fixed up some h2 titles to add keywords. Renamed example dir
TOMEE-139
Added:
openejb/trunk/openejb/examples/webservice-handlerchain/
- copied from r1245862,
openejb/trunk/openejb/examples/webservice-handlers/
Removed:
openejb/trunk/openejb/examples/webservice-handlerchain/src/test/resources/
openejb/trunk/openejb/examples/webservice-handlers/
Modified:
openejb/trunk/openejb/examples/index.md
openejb/trunk/openejb/examples/webservice-handlerchain/README.md
Modified: openejb/trunk/openejb/examples/index.md
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/index.md?rev=1290866&r1=1290865&r2=1290866&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/index.md (original)
+++ openejb/trunk/openejb/examples/index.md Sat Feb 18 20:58:45 2012
@@ -71,6 +71,7 @@ Notice: Licensed to the Apache Softwa
### Web Services
- [simple-webservice](simple-webservice/README.html)
+ - [webservice-handlerchain](webservice-handlerchain/README.html)
- [webservice-attachments](webservice-attachments/README.html)
- [webservice-inheritance](webservice-inheritance/README.html)
- [webservice-security](webservice-security/README.html)
Modified: openejb/trunk/openejb/examples/webservice-handlerchain/README.md
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-handlerchain/README.md?rev=1290866&r1=1245862&r2=1290866&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-handlerchain/README.md (original)
+++ openejb/trunk/openejb/examples/webservice-handlerchain/README.md Sat Feb 18
20:58:45 2012
@@ -32,7 +32,7 @@ First we'll start with our plain `@WebSe
Here we see `@HandlerChain` pointing to a file called `handlers.xml`. This
file could be called anything, but it must be in the same jar and java package
as our `Calculator` component.
-## The handlers.xml file
+## The <handler-chains> file
Our `Calculator` service is in the package `org.superbiz.calculator.wsh`,
which means our handler chain xml file must be at
`org/superbiz/calculator/wsh/handlers.xml` in our application's classpath or
the file will not be found and no handlers will be used.
@@ -61,7 +61,7 @@ The order as you might suspect is:
- `Inflate`
- `Increment`
-## The handler implementation
+## The SOAPHandler implementation
Our `Inflate` handler has the job of monitoring *responses* to the `sum` and
`multiply` operations and making them 1000 times better. Manipulation of the
message is done by walking the `SOAPBody` and editing the nodes. The
`handleMessage` method is invoked for both requests and responses, so it is
important to check the `SOAPBody` before attempting to naviage the nodes.