ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Jakob Skovenborg <>
Subject Re: Marshall SOAP envelope
Date Thu, 27 Nov 2003 15:36:10 GMT
Now I solve my own problem, but to others help

The XML DOM object I return in the Soap Body, are used in an other case
where I'm serializing it using javax.xml.transform.Transformer. It does not
add the xmlns namespacedeclaration attribute, why i'm adding it myself in
the DOM object.
My solution is to use the org.apache.soap.util.xml.DOM2Writer (used by the
Body.marshall() method) to serialize the DOM object in th non Soap case.

But actualy I think the DOM2Writer should recognize that the namespace
declaration allready have been done.

View raw message