File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 - error on client

 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • 0
  • 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: 1599
  • 0
  • 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: 1599
  • 0
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic