axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Axis and security
Date Wed, 09 Jan 2002 17:47:27 GMT
Can you send me the latest code?

Thanks,
dims
--- Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de> wrote:
> > 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.


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Mime
View raw message