Date: 2006-09-12 12:51 |
Priority: 5 |
Submitted By: Darren Middleman (darrenmiddleman) |
Assigned To: Nobody (None) |
Category: runtime |
State: Open |
Summary: EventDataReader throws ClassCastException when handling an anyType |
Detailed description:
In a WSDL which has an operation with an anyType parameter, a
ClassCastException is thrown when an EventDataReader reader tries to read an
anyType object from a Stax event:
Exception in thread "main" java.lang.ClassCastException: java.lang.Class
at
org.objectweb.celtix.bus.jaxws.io.EventDataReader.read(EventDataReader.java:44)
at anytypetest.AnyTypeTester.main(Unknown Source)
I've attached a small test case which uses the EventDataWriter to marshal an
object into a Stax event sequence and then uses the EventDataReader to try and
unmarshal the object back from Stax.
Add A Comment:
|
|
Followup
No Followups Have Been Posted |
Attached Files:
Name |
Description |
Download |
AnyTypeTest.tar.gz |
Testcase to show ClassCastException with an anyType |
Download |
| |
Changes:
Field |
Old Value |
Date |
By |
File Added | 699: AnyTypeTest.tar.gz | 2006-09-12 12:51 | darrenmiddleman | | |