users@jaxb.java.net

JAXB and xsd:any values

From: Alejandro Escalante Medina <alex.escalante_at_gmail.com>
Date: Thu, 2 Apr 2009 18:40:24 -0800

Hello guys, I am working with jax-ws and jaxb to implement WS-I Notification
services.

Everything seems to be working except for a small but important problem:

The WS-I Notification schema specification defines the Message element as
being able to contain <any> content. I understand that can be any
well-formed xml. However, when unmarshaling inside my web service, the
getAny() method for the message object comes out null every time...

Any ideas?

The xsd for WS-I Notification is here:

http://docs.oasis-open.org/wsn/b-2.xsd

I am using this command line to generate types:

xjc.sh http://docs.oasis-open.org/wsn/b-2.xsd


Thanks in advance...

Alejandro Escalante Medina
Visita mi página personal en http://weblocked.blogsome.com/