You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alexander Rosemann <al...@gmail.com> on 2009/11/09 16:21:02 UTC

AXIOM - remove namespace

Hi,

I'm trying to remove a namespace from a SOAPBody element. Unfortunately, 
without any luck so far. Here is what I do:

OMElement request = ...
OMNamespace ns = OMAbstractFactory.getOMFactory().createOMNamespace("", "");
request.declareNamespace(ns);

Though, when I print the request the namespace is still the there.

Thanks in advance,
Alex