Results 1 to 2 of 2

Thread: XMLBeans ClassCastException - Still ;(

  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Default XMLBeans ClassCastException - Still ;(

    Hi all,

    Sorry to repeat this issue as it was brought up before, but I am still getting a ClassCastException on org.apache.xmlbeans.impl.values.XmlAnyTypeImpl when I try to cast in the AbstractMarshallingPayloadEndpoint. I have tried (and scrubbed the libraries between each trial and binding) the xmlbeans that comes with Spring 2.5 WS and the XMLBeans 2.4 (both build and app used same jars when testing). No matter the jar I used for binding, the main document impl class extends org.apache.xmlbeans.impl.values.XmlComplexContentI mpl (from the src code from binding). Thus, the XmlAnyType is a cast issue. I am stumped on this one...anyone have suggestions? I have read where others said it worked out of the box, but that isn't happenign for me. NOTE: I am not using an adapter...just the endpoint marshaller abstract class that produces the XmlAnyTypeImpl classtype..

    Any info would be great..

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Can you give the stack trace? That might help...
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •