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 > august 2005

Filter by week: 1 2 3 4 5

Microsoft.Web.Services2.Security.X509.X509Certificate contructor
Posted by Owen Corpening at 8/31/2005 3:58:23 PM
I am passing in a byte array, but the wrong method is getting invoked. However if I initialize the array manually it calls the right one! Object reference not set to an instance of an object. at System.Security.Cryptography.X509Certificates.X509Certificate.BuildFromConte xt(IntPtr handle) ...more >>


check certification path and CRL
Posted by mk at 8/31/2005 10:36:02 AM
When SOAP message is digitally signed, does WSE automatically check the certification path and if the certificate has not been revoked? Can this be accomplished by simply what is in the certificate store, or does custom code need to be written?...more >>

Problem installing WSE 3.0 Beta
Posted by Johnsp at 8/31/2005 9:40:11 AM
I just tried to install the WSE 3.0 Beta. I have VS2005 beta 2 installed. The installation is on WinXP Pro. The error I am receiving is: Product: Microsoft WSE 3.0 -- Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish ...more >>

X509 Certificate Help
Posted by syed javid at 8/31/2005 3:09:04 AM
Hi, I have little confusion about using X509 Certificates. I work with Signing of SOAP Message with Private Key (.PFX) having stored at Root Store in Current user at Client Side and Public Key (.CER) at Local Machine Root Store at Server Side it works. But I have problem when doing both Si...more >>

Working with web services references in code
Posted by Manfred Gloiber at 8/31/2005 12:00:00 AM
Hello, how do I work with WSE object references in code? Do I need to create a new instance of the used Web Service each time I want to call a WSE method or can I create one instance and the underlying proxy opens and closes the connection to the WSE Web Service when required (read: wheneve...more >>

AfterSerialize firing twice??
Posted by Tina at 8/31/2005 12:00:00 AM
We have a web service that's been returning a SoapException stating that 'Object reference not set to an instance of an object.'. Unfortunately, it's only doing it in one particular environment. We set up a SoapExtension to trace the messages, ala information at this article (http://msdn.microsoft....more >>

wse ap.config
Posted by Kevin Earley at 8/30/2005 4:37:57 PM
put this in my app.config, nut still cannot add large attatchments, is there a trick or something to get the app.config read? <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebS...more >>

X509 certificate distribution, storage and exiry alert
Posted by jason.chen NO[at]SPAM newsgroups.nospam at 8/30/2005 11:20:05 AM
Hi, does Microsoft provide any recommendation on how to distribute X509 certificate? Reason I'm asking is that server has to send the client its public key before client can send an encrypted request to the server, so we have to provide a way to our client so that they can upload their X509 publ...more >>



WSE And Net Stuido
Posted by Chris at 8/29/2005 5:22:32 PM
Hi there, Can I run WSE 3 with Net Studio 2002 version 7.0.9955 thank you ...more >>

KerberosToken and Windows update
Posted by Mantas at 8/29/2005 2:45:50 AM
Hello, we are using KerberosToken for automatic application login to AD. Also it used for sending this token to webservices for user identification and permissions. Everything worked fine, till new MS update (MS05-042 - Vulnerabilities in Kerberos Could Allow Denial of Service, Information ...more >>

Encrypting name and password
Posted by tangolp at 8/28/2005 6:00:34 PM
I'm build a windows application where I pass the user id and password to WS to authenticate the user. I'd like to create a private key to encrypt the information before passing it to the WS. The WS will, in turn, decrypt the information using the private key to authenticate the user. The WS...more >>

Deploying WSE based web service on test server
Posted by Srilatha at 8/26/2005 12:42:04 PM
Hi, I have 2 web services, "client_side" and "server_side". Both have a reference to WSE 2.0 SP 3. One of the functions is to transfer files between the server and the client. I developed both web services on my development machine and they work great. Now I wanted to move the "server_si...more >>

WSE 3.0 Beta1
Posted by Sidd at 8/26/2005 10:45:19 AM
Hi, The WSE Team has just released their Beta. You can download this at: http://www.microsoft.com/downloads/details.aspx?familyid=2896249a-d107-4f19-b8e7-b01da67a5c02&displaylang=en Please let us know if you run into any issues with this Beta. Thanks, Sidd [MSFT] WSE Team ...more >>

Using policy in a WebMethod
Posted by jgrant at 8/26/2005 8:10:03 AM
Hi I was wondering if there is any way to use a policy in a WebMethod that is inside of an .asmx. The key here is that I need to use a policy only in a couple of WebMethod not in all the Webservice. I know that policy aplies for a .asmx but I will like to know if it's posible to aplied only...more >>

how to hook soapextesion to windows forms client
Posted by Jan at 8/26/2005 7:06:05 AM
Hi all, I develop a Windows Forms client application to comunicate with 3rd party server application via the SOAP messages over HTTP. I must incorporate SoapExtension because the SOAP messages must be zipped. I use SharpZipLib to the compression. I use SoapClient and SoapService like is de...more >>

Unable to load the Custom Token Manager
Posted by vinay at 8/25/2005 12:06:03 PM
I am trying to implement the UsernameTokenManager in WSE 3.0 and override the AuthenticateToken to validate the username and password. But after doing this i am getting a strange error when i run the client application System.Web.Services.Protocols.SoapHeaderException: Server unavailable, p...more >>

how to learn web services...............
Posted by stalin at 8/24/2005 11:55:03 PM
hi... im new in dot.net ,i want to learn web services usin dot net technologies,what i can do?give the url id to learn,i want to learn from basic so i kindly invite all of the known web services professionals to help me to learn. Thanks for ur help ...more >>

Custom SAML token
Posted by DotNettie at 8/24/2005 4:47:03 PM
I need to use SAML tokens with WSE 2.0 in my project. Can any body has any idea about building custom SAML Tokens, including them in soap headers and to use with WSE AuthenticationManager. Help with any code examples is greatly appreciated. ...more >>

WSE and Client Certificate Validation
Posted by Raghu at 8/24/2005 4:30:28 PM
IIS6 does not a provide any way to drop requests from unknown clients with client certificates. Is there a way to configure WSE2 so that it only recognizes certain client certificates and drop other requests? If it does not provide such mechanism, do I need to write an HttpModule to achieve...more >>

How to extract the private key from the X.509 Certificate(which has a corresponding private key )
Posted by Andy Liu at 8/23/2005 8:06:35 PM
I want to use RSACryptoServiceProvider class in to secure the attachments in DIME messages. The following is my sample code snippet: client: ....... X509SecurityToken clientToken = GetX509Token(serverCertificateKeyID,clientStoreID); RSACryptoServiceProvider rsa = new RSACryptoServicePro...more >>

deployement: WSE runtime
Posted by Anna at 8/23/2005 3:53:03 PM
Hi, I am not sure whether I should ask this question here or in the Setup group. Basically, when I deploy my Application that uses WSE should I include WSE 2.0 SP3 runtime.msi into my Setup? If yes, how? I already use the bootstrapper for the .Net framework 1.1. I would appreciate a...more >>

securing service by ssl certificate
Posted by xiaobaoer NO[at]SPAM gmail.com at 8/23/2005 12:00:23 PM
hi, what is the difference between securing a webservice using ssl and using x509 certificate to encrypt and sign webservice? using ssl, one will have to access the webservice by https://..../service.asmx by using x509, instead of ssl, one will have to access the service by http://.../servi...more >>

wse and web servers
Posted by allen at 8/22/2005 4:40:11 PM
I'd like to move to WSE for our client / server application to take advantage of some of the features that WSE has such as security, etc. However, some of our smaller clients won't want to have to maintain a webserver for same. Is there going to be a small web server that works with WSE that ship...more >>

Anyway to turn off multi-threaded calls of SoapReceiver.Receive?
Posted by UpChuck at 8/22/2005 12:41:06 PM
I have an application that needs to receives messages in sequence. The server is sending the messages in sequence, but the SoapReceiver.Receive method does not get them in sequence. I began logging the ThreadID in the Receiver method and noticed it was different. This means it's multi-threa...more >>

Wrong end of the stick with authentication
Posted by Richard Hopwood at 8/22/2005 3:03:05 AM
I have a feeling I've not quite got it with this WSE authentication. I'm authentication my users in a custom UsernameTokenManager against a legacy application we develop. I authenticate by calling a login function in my app which returns me a session ID, The problem is that once I've come out ...more >>

SOAP with attachments?
Posted by John Smith at 8/22/2005 12:00:00 AM
How can I transfers a binary file with soap? Must I convert it to MIME format? Can any other languages using DIME? Thanks for any help. ...more >>

Namespace with WSE and WebService in VB .Net
Posted by julian at 8/21/2005 5:31:26 PM
Hi, I'm using VB .Net. I have a WebService which also uses WSE to send messages to registered clients. In the client the WebService is included as a Web Reference. When calling the WebService, an object is returned with a namespace which is the folder name containing the Web Reference. ...more >>

Interesting CPU Usage: 100%
Posted by julian at 8/21/2005 12:17:01 AM
Hi, using Sender / Receiver from WSE 2 SP3 (but same feature in SP2) with VB and W2K or XP. After a few messages the performance chart in Windows Task Manager shows CPU Usage as 100%. There is no apparent loss in performance. Other programmes (mail client, mail server, web site, browsing...more >>

WSE 3 and August CTP of VS2005???
Posted by Julie Lerman at 8/21/2005 12:00:00 AM
I believe that the August CTP of VS2005 will be out shortly. Will the latest CTP of WSE3 work with that or will you be releasing a new version to go with it. Should I just stick with July VS2005 CTP? thanks julie ...more >>

Authentication in WSE
Posted by Avi Douglen at 8/18/2005 3:42:03 AM
A client of mine is using WSE2 for authenticating rich clients over a webservice, and for message signing. (They're using SSL for encryption and server verification.) They're using UsernameToken for passing credentials, with PasswordOptions.SendNone, and of course a custom UsernameTokenManage...more >>

maxRequestLength - is there a max value?
Posted by Srilatha at 8/17/2005 1:08:02 PM
Hi, 1. In web.config I have set MaxRequestLength to 10000. I believe this value is the size of content that can be transferred using web services.. am I right? 2. Is there a maximum value that can be set? 3. What about performance as this value increases? Does performance get affected ...more >>

The signature or decryption was invalid.
Posted by Tony at 8/16/2005 6:58:55 PM
Hi, I've had this set of web services that use KerberosToken for authentication. I've had them running for about a year now until yesterday when I installed the W2K3 SP1. Now when I call the any of the web services I get the error: System.Web.Services.Protocols.SoapHeaderException : The sig...more >>

WSE 2.0 (SP3) and SAML
Posted by Raghu at 8/15/2005 2:23:52 PM
Does WSE 2.0 (SP3) support building SAML compliant SOAP messages? Specifically, does it have API to create SAML info that goes into security elements of SOAP header? Or do I need to manually build the SAML and include it as part of SOAP header? Thanks. Raghu/.. ...more >>

Passing file contents between 2 web service projects
Posted by Srilatha at 8/15/2005 1:30:04 PM
Hi, I have 2 web service projects called "CLient_Side" and "Server_side". "Client_Side" has a web reference to "Server_side" but its not the other way around (i.e Server_side will not have a reference to Client_side). I want to pass files between the 2 web services. For moving file...more >>

Encryption without Certificates
Posted by lozd at 8/14/2005 2:11:02 PM
Hi, I'm working on securing a test/trial web service and could do with some pointers. The web service (as it stands) only has one client, the two endpoints are securred with both their firewalls and IIS restricting traffic to that coming from each other's IP addresses on HTTP port 80. I'...more >>

namespace name 'StockQuote' could not be found
Posted by mpc755 at 8/12/2005 1:40:03 PM
I am trying to run the WSE 3.0 samples. I am getting: Microsoft (R) Visual C# 2005 Compiler version 8.00.50215.44 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50215 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. c:\Program Files\Microsoft WSE\v3.0\Samples\C...more >>

WSE 2.0 - Alternate Transport - MQ
Posted by agokli at 8/10/2005 4:53:02 PM
I am using WSE 2.0 and MQ as alternate protocol. I have end-point service class as: namespace test.wse { public class MQService: SoapReceiver { public MQService() { Uri uriServiceAddress = new Uri(AppSettings.ServiceURIAddress); Uri uriViaAddress = new Uri(AppSetti...more >>

soap.tcp - *very* slow
Posted by Anna at 8/9/2005 10:45:02 PM
Hi, I'm using WSE 2.0 SP2; using soap.tcp as in TcpSyncStockService sample; my soap service is used to retrieve/put in data from/to database. The only difference is I didn't include Main() in the Service project. The service is started by the client the following way (please tell me if this ...more >>

Policy Assertion question
Posted by Greg M at 8/9/2005 2:12:03 PM
I have a policy assertion file that requires requests to be signed and optionally encrypted. When a request is not encrypted all works well. When a request is encrypted WSE does not verify that the request is encrypted with the specified security token. It appears that as long as it is encr...more >>

like to see somebody explain this one.. unlucky byte-sizes
Posted by Tim_Mac at 8/8/2005 5:29:48 AM
hi, i have a winforms app sending dime attachments to a WSE 2.0 web service. it reads a set chunksize of bytes of a file into a memory stream > into the dime attachment > send to the web service. the web service then reads the stream and appends the bytes to the file. it's a large file upload...more >>

Disabling Security in WSE 2.0 SP3
Posted by Magesh at 8/8/2005 5:10:03 AM
Hi, We are using WSE only for attachments. But we get the error "An error was discovered processing the <Security> header" when the time between the client and server is not synchronized. Since we are using WSE only for attachments, is there any way by which the WSE security can be dis...more >>

Deployement issue, stuck bad
Posted by roger at 8/8/2005 12:00:00 AM
Hi, In my .NET solution i've two projects a webservice and a testing application, everything works ok and the testing application is able to call the methods of the webservice. This webservice requires the client to send a username token to validate that request. When i make a release build of t...more >>

Upload Dime Failure
Posted by pch at 8/5/2005 9:11:09 PM
Error during debug: -- An unhandled exception of type 'System.Net.WebException' occurred in system.web.services.dll Additional information: The request failed with HTTP status 415: Unsupported Media Type. -- The Web Service is .net 2.0 beta with WSE 2.0. The winform client is .net 1.1....more >>

Trouble with GET or POST and attaching a cert
Posted by jfulcer at 8/5/2005 12:32:02 PM
I have a process where I need to do a GET against a URL and receive an XML response. I have to verify authenticity with this site, so need a cert attached to the post. I was provided ASP code which works fine, but I need to do this in .NET. I'm using Framework 1.1 and WSE2.0. This is (most of...more >>

what is unit of the number in <maxRequestLength>
Posted by Srilatha at 8/4/2005 9:54:22 AM
Hi, To over come the error "WSE352: The size of the record uuid:ab417a90-5e33-4de8-aaa6-ae47d2b7d325 exceed its limit" I did the folllowing in my web.config file. <microsoft.web.services2> <messaging> <maxRequestLength>100000</maxRequestLength> </messaging> <diagnostics /> <...more >>

WSE 3.0: How to Sign a SOAP Message by Using a User Name and Passw
Posted by Arif at 8/4/2005 9:54:06 AM
Can someone show me how this is done in WSE 3.0 using code. I can see how this is done in numerous articles for WSE 2.0: MessageSignature sig = new MessageSignature(userToken); requestContext.Security.Elements.Add(sig); But the Security member of requestContext (SoapContext type) is obsolet...more >>

WSE352: The size of the record uuid exceed its limit
Posted by Srilatha at 8/4/2005 7:23:05 AM
Hi, Iam trying to transfer more than 2 documents from one machine to another as DIME attachments. On server side: strExport = "C:\Srilatha\1.pdf" respContext = ResponseSoapContext.Current fs = System.IO.File.OpenRead(strExport) bu...more >>

found response content 'application/dime', but expected 'text/xml'
Posted by Srilatha at 8/3/2005 12:56:03 PM
Our objective is to move a document from one machine to another using web services. We have a ASP.Net web service project called "GetDocumentService" that references Microsoft's WSE 2 SP1 dll. This service reads the document on its local file system into a memory stream and attaches this...more >>

Register SoapService class for the TCP and HTTP
Posted by Anna at 8/1/2005 11:03:01 PM
I am really confused and will greatly appreciate any help. I was reading the MSDN article "How to: Send and receive a SOAP message by using the SoapClient and SoapService Classes". It explained among other things that registering SoapService class for the TCP and HTTP is different. OK, got i...more >>

WSE 2.0 TCP authentication
Posted by Anna at 8/1/2005 10:27:01 PM
If I make make my web service communication work over TCP using SoapClient and SoapService, can I still use policy files or should I implement all the security related stuff, i.e. override Authenticate, implement my own SecurityTokenManager etc. Thanks in advance. Anna...more >>


DevelopmentNow Blog