Sample XML:

<Environment>
<Transport>
                        <Host>10.2.43.22</Host>
</Transport>
<QueueInfo>
                        <QName>SampleQueue</QName>
</QueueInfo>
</Environment>


I need to map Host and QName to the methods in one java class? I am not sure how to map all the required elements to one Java object.

I was able to map to one java class if there was no Transport and QueueInfo elements.  Can any one help to map this?

thanks
-suresh

Reply via email to