Groups | Blog | Home


Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
March 2008
April 2008
May 2008
June 2008
all groups > dotnet web services enhancements > june 2004

change default encryption from token issuer
Posted by casey chesnut at 6/30/2004 7:31:50 PM
i'm working with the SecureConversation sample. i gave it a global.asax and on Application_Start, do this: //MOD ISecurityTokenManager stm = SecurityTokenManager.GetSecurityTokenManagerByTokenType(WSTrust.TokenTypes.U sernameToken); UsernameTokenManager userTokM = stm as UsernameTokenManager...more >>


Another GEM of a question relating to samples that came with Hands-On-Lab of WSE2.0 RTM
Posted by Softwaremaker at 6/30/2004 3:03:09 PM
To Sidd and Byron, Was wondering about the status of your checks on this post: news:OtjDKRYVEHA.1652@TK2MSFTNGP09.phx.gbl Please let me know the status as soon as you can. Need to do a demo soon ;) -- Thank you very much Warmest Regards, Softwaremaker +++++++++++++++++++++++++++++...more >>

HOL x509 Certificate problem
Posted by Ben Bloom at 6/30/2004 2:25:49 PM
I'm trying to go through the x509 exercises in HOLDEVL34 (Security and Policy) and I can't seem to register the server public.cer as they describe. In MMC->Certificates - Current User, I don't have a Other People folder. If I follow their instructions to open Internet Explorer, navigate t...more >>

URI Reference ID generation - wse
Posted by Stewart Bourke at 6/30/2004 11:51:32 AM
VS.NEt 2003, c#, wse1 I am generating a digitally-signed webservice call, and the body is getting an automatically-generated ID: e.g. <soap:Body wsu:Id="Id-cd698289-105b-4d97-baaf-1a67a444618c" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"> <DocumentSearch xmlns="http://ww...more >>

WSE performance problems.
Posted by roooger NO[at]SPAM xmsg.com at 6/30/2004 4:19:50 AM
I did some performance tests with a simple WebService. The WebService has no parameters and no return value. I measured the time that was needed for calling the WebService a 1000 times. Without WSE: 4.3 seconds With WSE: 7.0 seconds Am I doing something wrong, or is this a known problem? ...more >>

Looking for a recommendation
Posted by Jeff Key at 6/29/2004 2:04:47 PM
Hello, The authentication I built for an application with the TP no longer works in RTM (see message from a few days ago if you're interested). Rather than waste more time trying to fix what may not have been a good design in the first place, I'd like to see what those of you with more experie...more >>

Problem with x509 authentication
Posted by Stewart Bourke at 6/28/2004 6:53:25 PM
I am trying to consume a webservice which requires an x509 signature. When I make the call, I get an authentication error - and the only thing the service provider can tell me is there is a problem with the signature. The provider has also provided me with a soap trace of a message which passes...more >>

Action field of addressing (wsa:Action) is case sensitive ?
Posted by Kapil Sachdeva at 6/27/2004 4:15:01 PM
Hi guys: If somebody could confirm that wsa:Action value is case sensitive although I would be glad to know that either I am doing something wrong or there is a bug in WSE. Here is the scenario: I used wsewsdl2.exe to create a proxy(stub) for my webservice .... one of the method in my se...more >>



Surprised what RSACryptoServiceProvider class is doing in WSE !
Posted by Kapil Sachdeva at 6/27/2004 3:57:39 PM
Hi guys: I am surprised (actually disappointed) to see RSACryptoServiceProvider (& some others like TripleDES) class(es) in WSE2.0 (Microsoft.Web.Services2.Security.Cryptography ). Why would they be needed ?. These classes are part of .NET Framework.... I did some comparison and WSE one's do...more >>

how to remove the timestamp in WSE2
Posted by Tim Mackey at 6/25/2004 4:25:57 PM
hi,=20 i'm trying to do a completely time-insensitive implementation of = username tokens with WSE2.=20 i've had real difficulty trying to remove the timestamp filter. i got a = tip about how to do it in WSE1: SoapInputFilterCollection defaultInputFilters =3D WebServicesConfiguration.FilterCo...more >>

soap.tcp not available to non-admin users
Posted by Keith Patrick at 6/25/2004 3:08:52 PM
I tried opening a channel for a non-IIS-hosted app via new SoapSender(new Uri("soap.tcp://MyService")), but I got a security error. Things went away when I tried running it as an admin user. Is there a way to connect two services in a messaging connection without running as an admin? BTW: I'm ...more >>

UsernameTokenManager subclass's AuthenticateToken not called when message is signed
Posted by Jeff Key at 6/24/2004 4:15:15 PM
Consider the following: SoapEnvelope envelope = new SoapEnvelope(); UsernameToken token = new UsernameToken(username, CryptoUtil.Encrypt(password), PasswordOption.SendPlainText); envelope.Context.Security.Tokens.Add(token); DerivedKeyToken derivedKeyToken = new DerivedKeyT...more >>

How does this compile? (or, SoapReceivers.Add(Uri, SoapService)?)
Posted by Jeff Key at 6/24/2004 1:35:50 PM
I've been trying to debug a TP -> RTM issue and I've gotten to the point where I'm reviewing every line of code. One of these lines is particularly strange -- it shouldn't compile, but does. I'm calling the SoapReceivers.Add(Uri, SoapService) overload, which doesn't exist. The docs state, and ...more >>

how to make a web service exempt from WSE2 settings in a v.dir
Posted by Tim Mackey at 6/24/2004 12:51:40 PM
hi,=20 i have a web application configured and working with WSE2.=20 however, i have a web service (not WSE) in the same virtual directory = that gives errors about messages not conforming to the policy they are = mapped to. i am guessing this is because WSE is intercepting all soap = requests ...more >>

Error using WSE2.0 with Custom UsernameTokenManager
Posted by Jim at 6/23/2004 7:17:48 PM
I use WSE2.0 with a custom UsernameTokenManager (inherited from the = default) for webservice authentication. The username and password are = retrieved from a database in my overrided AuthenticateToken function as = shown in Handon Lab A (PasswordOption is SendHashed). My project is = running pe...more >>

Documentation isn't finished in RTM?
Posted by Jeff Key at 6/23/2004 4:41:24 PM
Does the member list of UsernameTokenManager really have seven "[To be supplied]" items? Hopefully this is a result of having a couple files from the TP littering my HD. (Yup, I uninstalled the TP before installing RTM.) Thanks -jk ...more >>

TimeOut - ThreadAbortException
Posted by darren NO[at]SPAM prairiefyre.com at 6/23/2004 2:18:24 PM
I'm getting an Unhandled Exception from WSE2 and I know it's related to a timeout problem but I'm not sure where to set the timeout expiry. Essentially if you take the Sample project "Microsoft WSE\v2.0\Samples\CS\QuickStart\TcpStockSoapReceiver" in the StockServiceRequestReceiver.cs class and...more >>

WS Security Question
Posted by John Jenkins at 6/22/2004 9:39:13 PM
Hi, Sorry I may have posted this earlier today. I am currently using WSE 1 sp1 to implement a username token solution with password digest. Part of my requirement is that when an exception is thrown the exception details must be added to the <detail> portion of the <SOAP:Fault>.. This is fine...more >>

Various unclear WSE 2.0 questions
Posted by news.chello.nl at 6/22/2004 8:15:14 PM
Hi, I've just started exploring WSE 2.0 and after completing the Hands-On Lab, which I downloaded from the corresponding MSDN site, I'm left with some unanswered questions which one of you guys have answers for. When using the soap.tcp channel, why do I have to specify a unique path AND a uniq...more >>

[ANN] soap.msmq transport
Posted by Roman Kiss [MVP] at 6/22/2004 6:13:05 PM
I just posted a WSE Custom Transport over MSMQ [1] Roman [1] http://www.codeproject.com/useritems/SoapMSMQ.asp ...more >>

Deployment Problem
Posted by Jim at 6/22/2004 11:24:30 AM
Dear Group, I am trying to deploy a comsumer of a web service. The operating system is Windows 2000. Its the old developer problem, its working on my development PC but not working on the production PC. The error I am getting is System.Security.SecurityException. Please supply a Fix Thanks...more >>

Extracting soap message info from SoapReceiver derived class
Posted by russ_goetz NO[at]SPAM sra.com at 6/22/2004 4:51:58 AM
Hello, I have a very simple SoapReceiver derived class that looks something like this: public class MyReceiver : SoapReceiver { override protected void Receive(SoapEnvelope e) { ... } } This class is in the same .aspx.cs code behind file as a WebForm class that I am...more >>

CustomXmlSecurityToken > For WS-Trust
Posted by Softwaremaker at 6/21/2004 9:24:30 PM
Hiya Fellows, I apologize for posting this again BUT I am rephrasing my question so that it is better understood since I am not really getting much help. I am looking at CustomXmlSecurityToken code samples that came with WSE2RTM. All worked fine as out of the box [Question1] I replace...more >>

Ws-Federation implementations !!!
Posted by Kapil Sachdeva at 6/21/2004 5:21:59 PM
Hi guys, I did extensive search on google to find if there are implementation of WS-Federation spec.... but could not find one ... if some one has idea regarding this it would be great. Regards & thanks Kapil ...more >>

WSE 2.0 Custom Authentication
Posted by Greg at 6/21/2004 11:20:32 AM
I would like to implement custom authentication using WSE 2.0 . I have downloaded the HOL but all the examples seem to use a windows authentication system which is not possible for me. My thought would be to override the "AuthenticateToken" method (similar to what is in the WebSecurityHelper.c...more >>

Buglet for wsewsdl2: "Specified cast not valid" message
Posted by Mickey Williams at 6/21/2004 11:14:20 AM
If you have an asmx web service that allows http get/post in your config: <webServices> <protocols> <add name="HttpGet" /> <add name="HttpPost" /> </protocols> ... The wsewsdl2 tool fails with a bad cast message: Microsoft (R) WSDL to SoapClient Utility [Microsoft (R) WS...more >>

manually building security elements
Posted by Stewart Bourke at 6/21/2004 11:00:02 AM
I am consuming a webservice that does not conform with the wse standards - and therefor I may need to roll my own security stuff to add the x509 signature. I am aware that the facilities in wse (1 and 2) allow me do all of this signature stuff automatically, but if I had to roll my own soap he...more >>

WSE 2.0 Instant Notifications
Posted by jivtesh_singh NO[at]SPAM yahoo.com at 6/21/2004 3:14:23 AM
i was thinking of a way to implement Instant Notifications using the new messaging features. Idea is to send a packet async to a winforms app on a client machine. i think this would be possible setting up a TCP listener on Client Machine Winforms Application. soap.tcp://IPADresss/SoapService ...more >>

Reading Security Headers from a custom filter
Posted by Jamie Burkholder at 6/20/2004 8:55:04 PM
Trying to read the wsse:security element from within a custom filter (input-processmessage). Doesn't appear as if this element is being passed in the envelope.Header xmlelement. Is this information not being passed by design and is there any way to retrieve the username? Thanks ...more >>

WSE 2.0 Config Editor Bug
Posted by Curt Hagenlocher at 6/20/2004 7:43:00 AM
Where's the best place to report problems in WSE? Using Reflector, I've confirmed what appears to be a bug in the WSE 2.0 Configuration Editor when running under Windows 2000. When defining a new security policy in the Security Settings wizard, it is impossible to select an X.509 certificate....more >>

tracing
Posted by Stewart Bourke at 6/19/2004 2:24:45 PM
i have enabed tracing in the config file for inut and output. Everything traces fine if the connection is made to the server, but if the connection is not successful, I see nothing in the trace file. Is there any way I can trace the soap message before the attemtp is made to connect to the serve...more >>

Another GEM of a question relating to samples that came with Hands-On-Lab of WSE2.0 RTM
Posted by Softwaremaker at 6/19/2004 6:30:38 AM
Hello again, The Hands-On-Lab of WSE2 RTM came with an example of SecureRouting where they combine WS-Policy with SOAP Routing. Everything worked fine for the examples and samples. However, it only works for PasswordOption.SendPlainText for the usernametoken and it therefore uses the Window...more >>

cannot generate a proxy for the .ashx file in the customXmlSecToken sample.
Posted by Jagdeep at 6/18/2004 3:17:34 PM
Hi I am getting a error trying to generate a proxy for a virtual file that is in the customXmlSecToken sample (installs with the WSE 2.0 setting tool). The error is "The WSDL doccument contains links that could not be resolved. - There was an error downloading http:\\schemas.xmlsoap.org/...more >>

Detect WSE2 RTM and WSE2 TP?
Posted by Martin at 6/18/2004 1:46:48 PM
Hi, Can anyone recommend a reliable mechanism for the detection of WSE2 RTM being installed on a PC? For example, are there certain installed files and/or registry settings that exclusively indicate WSE2? I intend to implement the check in VBScript. Further, how can we distinguish betwee...more >>

WS-Eventing Release Date
Posted by russ_goetz NO[at]SPAM sra.com at 6/18/2004 12:01:06 PM
Could anyone give me some insight as to when the expected release data would be of a new WSE library that incorporates the WS-Eventing spec? Thanks, Russ...more >>

CustomXMLSecurityToken sample
Posted by jagdeepsahdeva NO[at]SPAM hotmail.com at 6/16/2004 7:32:26 PM
Hi I am trying out the CustomXMLSecurityToken sample (installs with the WSE 2.0 settings tool). In the config file for the CustomXMLSecTokenCodeClient the appSetting tag contains an entry for an .ashx file (ASP.NET HTTP Handler). The file that it looks for is requestXMLServer.ashx file. This...more >>


DevelopmentNow Blog