Hello,

I could use some help in creating the correct Soap security header for
the web service I need to connect to.
I'm not very familiar with Axis2 & Rampart yet, but still learning.

I'm needing to create a client that will produce a header that looks like this:

<soapenv:Header>
 <wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext";
soapenv:mustUnderstand="1">
   <wsse:UsernameToken>
     <wsse:Username>*****UsernameHere*****</wsse:Username>
     <wsse:Password>*****PasswordHere*****</wsse:Password>
   </wsse:UsernameToken>
 </wsse:Security>
</soapenv:Header>

As I played with the examples in Rampart 1.1 and using SoapMonitor, I
noticed that they produce a header with this UsernameToken namespace
instead:

xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd

1) Is there way to "force / configure" Axis2 & Rampart to use this
older namespace instead?
2) If not, what products should I be using instead (ie: older axis? I hope not)
3) Any examples would be greatly appriciated...

(yes, the the web service docs say that I will need to "force" the
namespace to the 2003/06 version)

Thanks,
Erwin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to