When marshalling, we'd like to see the namespace mapping all defined at the root element and each of the elements referring to the namespace by its prefix. Instead, the elements each refer to the namespace and add an ns# to be used as a prefix for that element.
Example ActualResults:
Example ExpectedResults:
I've unsuccessfully tried the following when marshalling:
Marshaller m = context.createMarshaller();
m.setRootElement(message.getClass().getSimpleName());
m.setUseXSITypeAtRoot(true);
m.setNSPrefixAtRoot(true);
m.setNamespaceMapping("pfx1", "http://...Item1");
m.setNamespaceMapping("pfx2", "http://...Item2");
My apologies if this question has already been answered.
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

