geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <>
Subject [jira] Created: (GERONIMO-2947) Axis2 - a few improvements to support handlerchain
Date Fri, 09 Mar 2007 20:06:09 GMT
Axis2 - a few improvements to support handlerchain

                 Key: GERONIMO-2947
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0
         Environment: winxp + sun 1.5 SDK
            Reporter: Lin Sun
             Fix For: 2.0


This is a working-in-progress patch that contains the following improvements to the handlerchain

1) updated the handlerchain test and a few other handler improvements Jarek did recently for
2) add a Axis2Util class to help getting serviceQName, portQName and EndpointDescription from
3) add missing license statements in different files.
4) Provide an PortInfoImpl class...this is a temp solution.  Need to use the PortInfoImpl
class from Axis2 and ask Axis2 to make the contructor public (will log an axis2 jira on that).
5) Create a BindingImpl object and set the handlerchain on it, passed the BindingImpl object
to Axis2 by 

msgContext.setProperty(JAXWSMessageReceiver.PARAM_BINDING, binding);

but I still don't see the handleMessage below got called by Axis2 when running jaxws-war:

    public boolean handleMessage(SOAPMessageContext smc) {
        System.out.println(this + " handleMessage(): " + greeting);
        return true;

I expect to see a 

org.apache.greeter_control.GreeterHandler@2a6e6c handleMessage(): Hello

after the post construct of the handler.   Comments/suggestions are welcome and needed!:-)


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message