Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Callback related Error in Axis generated java code in stub

 
dhesh raj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Javaranch. Please check your PMs
 
dhesh raj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!