Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis2 generating stub with errors

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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) org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){
--> EchoResponse is not abstract and does not override serialize method in ADBDataSource.

4) public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) --> getPullParser in EchoStub.EchoResponse cannot implement getPullParser
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do no post the same message in multiple forums.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic