Re: SecurityTokenReference

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Felix,

You can do it with Microsoft WSE.
There are many kinds of security token (UsernameToken, Kerberos, SAML, X509,
etc) that you can send to a service secured with WS-Security. Microsoft WSE
supports most of them, but you have to be sure about what kind of token the
service is expecting.

Regards,
Pablo.



"F.Mondelo" <felixmondelo@xxxxxxxxx> wrote in message
news:1161782295.100548.47360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I need to send the next security header to a java application from a
..Net WS Client:

<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
<wsse:SecurityTokenReference>
<wsse:Reference ValueType="xxxxx">reference_value</wsse:Reference>
</wsse:SecurityTokenReference>
</wsse:Security>

I can´t do this in code (I only get it loading a XML Document with
previous xml code on Security object). Someone knows how do this?


.