TechBubbles

Microsoft Technology BLOG

Latest stories

Web services security

Introduction Securing a Web service is possible using WSE (Web Services Enhancements) for .NET. We can define the security requirements for both incoming and outgoing SOAP Messages this we can call it is a policy. We can define the policy in two ways 1. Using WSE Settings 3.0 Tool 2. Adding the policy element to the XML file Alternatively we can define the policy file either in development or...

WSE Settings 3.0 Tool

The WSE features can be enabled by using WSE 3.0 tool which is a graphical user interface in visual studio 2005. You have to download the WSE 3.0 for .NET to configure the WSE 3.0 tool. To open the WSE Settings 3.0 tool from Visual Studio 2005. Open the Solution or project that you want to use the WSE with. Right click the project point to WSE Settings 3.0 and click   To use the WSE settings...

Overview of WSE 3.0

Introduction Web Services Enhancements is a .NET class library to develop web services using latest protocols. Features Securing the Web Services: It is difficult to secure a web service that cross the security domains. We can secure a web service by sending over secure transport, such as Secure Socket Layer(SSL) but that holds good when the communication is point-to-point. Some times SOAP...

SOAP Message Routing with WSE

A application using WSE can be designed by setting up a intermediary computer that is configured to run on WSE router. Clients send messages to WSE router instead of to the web service. WSE Router Benefits of using WSE router is computer that hosting a web service can be taken offline for maintenance with out modifying the client code or its configuration. Administrator prepares a web.config file...

MTOM Support to Web Service

Overview of MTOM Using MTOM an application can send or receive a large amount of data. MTOM allows message-level security to be applied to the message including binary data. MTOM encodes the SOAP message and transmits the message as XML. Following is the procedure to send large amount of data using MTOM Open the web service project in Visual studio 2005   2.   Enable the project to...

Digital Signing the SOAP Message

WSE allows you to digitally sign a SOAP Messages by overriding the SecureMessage method. To sign a SOAP message 1. The following code example overrides the SecureMessage method. public override void SecureMessage(SoapEnvelope envelope, Security security) { //Obtain the security token with which you want to sign the SOAP message with. KerberosToken kerbToken = new KerberosToken("host/" +...

Adding Security Credentials to SOAP

The WSE 3.0 for .NET enables the developers for creating one or more security credentials that can be added to the SOAP Message. The following procedure describes how to add one or more security credentials to a SOAP Message.A computer must be configured to accept the SOAP Messages embedded with the security credentials. Two types of security credentials that can be setup for the computer X.509...

Verify SOAP Messages Signed using Username and Password

To validate digital signatures for incoming SOAP Messages created using Username Token, WSE Must be configured. The following procedure explains how to configure a WSE to validate digital signatures created using Username Token. 1. Start Visual studio 2005 2. File Menu, New then click Project. 3. Select ASP.NET Web Service in  the templates pane. 4. Add a reference to the Microsoft.Web...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud