• Post Reply 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Axis2 - error on client

 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a simple echo web-service, deployed it. There was big smile on my face for it was listed under "Available Service." in axis admin console.
I then ran wsdl2java and found the structure being created....



When I run ant on this build.xml i get following 2 errors.


org.apache.ws.axis2.<myservicestub>.Echo is not abstract and does not override abstract method serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean) in org.apache.axis2.databinding.ADBBean

org.apache.ws.axis2.<myservicestub>.EchoResponse is not abstract and does not override abstract method serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean) in org.apache.axis2.databinding.ADBBean


[ September 11, 2008: Message edited by: Akhilesh Trivedi ]
 
Akhilesh Trivedi
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[javac] Note: <myservicestub>.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
 
Akhilesh Trivedi
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will look into this, as of now.
this seems to be working. Thanks if anybody looked into it.
 
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!