This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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
Rancher

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

Let's continue the discussion in this duplicate thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to generate Java Annotations using Apache Axis