Problems in generated CallbackHandler in client side
----------------------------------------------------

                 Key: AXIS2-1657
                 URL: http://issues.apache.org/jira/browse/AXIS2-1657
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: codegen
    Affects Versions: nightly
            Reporter: Deepal Jayasinghe


When I generate client side code it generates a CallbackHandler abstract class 
, but the issue with that is it does not have any abstract methods. So I think 
we should generate that class with abstract methods then user can easily 
understand what he needs to do. Sample CallBackHandler class is attached below;

public abstract class DateServerCallbackHandler {
    protected Object clientData;
    public DateServerCallbackHandler(Object clientData) {
        this.clientData = clientData;
    }
    public DateServerCallbackHandler() {
        this.clientData = null;
    }
    public Object getClientData() {
        return clientData;
    }
    public void receiveResultgetDates(
            com.mydomain.service.xsd.DateServerStub.GetDatesResponse param1) {
    }
    public void receiveErrorgetDates(java.lang.Exception e) {
    }
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to