aspose file tools*
The moose likes Tomcat and the fly likes how to generate Java Annotations using Apache Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

how to generate Java Annotations using Apache Axis

wahed khan
Greenhorn

Joined: Nov 09, 2007
Posts: 3
Using Apache Axis iam doing wsdl2java (my wsdl have xsd reference).
I am able to generate the stubs, skeletons, serializable java beans.

I receive input as java objects and need to marshall them into XML that is to be passed to some other application.

I am using JAXB to do marhsalling of java objects to XML.

JAXB requires that the java beans must have annotations @XmlElement(name="fieldName")

The java beans that are generated using Axis doesn't have annotations.
Is there a way by which i can get annotations for the java beans generated through Axis?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to generate Java Annotations using Apache Axis