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 2006

Filter by week: 1 2 3 4 5

using wse 3.0 certificates for authentication
Posted by devnull at 6/30/2006 8:26:01 PM
i just started using wse 3.0 and have a question how come when i use proxy = new proxy() instead of proxyWse() it lets the user consume the web service? i want to be able to block access to the web service to everyone without the servers public key?...more >>

Policy not working when on browser
Posted by paulo at 6/29/2006 1:08:27 PM
Hello, I'm using WSE3 in an application and I've setup some policies to enforce security and compression while transferring data. Everything works great between client and server applications. However if I go to Internet Explorer, type the service address and invoke any method, I receive d...more >>

Performance of WS-Security in WSE 2.0
Posted by dejan.skvorc NO[at]SPAM gmail.com at 6/29/2006 4:28:58 AM
Hi everyone! I experience an interesting behaviour of WSE 2.0 when sending WS-Security compliant SOAP messages over the wire. My messaging system is as simple as SoapClient class on client side and SoapService class on server side. The communication between client and server is as follows: cl...more >>

Newbie: Problem with AuthenticateToken-Function - not called
Posted by lvpaul NO[at]SPAM gmx.net at 6/29/2006 3:00:35 AM
Hello ! I am new in Webservices. I have to provide a webmethod via ssl that is called by another company (php). I want to create a web service with Visual Studio 2003 and WSE 2.0 SP3. Are this the right tools for this ? I want that the user have to send username/password to authenticat...more >>

WSE 3.0 usernameForCertificateSecurity doubt
Posted by Jeffrey Sánchez at 6/28/2006 9:26:53 AM
Hi. I'm developing a winform app that communicates with a secure web service using WSE 3.0. I'm trying to implement Direct Authentication with UsernameToken. I'm also trying to establish the message integrity using usernameForCertificateSecurity turnkey security. One fact is that I don't...more >>

ASP.NET Development Server
Posted by Frank V at 6/28/2006 7:46:37 AM
Quick question - Can a WSE 3.0 enabled web service successfully run on the ASP.NET Development Server that is included in Visual Studio 2005? Or would it be better to lunach the Web Service to IIS (in my case, 6.0)? Thanks, Frank V. JawzX01[.@.]gmail.com www.TheOpenSourceU.com ...more >>

WSE 3.0 and timeToleranceInSeconds element
Posted by Sergey Pikhulya at 6/28/2006 6:41:02 AM
Documentation about <timeToleranceInSeconds> Element says: "Use the <timeToleranceInSeconds> element when there is a clock difference between the SOAP message sender and receiver.WSE invalidates SOAP messages that have expired or are created in the future during its message validation phase...more >>

Processing UsernameForCertificateAssertion
Posted by gregabor at 6/27/2006 1:26:12 PM
Hi there, I'm using UsernameForCertificateAssertion and I have problem understanding few things about processing SOAP messages, algorithms, keys etc. 1) I don't see any connection between any ID values of SOAP headers in OutputTrace and InputTrace.webinfo. Shouldn't some IDs match, at least...more >>



Interop between WSE 2.0 and 3.0
Posted by immu4u2 NO[at]SPAM gmail.com at 6/27/2006 8:50:14 AM
Hi all, I have a scenario where my framework was developed on WSE 2.0 SP3 standards. Now we are migrating the same to WSE 3.0 standards. There are existing WSE 2.0 SP3 services that is already up and running. Is there a way that i can reuse the existing WSE 2.0 SP3 services with the new fra...more >>

WSE 2.0 UsernameToken problem
Posted by Gary at 6/27/2006 4:00:02 AM
Hi All, This is probably a very easy issue to sort out but at the moment I am lost with it. I am trying to use a policy file on a web service which states that the default endpoint must be signed by a UsernameToken. I specified the username in the wizard and used the following code in my ...more >>

Kerberos and forms authentication
Posted by paal.andreassen NO[at]SPAM gmail.com at 6/26/2006 1:32:48 PM
We have a multi tier application spread over multiple servers. As pr today the clients (IE 6) have used Integrated (NTLM) autentication against IIS running the presentation layer. Each layer is communicating with the next layer using WSE3 web services. We are using kerberos for delegated authent...more >>

Security Context Token (SCT)
Posted by Hung Ngo at 6/26/2006 11:01:02 AM
Hi, Can you tell me how the WSE3.0 build the security context to send and receive multiple messages between Service & Client. What does information include into it? Thanks for your help, Hung....more >>

WSE 3.0, usernameOverTransportSecurity, custom Token Manager w/ securityTokenManager,
Posted by Frank Villasenor at 6/26/2006 10:07:21 AM
Hello all, I'm attempting to learn how to use WSE 3.0 with Visual Studio 2005. I've read a lot of material about WSE 3.0 and I've started to grasp how this libarary works. Although, much closer than I was a few days ago I'm not in at a point where I believe everything is configured proper...more >>

SecureConversation
Posted by Eric Quist at 6/26/2006 7:03:01 AM
Hi Is it possible for the client to decide whether to do encryption and signing of messages? If so, how do I do it? Background: I got a webservice that is called from winform clients for whom I want encrypt and sign the messages. The webservice is also called by another webservice and in tha...more >>

SecureConversation Problem
Posted by James Hancock at 6/25/2006 3:52:08 PM
I've created my own Assertion using UsernameToken (I use 512 bit passwords that aren't sent over the wire and are unique per session and the data is encrypted in my assertion). In that new assertion, I've implimented SecureConversation by using the following: SecureConversationServiceSendSe...more >>

How does WSE3 generate keys?
Posted by Hung Ngo at 6/22/2006 9:41:01 PM
Hi, I have some problem with the encrypted key and derived Key. With <AnonymousForCertificateAssertion> element: - Is encrypted key generated from the web service public key? and what is the algorithm used for generating? - If I set the attribute "requireDerivedKeys=true" in the <AnonymousFo...more >>

webservice woes
Posted by klumsy NO[at]SPAM xtra.co.nz at 6/22/2006 7:22:02 PM
I have a webservice that i talk to (there are two seperate wsdls).. and am using WSE3. I can sucessfully use the proxy to generate the authentication call to the first wsdl site, and that returns something like: <![CDATA[<Assertion MinorVersion="1" MajorVersion="1" Issuer="http://www.bea.com/...more >>

Instruduction to WSE 3.0
Posted by Frank at 6/22/2006 1:03:02 PM
Hello All, Can anyone direct me towards a good, comprehensive introduction to WSE 3.0? Thanks, Frank www.TheOpenSourceU.com...more >>

WSE3: Client X509 Authorization Programmatically
Posted by Adriana at 6/21/2006 4:21:02 AM
I'm working in a Mutual X509 context, i can define the authorized clients into the wse policy config file using something like: <authorization> <allow user="CN=WSE2QuickStartClient" /> <deny user="*" /> </authorization> But i want add programmatically the users a...more >>

WSE2 <-> Java Axis how to generate my .pfx with their CA
Posted by Erik Jensen at 6/20/2006 8:21:02 AM
I have successfully created my makecert generated certificate and used it to sign my SOAP Request for an Java Axis web service but when the WS authors actually started checking versus their CA my certificate failed. 1. They are telling me to generate a private key 2. send a csr to them to si...more >>

Need help for WSE 3.0 exception WSE839
Posted by my name at 6/20/2006 1:39:10 AM
I'm using MS WSE 3.0. I'm unable to call my webservices because I get the folllowing exception: System.FormatException : WSE839: An HTTP response was received that used the following content type: text/xml; charset=utf-8. The following content type was expected: multipart/related; type=applic...more >>

Problems with MTOM and WSE 3.0
Posted by aceven24 at 6/18/2006 8:07:01 AM
I'm getting some strange behavior when making multiple async calls coming from threads from the thread pool on a WinApp Client. The Event Log has the following events: Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 6/18/2006 Time: ...more >>

Soap Fault in Policy Assertion
Posted by Erikst at 6/16/2006 1:48:01 AM
I'm building a custom policy assertion, that I want to use to evaluate my soap message and return a soap fault if there is something wrong. But how do I return a soap fault from a SoapFilter ProcessMessage method? I tried throwing a Exception, but that crashes my host application. I also tried...more >>

configuration section is not loaded
Posted by Zebra at 6/15/2006 11:20:01 AM
I upgraded all my 2003 projects to vs 2005 and all went well except for one machine that I got the following error: System.Configuration.ConfigurationException: WSE032: There was an error loading the microsoft.web.services2 configuration section. ---> System.Configuration.ConfigurationErrorsE...more >>

WSE3: Authorization of Client via X509
Posted by Gerry Lowe at 6/14/2006 7:07:09 PM
The WSE3 documentation points out that, in my server-side policy file, I can insist that a client has a particular certificate via an entry like: <authorization> <allow user="CN=ClientCert"/> <deny user="*"/> </authorization> But the documentation does not specify the store locati...more >>

WseWsdl3.exe
Posted by CT at 6/14/2006 5:07:33 PM
Does anyone know what happens behind the scenes when a WSE 3.0 Web service is referenced from a likewise WSE 3.0 enabled Web service consumer? I know that two proxy classes are generated when the Web Reference is added/updated, one WSE enabled class derived from Microsoft.Web.Services3.WebSe...more >>

2 types of <replayDetection> element
Posted by Hung Ngo at 6/13/2006 4:56:03 AM
Hi, I have read the below help to create a custom <replayDetection> element http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/WSS_Ch5_ImpMsgReplayDet_WSE30.asp But I am confusing about the above custom element and <replayDection> from this link http://msdn.microso...more >>

replayDetection element
Posted by Hung Ngo at 6/12/2006 8:02:01 PM
The <replayDetection> Element has the following attribute: windowInSeconds Required attribute. The time in seconds that replay detection is enabled against the UsernameToken nonce. (MSDN.MICROSOFT.COM) So, The replay attack just affects on UsernameToken security? For ex: UsernameForCe...more >>

Unable to unwrap a symmetric key using the private key of an X.509
Posted by Chris Fink at 6/12/2006 11:50:02 AM
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE enabled webservice receives the following error (noted at the very bottom of this post). My o...more >>

How to consume a webservice with WSE 3.0 from a .net using WSE 2.0
Posted by David at 6/12/2006 10:55:02 AM
Hello: I have a Web service that use WSE 3.0 to authenticate client with x509 certificates. The problem is that some customers of this web service has their applications in .Net 1.1 and they cannot migrate to .Net 2.0. How can I invoke the web service using WSE 2.0. We only authenti...more >>

WSE 3.0 Hands-On Labs SCT Errors Encountered.
Posted by Sundolphino at 6/11/2006 8:48:01 PM
Hello, I'm trying to follow the WSE 3.0 Labs to implement the secure-conversation. In the Basic Labs Part 2, when the attribute establishSecurityContext is set to false in the config file, the application is working fine and able to retrieve results from the webservice. But once the attribute...more >>

TimeStamp
Posted by Hung Ngo at 6/11/2006 7:34:01 AM
Hi, in the WSE 3.0, I have read: "On outbound messages, a Timestamp represents the time the message was sent and the expiration time. On inbound messages, it stamps the received time, checks for expiration, and adds the delay". I really don't understand the way WSE use the Timestamp! Whe...more >>

415: Unspported Media Type
Posted by DBC User at 6/10/2006 2:24:28 PM
I am trying to do an authentication using C# through a Web Service in WSE3.0 and I am (client side) is getting 415 error. Does anyone know why this is happening??? Thanks. ...more >>

Sign SoapHeader
Posted by Hung Ngo at 6/9/2006 8:21:01 PM
Hi, I really don't understand why we need to sign the SOAP header? Can you explain ? THhanks, Hung....more >>

WSE 3.0 X.509 certs problem
Posted by Bill44077 at 6/9/2006 1:28:02 PM
Hello, I had done a lot of experimenting with WSE 2.0 and it all seemed to work after a fashion. I have recently installed WSE 3.0 and went through the setup several times to try an figure out why the X.509 certs don't seem to be working correctly. I have a simple HelloWorld program that I ...more >>

How to create x509 certificate from Root Certificate in code
Posted by SunnyM at 6/8/2006 9:47:02 AM
Hi, I would like to generate new x509 certificate from the machine's Root Certificate from my code. Is there any API I can call to do that? I know I can write script to use "makecert.exe" to create new x509 certificate, but I want to do that within my c# code. Thanks in advance, Syed....more >>

Contract First Development and WSE 3.0 Policy Files
Posted by Chris Mullins at 6/7/2006 3:33:12 PM
I've built a Web Service using the new VS.NET 2005 Contract-First methodology - define an Interface, put the "WebMethod" attributes on there, and than have a concrete class implement the interface. This works great, and really helps with versioning issues. The problem is, I'm trying to get ...more >>

Transferring Large (GB+ size) files with MTOM
Posted by Chris Mullins at 6/7/2006 11:22:18 AM
I need to build an infrastructure that moves large files around the Internet. The scenario is many clients all submitting information to a single server. The data in question is confidential, so encryption and signatures are important. Customers currently write data to magnetic tape and have...more >>

Running WSE 3.0 WebServices without IIS
Posted by paulo at 6/6/2006 12:43:07 PM
Hello, We are finishing our application server built using WSE 3.0. Although many of our clients do have IIS has a viable option, others do not. I have read the document "Host and ASP.NET Web Service Outside of IIS" at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0...more >>

Catch Custom SoapException
Posted by Giulio.Marri NO[at]SPAM gruppopro.it at 6/6/2006 9:01:22 AM
Hi programmers, I'm quite new in this blog, I have a question concerning web services Soap Exceptions: I created a class MySoapException derived from SoapException, I add the references both server-side and client-side, and I tried to implement correctly serialization, I mean, the "ability" of a...more >>

Read WSE configuration from class library project
Posted by YC at 6/6/2006 8:25:03 AM
Hi, I have a problem - I have a .net web site which implements the MVC pattern. Thus, I have a class library controller which is in charge of all the web services/wse communications. The problem is the controller runs under the context of the web site and the configuration in the app.config ...more >>

Send Certificate & WSE3.0
Posted by Hung Ngo at 6/5/2006 10:18:01 PM
Hi, With Https protocol, the server will send it's certificate to client whenever receiving a request of a new client. When using WSE3.0 with Certificate assertion, the client must have the server certificate ? and server must have client certificte? I'm not sure about this, can you help ...more >>

SCT and certificates questions
Posted by YC at 6/4/2006 8:08:01 AM
Hi, I have 2 questions regarding WSE 3.0: 1) Using sct with asp.net application as client - I implemented sct with an asp.net web application as a client. I can see in the trace files that the element <wst:RequestSecurityToken> gets created each time I invoke the specific web method with the...more >>

upload dataset/datatable from windows mobile 5 to a webservice. How?
Posted by A.Neves at 6/2/2006 3:29:01 PM
Hi, I'm developing an application that needs to upload a dataSet or datatables at the end of the day. I'm going to use Windows Mobile 5 and Net Framework 2.0 and visual studio 2005 and sqlserver2000. I'd like to implement a Webservice, but I couldn' find a way of upload a DataTable to ...more >>

Anyone get WSE 3.0 running on Vista?
Posted by Chris Mullins at 6/2/2006 8:51:05 AM
Has anyone been able to get WSE 3.0 to install on a Windows Vista machine? All the variations I've tried result only in an error: Product: Microsoft WSE 3.0 -- Error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. C...more >>

Problems trying to add soap transports programmatically
Posted by olly at 6/2/2006 8:09:02 AM
Hi, I am trying to use a custom soap transport, in this case an http.sys transport, based Aaron Skinnard's MSDN example. I want to remove the need for the app.config file, so programmatically add the transport, using WebServicesConfiguration.MessagingConfiguration.AddTransport("http", ty...more >>

debugging web services
Posted by DBC User at 6/1/2006 2:32:41 PM
I would like to know how can I see the messages that are send to web services and what client program is receiving? I am using WSE3.0/VS2005/C# Thanks. ...more >>

UserNameToken question
Posted by DBC User at 6/1/2006 1:51:40 PM
Hi All, I was using a token which contains more than user name and password. I was doing token = CustomToken(name, pass, age);//my class RequestSoapContext.Security.Tokens.Add(token); RequestSoapContext.Security.Elements.Add(new MessageSignature(token)); with this it was working fine in ...more >>

Setting a SOAP Message SoapAction in WSE3
Posted by Moe at 6/1/2006 9:14:02 AM
Hi, I've been trying to implement xml messaging and stumbled on this article "Introducing the Web Services Enhancements 2.0 Messaging API". When creating the soap envelope and setting the SoapAction this is how its done. SoapEnvelope env = CreateAddMessage(); env.Context.Action = "urn:ma...more >>

wse 3.0 Authenticate via Username/Password token (no windows secur
Posted by Martin Schönholzer at 6/1/2006 7:36:02 AM
Hello all. I was working through the labs (Messageing/Security) which are provided on WSE 3.0 Page. All the samples where very clear and all worked fine. But in these Samples if you want to use a Username/Password Policy, the Credentials are automatically tested against Windows Accounts. I...more >>


DevelopmentNow Blog