This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Axis "BeanSerializer" for stand-alone applications

 
Sol Mayer-Orn
Ranch Hand
Posts: 311
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to use Axis BeanSerializer in a stand-alone application (converting between java objects & xml).
Example (assuming you have a "Customer" bean):

My question:
Can I *customize* this BeanSerializer, so as to control the XML output ?
For example:
- Configure xml namespaces
- Configure xml tag-names
(e.g. java field "Customer.surName" should be mapped to xml "< last-name >" ).

Does axis allow such customization (from a stand-alone app) ? Is it somewhere on the API ? Or can you configure it from a file (similar to wsdd) ?

Thanx.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic