Namespaces

Hi I’m trying to implement web services with Ruby using WS-Security.
I added to the header the Username and Password and the webservices
receive the following:

<?xml version="1.0" encoding="utf-8" ?>

<env:Envelope xmlns:xsd=“http://www.w3.org/2001/XMLSchema
xmlns:env=“http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
env:Header
<n1:Security xmlns:n1=“Web Services Security Policy Language (WS-SecurityPolicy)
env:mustUnderstand=“0”>
n1:UsernameToken
n1:Passwordbupbup</n1:Password>
n1:Usernameblavla</n1:Username>
</n1:UsernameToken>
</n1:Security>
</env:Header>
env:Body
<n2:Hello xmlns:n2=“urn:ActionWebService”
env:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”>
Cicciolina Nmber One
</n2:Hello>
</env:Body>
</env:Envelope>

Is not bad but checking the WS-Security specifications is suppose I
should have something like:

<wsse:Security xmlns:wsse=“http://schemas.xmlsoap.org/ws/2002/12/
secext/” env:mustUnderstand=“0”>
wsse:UsernameToken
wsse:Passwordbupbup</n1:Password>
wsse:Usernameblavla</n1:Username>
</wsse:UsernameToken>
</wsse:Security>

But I don’t know how to set the namespaces to don’t use the default
n1 :confused:

Any suggestion?

Thanks

Raffaele