With a MessageHandler you can see the SOAP Message too.
Look here:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/headers-handlers....
In a JSR-181 endpoint you can user the @HandlerChain annotation
| @HandlerChain(name = "handlerChain", file =
"resource://META-INF/handler.xml")
handler.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <handler-config>
| <handler-chain>
| <handler-chain-name>handlerChain</handler-chain-name>
| <handler>
| <handler-name>MessageHandler</handler-name>
| <handler-class>package.MessageHandler</handler-class>
| </handler>
| </handler-chain>
| </handler-config>
|
and the Class:
public class FeatureScanMessageHandler extends GenericHandler{
|
| public FeatureScanMessageHandler(){
| }
|
| public boolean handleMessage(SOAPMessageContext messageContext) {
| return true;
| }
|
| public boolean handleResponse(MessageContext context) {
| return true;
| }
|
| public QName[] getHeaders() {
| return this.getHeaders();
| }
|
| public boolean handleFault(MessageContext msgContext) {
| return true;
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996293#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...