Yes, you can use WS-SecureConversation, which is supported by WSE 2.0.
I recommend you start with the sample provided in the WSE 2.0 Quickstart
samples. It shows how a service consumer can request a SecurityContextToken
and then use that token to sign and encrypt messages. It also shows how a
service can provide a RequestSecurityTokenResponse automatically if the
RequestSecurityToken is valid.
Regrettably, the sample (as many others) make heavy use of X.509
certificates. If you want to stick to just usernames and passwords, check
out the recent thread "Removing x509 certs from SecureConversationCode
sample, Is this the right way?"
HTH,

Signature
Sven
> I am building a Web application that makes calls out to our app server
> via Web Services calls.
[quoted text clipped - 11 lines]
> Thanks!
> BCOT.
Jeffrey Hasan - 03 Aug 2004 22:58 GMT
Secure conversation will certainly work, but it may be overkill for what you
are trying to accomplish. It sounds like you may only be looking for digital
signing, without encryption. Have you thought about setting up HTTP/S on
your app server, and thereby requiring that all calls to it must be run over
HTTP/S? This approach may be more expensive than your own homegrown secure
conversation solution, if you decide to purchase a certificate. But if you
are using Windows Server 2003, it can serve as a Certificate Authority, and
you can generate your own trusted certificates.
A separate approach would be to cache a username token in the Web service,
so that at least you don't have to keep regenerating it, although you will
continue to need to assign it.
Given the various options, I would say the best choices are secure
conversation, versus HTTP/S. But this is just my opinion.
Jeffrey Hasan, MCSD
President, Bluestone Partners, Inc.
-----------------------------------------------
Author of: Expert SOA in C# Using WSE 2.0 (APress, 2004)
http://www.bluestonepartners.com/soa.aspx
> Yes, you can use WS-SecureConversation, which is supported by WSE 2.0.
>
[quoted text clipped - 26 lines]
> > Thanks!
> > BCOT.