aspose file tools
The moose likes Web Services and the fly likes Callback related Error in Axis generated java code in stub Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Callback related Error in Axis generated java code in stub" Watch "Callback related Error in Axis generated java code in stub" New topic
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
    
    2

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Callback related Error in Axis generated java code in stub
 
Similar Threads
Axis fault
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized while invoking the webservice
org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request
Help on JAX WS
EWS : Transport error: 401 Error: Unauthorized