Package org.wso2.carbon.wsdl2code.stub
Class WSDL2CodeServiceCallbackHandler
java.lang.Object
org.wso2.carbon.wsdl2code.stub.WSDL2CodeServiceCallbackHandler
WSDL2CodeServiceCallbackHandler Callback class, Users can extend this class and implement
their own receiveResult and receiveError methods.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlease use this constructor if you don't want to set any clientDataWSDL2CodeServiceCallbackHandler(Object clientData) User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called. -
Method Summary
Modifier and TypeMethodDescriptionGet the client datavoidauto generated Axis2 Error handler override this method for handling error response from codegen operationvoidauto generated Axis2 Error handler override this method for handling error response from codegenForCXF operationvoidauto generated Axis2 call back method for codegen method override this method for handling normal response from codegen operationvoidauto generated Axis2 call back method for codegenForCXF method override this method for handling normal response from codegenForCXF operation
-
Field Details
-
clientData
-
-
Constructor Details
-
WSDL2CodeServiceCallbackHandler
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.- Parameters:
clientData- Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.
-
WSDL2CodeServiceCallbackHandler
public WSDL2CodeServiceCallbackHandler()Please use this constructor if you don't want to set any clientData
-
-
Method Details
-
getClientData
Get the client data -
receiveResultcodegen
auto generated Axis2 call back method for codegen method override this method for handling normal response from codegen operation -
receiveErrorcodegen
auto generated Axis2 Error handler override this method for handling error response from codegen operation -
receiveResultcodegenForCXF
auto generated Axis2 call back method for codegenForCXF method override this method for handling normal response from codegenForCXF operation -
receiveErrorcodegenForCXF
auto generated Axis2 Error handler override this method for handling error response from codegenForCXF operation
-