Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 55648 invoked by uid 500); 9 Jan 2002 15:13:39 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Delivered-To: moderator for axis-dev@xml.apache.org Received: (qmail 53342 invoked from network); 9 Jan 2002 15:11:40 -0000 Date: Wed, 09 Jan 2002 16:14:58 +0100 From: Christian Geuer-Pollmann To: dims@yahoo.com Cc: axis-dev@xml.apache.org Subject: Re: Axis and security Message-ID: <1275583688.1010592898@pinkpanther> In-Reply-To: <20020109144944.58479.qmail@web12806.mail.yahoo.com> X-Mailer: Mulberry/2.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Try the fix that i checked in just now. (get a fresh copy of xml-axis). The NullPointer has gone. But anyhow a question: I want to add the following namespace decl to the Envelope: xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12" I tried SOAPEnvelope env = ...; String SOAPSECNS = "http://schemas.xmlsoap.org/soap/security/2000-12"; env.addAttribute( org.apache.axis.Constants.NS_URI_XMLNS, "SOAP-SEC", SOAPSECNS); env.getAsDOM().setAttributeNS( org.apache.axis.Constants.NS_URI_XMLNS, "xmlns:SOAP-SEC", SOAPSECNS); but the ns decl doesn't show in the output, Any ideas? C.