axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Geuer-Pollmann <geuer-pollm...@nue.et-inf.uni-siegen.de>
Subject Re: Axis and security
Date Wed, 09 Jan 2002 15:14:58 GMT
> 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.

Mime
View raw message