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

Filter by week: 1 2 3 4 5

SOAPExtensions and WSE
Posted by John Jenkins at 3/31/2005 5:00:06 PM
Hi, I have created a UsernameTokenManager class for proceesing UsernameToken details. This works well. I have the configuration set up in my web.config because I want the authentication to apply to all methods. I have also created another extension which checks whether a user has permissi...more >>

Tracing SOAP in and SOAP out
Posted by Shawn Melton at 3/31/2005 7:11:03 AM
I installed WSE 1.0 after reading about the new SOAP context class and the tracing features. I want to easily enable/disable logging of incoming/outgoing SOAP/XML. I have used the WSE tool to enable tracing. I have made the tracing files and given permission to the ASPNET user to access th...more >>

Setting ReplyTo ReferenceProperties throws "The input was not a ..
Posted by Dominic Cooney at 3/30/2005 7:19:05 PM
I'm trying to set ReferenceProperties in a ReplyTo; however whenever I send a message with my reference properties, WSE throws an ArgumentException with this message: WSE002: The input was not a valid ReferenceProperties element because it has either the wrong name or the wrong namespace. T...more >>

message encryption
Posted by Peter Foley at 3/30/2005 2:35:37 PM
I want to be able to encrypt part of a soap message. I understand I need the public key of the identity running the web service I am sending the message to. My Questions are a) Where do I get the name of the identity I am sending the message to? b) How do I distribute the web service identity'...more >>

Encrypt a UsernameToken Authenticated WSE Response
Posted by AndiRudi at 3/30/2005 11:15:05 AM
Is there any other possibility than x509 to enrcypt a Response. Something symmetic would be nice. ...more >>

Ability to get/set SOAP body xml data at a client program
Posted by HumbleServant at 3/30/2005 10:31:02 AM
I have a console based C# program that calls web service proxy methods. I want to extract and insert the xml embedded in the SOAP body area. How is this done? I know that in Java setSOAPBody(...) and getSOAPBody(...) can do this, but how is this done in C#. The main reason why I need to do ...more >>

How to clear the SecurityContextManager Cache?
Posted by Mirtul at 3/30/2005 5:51:02 AM
Hi. I am doing a policy based service with a SCT based on a UserNameToken. However, if a user changes his UserName details, I would like the client to send a new SCT request with the new user details, so that the SCT doesn't contain invalid information about the users details. I have tri...more >>

Multiple Wse in single Service
Posted by Patrik Kruse at 3/30/2005 4:05:03 AM
I am using Visual Studio (with WSE 2.0) to create a Reference.cs proxy for a customer web service. The WSDL contains one service element with three different ports, each port using it's own binding. The problem is that Visual Studio only creates a Wse class for one of these bindings, leavin...more >>



Duplicate kerberos2 tokens in subsequent web service requests
Posted by Julian Jelfs at 3/30/2005 2:39:02 AM
Hi, I have a web page that needs to make three web service requests. Initially I thought I might be able to create an instance of the proxy, sign it with a kerberos2 token and then make the three requests. It doesn't like that presumably because I'm using the same kerberos token for mult...more >>

security tokens questions
Posted by uzi at 3/29/2005 2:10:42 PM
Hi i have a web service that recieve a username token from the client, and verify it's credetials in a legacy application. this application issues a custom class (which represetns it's own security token). this class can be represented as XML. my question is, how can i add this custo...more >>

Encrypting message using WS2.0
Posted by tangolp at 3/29/2005 12:29:04 PM
We are authenticating the user's id and password thru third party software. We would like to know how we can encrypting a message - any samples would be very helpful. Thanks....more >>

an error was discovered processing the <security> header on Window
Posted by Tim Heuer at 3/28/2005 4:21:02 PM
Hi. I've got a program that uses wse 2.0 to consume a web service (that I wrote). It exchanges an username token. If I run the program on Windows XP, it works beautifully. If I run on Windows 2000 server I get the error: an error was discovered processing the <security> header. same...more >>

UserNameToken to Authenticate against AD
Posted by Yedu at 3/28/2005 1:45:06 PM
I have an ASP.NET web service that configured to runs as Ananymous, I need to authenticate/Authorize requests to this service against AD, I'm trying to achieve this by passing the UserNameToken in the soap header, but in my Web Method the Thread.CurrentPrincipal is always empty. I am under im...more >>

Service1Wse ok, but Service1 always enabled?
Posted by AndiRudi at 3/28/2005 9:27:02 AM
I installed Wse1 and got it to work with a selfmade UsernameToken. But then I found something serious. I can always user the standard way via Service1 = new Service1 to access the Server without the Identification. What is wrong?...more >>

WSE352: The size of the record uuid:d999e283-b0a8-4134-ad24-1b1c0e7dd7b4 exceed its limit.
Posted by Champika Nirosh at 3/27/2005 3:31:58 PM
Hi All, I use WSE 2.0 / DIME to send a zip file of size 9.2 MB. I send file of size less than this success fully but with this the client basically get the exception "dime format exception". Message : WSE352: The size of the record uuid:d999e283-b0a8-4134-ad24-1b1c0e7dd7b4 exceed its limit. ...more >>

PasswordDigest, VerifyHashedPassword and Hashing???
Posted by AndiRudi at 3/26/2005 6:17:11 AM
I just tried to get my VerifyHashePassword method to work, but it didn't. I need some help!! In de OASIS Documentation and some other Blogs I found the line Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) but i cannot convert it to c#? I tried something like this, bu...more >>

WSE 2.0 SP3 and VS 2003 IDE
Posted by reach.yedu NO[at]SPAM gmail.com at 3/25/2005 2:49:35 PM
I just installed the WSE 2.0 SP3. After this when I open the VS 2003 IDE and right click on the project that I want to enable WSE 2.0.....I don't see the "Web Services Enhancements 2.0 Settings" in the Popup menu. Before upgrading to SP3 i used to see this option on the right click of the pro...more >>

Kerberos2 through a firewall
Posted by Julian Jelfs at 3/24/2005 8:47:10 AM
Hi, I'm having a problem with the following architecture: Web services hosted on server A which is a windows 2000 machine. Sharepoint web app on server B which is a windows 2003 machine. Server B calls the web services on server A. The sharepoint site is configured to require intergra...more >>

Benfits of IIS for SOAP Messaging
Posted by Jeff at 3/24/2005 7:51:54 AM
What are the benefits of using IIS to implement SOAP Messaging over HTTP versus just using the SoapClient and SoapService classes? Jeff ...more >>

Multiple Policy Files
Posted by Mirtul at 3/24/2005 1:29:02 AM
I am developing a plugin based system where functionality can be extended with new webservices and handlers. However, as the handlers are contained within .dlls and started by the main application they do not automatically parse any own app.config files, and thus can not read any own <policy> ...more >>

Transport Dokumentation
Posted by Daniel Danilin at 3/23/2005 6:54:11 PM
Is there a documentation of how to make a transport? And how Http transport in WSE working. I must say that WSE dokumentation is allmost as bad as any Java dokumentation :-( ...more >>

WSE306 Error
Posted by Søren_M._Olesen at 3/23/2005 2:23:16 PM
Hi Anyone who knows what's causing this error?? WSE306: The DIME record should have the following version: 1. Instead, = the DIME record contained the following version: 7. TIA S=F8ren...more >>

WSE2 Advice
Posted by yofnik NO[at]SPAM comcast.net at 3/23/2005 9:23:27 AM
Hello, I need some advice on the the architecture of a Web Services applciation. I need to build a distributed application that handles the processing of a large amount of real time data. The web service will allow clients to register for notifications of certain types of data. The service m...more >>

Send RST/SCT and resend on token timeout?
Posted by Mirtul at 3/23/2005 8:25:05 AM
Hello... When setting up a policy for a SecureContextToken it is possible to ask the client to refresh the token at certain intervals. By setting the client timout shorter than the server timeout it is possible to always have a fresh token in store. However this demands that the clocks on t...more >>

Large file upload
Posted by Bradley Plett at 3/22/2005 5:37:07 PM
I need to upload large files (100MB+) via a web service. The files are typically XML or CSV files. (Yes, they compress well, and I'll probably want to add compression later, though it's not immediately urgent since, for now, this is all internal on high-speed links.) I've been researching this...more >>

Unusual Internal Null reference exception: Microsoft.Web.Services2.Security.SignatureReference.GetXml()
Posted by Tim Mackey at 3/22/2005 3:56:53 PM
hi,=20 i'm using WSE2 and i encountered an intermittent exception thrown by the = WSE2 class library. i can't reproduce the behaviour consistently. any = ideas? System.NullReferenceException: Object reference not set to an instance = of an object. at = Microsoft.Web.Services2.Security.Sign...more >>

What is the best token for me to use?
Posted by Julian Jelfs at 3/22/2005 6:27:04 AM
Hi, I would like some advice on the best option to take for securing my web services. My situation is this. I have a number of services which will be called by domain users. I must be able to authenticate them in the default way (using windows authentication I guess) OR using LDAP dependin...more >>

KerberosToken2 Error Question
Posted by Erik J. at 3/21/2005 5:03:02 PM
I'm attempting to sign a message with a KerberosToken2 and then call a service on a Windows XP SP2 machine. The docs say that the MACHINE.CONFIG file on the Windows XP machine must have the user ID set to "SYSTEM". This works fine. But the docs also say that the user ID can be set to a ...more >>

WSE SP3 WSDLs and the 2003 IDE
Posted by Mike at 3/21/2005 6:51:04 AM
1. What exe does the VS IDE use to generate ws proxy classes under WSE SP3? I just renamed Wsdl.EXE and WseWsdl2.exe and the IDE still generated a proxy. I sure would've expected WseWsdl2.exe to be the one it used. 2. To make it easier for the client to add web references, I have combined t...more >>

WSE 2.0 and french text
Posted by Sebastien Ollivier at 3/21/2005 4:01:02 AM
I'm développing a C# Winform application that use PHP Web Services available on an Apache HTTP Server. These Web Services retrieve datas from an Oracle database. These datas can be in french. In French, special letters such as "é" or "è" are used. I've generated a proxy wit WSE 2.0 and ...more >>

WSE Client Port with soap.tcp
Posted by microsoft at 3/20/2005 9:00:01 AM
Hello, I'm developing an WSE application which have two parts. One part (server) is the service provider which have a well-known address and port number to which the second part (clinet) is sending requests and recive replies. It is always the client which initate the request, and the server ...more >>

How to ask WSE to build a SoapEnvelope but not send it.
Posted by Erik J. at 3/17/2005 8:49:06 AM
Hi, I know this might seem a little weird, but I am trying to have WSE build a SoapEnvelope from a SoapRequestContext without actually sending the message. This is so I can send the message through an alternate communications stack. Ideally, I would like to create a SoapContext, set the t...more >>

Usernametoken and activedirectory
Posted by Geir Sanne at 3/16/2005 2:23:05 PM
hi!!! im sending a usernametoken with username/password and on the server i got a usernametokenmanager that authenticates the user in AD using LDAP. This works fine. The problem is that if the client dont send a usernametoken, the usernametokenmanager is never called and the user gets acc...more >>

WS-Addressing
Posted by Erik Juhlin at 3/16/2005 8:01:04 AM
Hello! I use wse 2.0 to implement ws-security and everything works just fine and the SOAP-Header looks nice. Though I want to remove the elements that involve adressing (or not include them). But I don´t know how to this programaticly? Elements: <wsa:Action>www.releye.com</wsa:Action>...more >>

CryptographicException WSE502
Posted by tim NO[at]SPAM mackey.ie at 3/15/2005 8:00:19 AM
I refer to a post from Sidd [MSFT] on this newsgroup: http://groups.google.ie/groups?hl=en&lr=&threadm=ep6nhFx%24EHA.1400%40TK2MSFTNGP11.phx.gbl&rnum=1&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3D%26q%3DWSE502%26btnG%3DSearch i also have the same problem [WSE502] with some messages being rejected...more >>

SoapService class instance "cached" between SOAP calls
Posted by SA at 3/14/2005 2:45:00 PM
Hi all, I have the following behavior from my class that inherits from SoapService. Upon the first call to the web service, naturally, an instance of my class is created. However, upon the second call, the previous instance is re-used. Upon the third call, a new instance is created. Upon the...more >>

autoIssueSecurityContextToken SoapActor
Posted by Thomas S. Trias at 3/11/2005 11:31:04 AM
How can I set the SoapActor for the default SecurityContextService created for the assembly when <autoIssueSecurityContextToken enabled="true" /> is specified in the web.config? Even if my endpoint resolves to a web servce with a speficied SoapActorAttribute, and I use the same endpoint t...more >>

Encryption and signing using Security context tokens using WS-Pol
Posted by kiran & Dev at 3/11/2005 5:35:06 AM
Hi Every One I am unable to do signing and ecryption using SecurityContexttokens using WS-Policy......more >>

WSE 502 : Cannot find target element [More details, WSE team - please atleast validate the understanding]
Posted by Kapil Sachdeva at 3/10/2005 6:25:48 PM
I do not know if anybody else have got this exception but I did and am stuck in such a way that I may have to leave all the benefits of WSE just for the workaround to this problem/exception. So here is the problem, I am receiving a SoapMessage which has some custom soap headers and these ...more >>

How to "catch" SOAP packet from a web service?
Posted by Alit Atmaja via .NET 247 at 3/8/2005 9:35:39 PM
Dear all, this is my first time to post a topic here. I would like to know how to catch a soap message from a web service. I guess this is the idea for SOAPscope software (available for 4 days evaluation). After catching the soap message, then i plan to make further operation such as compression, ...more >>

WSE, UserNameToken and AD
Posted by Dominick Baier [DevelopMentor] at 3/5/2005 11:51:05 PM
If you are using UsernameTokens you have to have access to the clear-text password or some password equivalent on the server. That's the only answer i can give you, sorry. If your clients are in the same - or a trusted - windows domain - KerberosToken2 is the way to go. --- Domini...more >>

WS-Security vs. IIS Authentication
Posted by Morten Overgaard at 3/5/2005 3:42:03 PM
Hi Sirs. When using WS-Security instead of IIS authentication I see a potential problem letting ALL people access my webService. ie. if I have a little bug in the code that checks for validity of the user I'm really exposing my-self. If using IIS authentication I'm sure that only IIS authen...more >>

WSE Proxy Hides Responses from void [SoapMethod] operations?
Posted by Erik J. at 3/5/2005 6:53:02 AM
I have a SoapService operation that is declared as a void and I'm using the WSE-generated proxy to call it. If the server throws an exception, a response is sent, but the prxy doesn't seem to notice it. If I change the operation to return something (like an int), the proxy propagates the fau...more >>

Username Token for the Web farm implementation
Posted by erohitv at 3/5/2005 2:31:24 AM
hi, i was going through the 2nd sample of HOLDEVL34... while creating the certificates, following all the steps , i know where find the CurrentUser\Other store for the public key storage... Also went through the suggestions in different groups but no solution.. It works perfectly fine on the ...more >>

WSE, WS-SecureConversation, X.509 and UsernameToken - putting all pieces together?
Posted by Dmitriy Lapshin [C# / .NET MVP] at 3/4/2005 5:34:04 PM
Hello, I have several questions on the subject which I cannot answer to myself even after digging the docs and searching Google groups. I would be glad if someone could shed some light on the big picture. 1. What's the role of the UsernameToken in WS-SecureConversation? I understand it i...more >>

SoapClient vs. WebServicesClientProtocol
Posted by Matt at 3/3/2005 9:25:39 PM
Can someone please point out the differences between SoapClient (generated by wsewsdl2) and WebServicesClientProtocol? (Or, provide me a link that breaks down the 2 and compares them). Thanks. ...more >>

X509 token value type and encoding type - urgent, Please help
Posted by Kapil Sachdeva at 3/3/2005 1:23:16 PM
Hi, Have a look at : <wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" xmlns:wsu="http://docs.oasis-ope...more >>

WseWsdl2.exe a nightmare!
Posted by GeorgeNewYork at 3/3/2005 11:55:46 AM
I have spent the last 3 hours attempting to create wse proxy classes for (xmethods.com) web services using wsewsdl2.exe (SP2 & SP3). The results were amazing. Out of 34 randomly selected WSDLs, only 6 were successful. The vast majority choked with "Specified cast is not valid" or "Invalid ...more >>

DIME attachments problem
Posted by Nikolay Petrov at 3/2/2005 4:05:39 PM
I have in web service which receives WSE DIME attachments as byte arrays, and stores them in files From an asp .net page i add an dime attchment to the RequestSoapContext, i check the count of attachments and it says "1" on the web service size, when I check the count of the attachments it...more >>

Attachments with SOAP
Posted by Gopal at 3/2/2005 2:49:02 PM
I am new to WSE. We are porting our VB6 app to VB.Net/Framework 1.1 environment. The app that I am currently working on needs to communicate via HTTP to IIS to send and receive binary files such as photos, diagrams,etc to a webserver. The prev release of this app used FTP. Is WSE20/DIME a b...more >>


DevelopmentNow Blog