ClasscastException - XmlAnyTypeImpl cannot be cast to - Error

pattabi <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Hi,
I searched the forum and googled but could not get a solution. hence posting
it.

I am using Spring Marshaller with xmlbeans 2.4. In the bean config file, I
am just defined the XmlbeansMarshaller with no properties set.

I am accessing it this way:
ResDecisionServiceType  response = (ResDecisionServiceType)
unmarshaller.unmarshal(source);

and am getting the following error:
org.apache.xmlbeans.impl.values.XmlAnyTypeImpl cannot be cast to
decisionserviceapp.ResDecisionServiceType. 

Please help.
Thanks


-- 
View this message in context: http://old.nabble.com/ClasscastException---XmlAnyTypeImpl-cannot-be-cast-to---Error-tp26375379p26375379.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.