Skip to main content

Preventing JAXB Marshaller to write namespace declarations

2 replies [Last post]
venu
Offline
Joined: 2003-10-22

Hello JAXB team,

I want to avoid JAXB marshaller to write couple of namespace declarations that I know will be declared i,e these namespaces will be inscope when the complete Message is constructed.

eg:

.....
.....

I will be marshalling Header1 Header 2.

Thanks,
Venu

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sebastiankirsch
Offline
Joined: 2005-06-24

Hi Venu!

Did you get any feedback? Or did you write your own serializer?

Thanks,
Sebastian

kohsuke
Offline
Joined: 2003-06-09

Please use http://forums.java.net/jive/forum.jspa?forumID=46 for JAXB/WS questions like this.