WSE 2.0

Hi, All.
I had installed WSE 2.0 in my PC.
Now, I want to add TimeStamp and Security Token in Client application.
I try this:




'...
Dim sProxy As New HW.Service1Wse
sProxy.RequestSoapContext.Security.Timestamp.TtlInSeconds = 60
'....
sProxy.RequestSoapContext.Security.Tokens.Add(token)
sProxy.RequestSoapContext.Security.Elements.Add(New MessageSignature(token))
'....other code



 







But, It does't work.
It said...System.Web.Services.Protocols.SoapHeaderException: does't recogniz
SOAP header Security。
Can I add other security in the same time for example, Time Stamp, Token,
X509Signing and Encryption





Answer this question

WSE 2.0

  • Peteg

    Can you provide some more information about what you are trying to do
    Are you communicating with a WSE service
    Can you provide the full stack trace
    At what point does it fail exactly, on the call to the service from the proxy

    Thanks.
    Mark Fussell
    WSE Program Manager

  • zzipp

    Thank you.
    I have many questions in wse 2.0, first of all,
    I want to use two or more types of wse(xml signature, xml encryption
    ) in the same time.

    Could WSE 2.0 make it


  • Lcode

    Yes, you can both encrypt and sign XML message in order to secure message.
    Your best bet is to look at the Quickstart samples to see how this is done and to read the product documentation.

    Also WSE 3.0 has is going to be released on Monday 7th Nov 2005 and this makes security easier is many scenarios.

    thanks, Mark
    WSE Program Manager



  • WSE 2.0