jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes Axis2 -   error on client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 -   error on client" Watch "Axis2 -   error on client" New topic
Author

Axis2 - error on client

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
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 ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
[javac] Note: <myservicestub>.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
Will look into this, as of now.
this seems to be working. Thanks if anybody looked into it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 - error on client
 
Similar Threads
Web Services using AXIS 2
How can i access/instantiate this class which has no constructor?
org.apache.axis2.AxisFault: http
org.apache.axis2.AxisFault: http
WebService Client - Unexpected SubElement Exception