cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro and XML

Former Member
0 Kudos

Hallo @all!!

I would like to process xml-file with Web Dynpro. That means it should be possible to create a xml-file and save them. Then from this xml I would like to generate a input-form with a stylesheet, so a user could insert his data and save them to a new xml-file. How could I do that? Should I work with beans and jsp`s? Could I integrate the beans and jsp`s in my Web Dynpro Application? If so, how could I do that? Is there any HOW TO around this issue?

A lot of questions, I know, but I hope someone could help me!!

Greetz

Roman

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

U can use JAXB for your problem.

These APIs from SUN can be used to generate XML documents.

And also u can make EJB as model of Webdynpro application.

Former Member
0 Kudos

Not sure if I understand your use case correctly, but it seems that you like processing XML

You can use some configuration data (that might be stored as XML) to programmatically create your views (forms). To do so , the configuration data must be accessible from within the method wdDoModifyView() of the view controller.

The data inserted by the user are automatically stored in context elements so if you want to convert them to XML, you must traverse the context and serialize it into XML.

But why do you want to do this at all?

Armin