This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Axis2 generating stub with errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Axis2 generating stub with errors" Watch "Axis2 generating stub with errors" New topic

Axis2 generating stub with errors

mvPrasad Regula
Ranch Hand

Joined: Sep 14, 2009
Posts: 42
I tried to generate the stub code using Axis2 and pasted it in netbeans. It is displaying errors. Here are the list of errors
1) addAnonymousOperations() --> Cannot find symbol

2) _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() {
--> method setcallback cannot be applied to class org.apache.axis2.client.OperationClient cannot be applied to given types.

3) dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){
--> EchoResponse is not abstract and does not override serialize method in ADBDataSource.

4) public getPullParser(javax.xml.namespace.QName qName) --> getPullParser in EchoStub.EchoResponse cannot implement getPullParser

Prasad Regula
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Please do no post the same message in multiple forums.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62127

"myPrasad Regula", please check your private messages for an important administrative matter.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Axis2 generating stub with errors