From: Kreyßel, C. <Conny.Kreyssel@INTER-FORUM.DE> - 2011-08-04 08:21:18
|
Hello, im running into the same issue. I tested Roberts submited example on my local machine and its shows the same error. Has anyone checked this? Can we workaround this? Thanks. Conny > > Thanks Bill for your quick response .. > > You ask me to summarize my problem. > > I run in a problem while unmarshalling a Collection of JAXB Objects. The > specialty of this kind of object is that they include abstraction to > implement a XML-Choice. > > Yes the mashalling works fine. Also non-collections are making no > problems. > > The problem only occurres while unmarshalling collections. Unmarshalling > fails on server-side too, when a client sends a collection of this kind. > > > Attached to this post is an example maven project. It has 3 tests > included. > 1. invoking the service using a plain http client > 2. invoking the service using RESTEasy-Client-Framework; Accept-Header > to "application/json" > 3. invoking the service using RESTEasy-Client-Framework; Accept-Header > to "application/xhtml+xml" > > All 3 tests show, that marshalling is working. > Test number 3 fail with the message: prefix if is not bound to a > namespace > > For (rest)easy testing you can simply run the attached maven project: > mvn verify > > > Thank you in advance for your support! > > Robert Hempel |