File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Using Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using Axis "BeanSerializer" for stand-alone applications" Watch "Using Axis "BeanSerializer" for stand-alone applications" New topic
Author

Using Axis "BeanSerializer" for stand-alone applications

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Axis "BeanSerializer" for stand-alone applications
 
Similar Threads
Who didn't use SLSB for DAO?
How to dump the XML with BeanSerializer?
Axis fault: java.io.IOException: No serializer found for class
Getting exception serialization error: java.lang. NullPointerException
axis2 and XSD2Java