detail.php
OW2 Forge: Detail: 306157 EventDataReader throws ClassCastException when handling an anyType

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Celtix ESB
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #306157 ] EventDataReader throws ClassCastException when handling an anyType

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:

Please login

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 Added699: AnyTypeTest.tar.gz2006-09-12 12:51darrenmiddleman

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials