| Author |
Callback related Error in Axis generated java code in stub
|
dhesh raj
Greenhorn
Joined: Dec 04, 2010
Posts: 3
|
|
Hi,
I tried converting a wsdl to java using Axis for deploying it as webservice. In the generated java class, I am getting an error in the stub class saying 'The method setCallBack in the type OperationClient is not applicable for the arguments(new AxisCallBack(){}) '.
The lines are as shown:
_operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() {
public void onMessage(org.apache.axis2.context.MessageContext resultContext) {
try {
.............and so on
});
Please let me know on resolving this issue.
Thanks.
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2549
|
|
|
Welcome to Javaranch. Please check your PMs
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
dhesh raj
Greenhorn
Joined: Dec 04, 2010
Posts: 3
|
|
Thank You Amit. I am stuck up with the callback error. Please help me in resolving this issue and in proceeding with the implementation further.
Thanks.
|
 |
 |
|
|
subject: Callback related Error in Axis generated java code in stub
|
|
|