In the flex app (without BlazeDS), I send an arrayCollect开发者_运维百科ion to Java using a webservice.
And I get this error:
ClassCastException: com.sum.org.apache.xerces.internal.do.ElementNSImp l cannot be cast to MyValueObject
How can I retrive the properties from ElementNSImpl?
The error is given when, from flex, I send and arraycollection type MyValueObject, through a webservice, so on Java I have the VO of the same type, and with the same properties (all strings), I receive it as ArrayList and I try to cast.
Then I obtain the class cast exception. I don't know how to retrieve the objects from the arraylist and I don't know why it was converted into an ElementNSImp object.
精彩评论