Ralf,
Thanks for your reply.

I am having xs:anyType from the xsd. How to use getter method for that in
Java. I am using like this..

envelope.getBody() .getExceptionInfo() .getError_Msg() 

and I am getting it as an xml with node and data in it. Could you please
help me on this, how can I get only data.

Thanks Kiran

Ralf Joachim-2 wrote:
> 
> Kiran,
> 
> take a look at: http://castor.codehaus.org/how-to-map-a-list-at-root.html
> 
> Ralf
> 
> castor-dev schrieb:
>> Hi,
>> 
>> I am struggling to read repeated nodes after unmarshalling an xml file.
>> The
>> node I need to read as follows.
>> 
>>             <EventProperties>
>>                 <EventProperty>
>>                       <Field>a</Field>
>>                       <Value>1111</Value>
>>                 </EventProperty>
>>             </EventProperties>
>> 
>> There may be more EventProperty nodes under EventProperties. Please help
>> me
>> how to get those Field and Value after unmarshalling. I have appropriate
>> getter methods available. Is there any looping to be placed?
>> 
>> Thanks Kiran
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-read-repated-nodes--Please-help-me-on-this-tf4694229.html#a13428710
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to