Que: How can I interact with security amendments in a SOAP envelop
- From: "Lars" <Lars@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jul 2005 01:43:03 -0700
I’ve been dealing with a problem regarding modifying and retrieving fields
to/from the SOAP envelope.
In my test application I run the service and the client app on the same
machine. Filters are used to manipulate the message.
Two major questions:
On the client side; when I add security to my SOAP message, I can catch it
with SOAP Toolkit, but I can’t get access to the fields within the filter to
modify it (I’ve tried to use filter inherited from both SecurityOutputFilter
and TraceOutputFilter. It seems that my adding of for example UsernameTokens
is added after I have a possibility to modify it. Trying to save to a file
with “envelope.Save” doesn’t give any info about the security amendments.
On the server side; when I debug my service app in the WebMethod, the
context shows for example a valid cipher value given by
“((Microsoft.Web.Services2.Security.SecurityElementCollection)(((Microsoft.Web.Services2.Security.Security)(soapCntxt.Security)).Elements))._elements._items[0]._cipherData.CipherValue”,
but is there a way to retrieve the value with appropriate methods?
Platform and tools:
Windows XP Pro, SP2
Dot Net Framework 1.1
Visual Studio .Net 2003
WSE 2.0
MSSoapT
SOAP Toolkit, version 3
Any hint would be highly appreciated,
/ Lars
.
- Prev by Date: Re: Bypass WSE security using a HttpWebRequest?
- Next by Date: Re: WSE Encryption with KerberosTokens (what algorithm?)
- Previous by thread: Re: Bypass WSE security using a HttpWebRequest?
- Next by thread: Vendor information
- Index(es):
Relevant Pages
|