users@jaxb.java.net

Forcing xsi:type for non element marshalling

From: <breadfan_at_gmx.de>
Date: Fri, 17 Nov 2006 15:35:32 +0100

In http://weblogs.java.net/blog/kohsuke/archive/2005/10/101_ways_to_mar.html
is described how to marshall a non element.

Is it possible to force the use of xsi:type by the Marshaller?

I need it to get a JAXWS Schema-based message validator working. Otherwise I will have to introduce senseless dummy elements in my xsd, which is used by the wsdl.

Greets
Chris
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer