|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Sample program to convert XML to Java Bean using MQ API |
« View previous topic :: View next topic » |
Author |
Message
|
mca |
Posted: Thu Jul 28, 2005 6:38 am Post subject: Sample program to convert XML to Java Bean using MQ API |
|
|
Disciple
Joined: 09 Mar 2005 Posts: 196
|
Hi all,
I am working on the UPES Framework where i convert the workflow generated XML message to a Java Bean and retrieve the data field values. I tried looking at samples provided by IBM but it doesnot have Bean involved in it. They worked directly on the XML message. Does anyone have sample(s) code for converting the XML message to Java Bean using the MQ API ?
Thanks in advance. |
|
Back to top |
|
 |
mca |
Posted: Mon Aug 01, 2005 6:07 am Post subject: |
|
|
Disciple
Joined: 09 Mar 2005 Posts: 196
|
Hi all,
I thought there might be some people using UPES Framework where we convert XML to Java Bean, which is easy to parse. If anyone, please reply me with some sample program which might help me a lot in Bean conversion. Thanks
MCA |
|
Back to top |
|
 |
JLRowe |
Posted: Mon Aug 01, 2005 9:05 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
gYou need to look at a xml binding framework, there are many aroundfor java: XMLBeans, castor, JAXB, google around.
You will need to feed in the schema of a UPES message, with the addition of your application data structures. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|