Title: Introduction to WSE 2
1Introduction to WSE 2
- By Joseph Cooney
- QMSDNUG 20th July 2004
http//www.dotnetjunkies.com/weblog/JosephCooney/
Email joseph.cooney_at_gmail.com
2Introduction To WSE 2
- WSE Web Services Enhancements.
- Released at Tech-Ed US 2004.
- .NET implementation of WS- Specifications.
- Pipeline of implementing your own Web Service
extensions.
http//msdn.microsoft.com/webservices/building/wse
/default.aspx (MSDN Home) http//msdn.microsoft.c
om/webservices/understanding/specs/default.aspx
(specs) http//www.msdn.microsoft.com/msdnmag/issu
es/04/08/XMLFiles/default.aspx
3Why WSE?
- For .NET Framework 1.x Web Services standards
were still evolving. - Pay as you go approach and WSE extensibility
model mirrors SOAP and associated standards. - .NET 1.x Web Services implementation tied
un-necessarily to HTTP.
4Securing Web Services
- WSE provides implementation of WS-Security,
WS-Trust, WS-SecureConversation etc. specs. - Authentication - security credentials (tokens)
are placed in the message. - Encryption
- Digitally signing messages
http//msdn.microsoft.com/webservices/building/wse
/default.aspx?pull/library/en-us/dnwse/html/wssec
authwse.asp (WSE 1) http//download.microsoft.com/
download/7/A/A/7AA994A0-98E1-42CC-A527-0FE1B49DEB4
0/HOL-WSE-Security.EXE (HOL from Tech-Ed 204 -
recommended)
5Web Service Policy
- WS-Policy allows separation of Service
configuration from business rules. - WSE 2 comes with a number of pre-defined policies
out of the box. - Facility for easily writing custom policy
assertions. - All the security settings we made previously in
code can be done via policy.
http//msdn.microsoft.com/msdnmag/issues/04/03/XML
Files/default.aspx
6SOAP Messaging
- Web Services in .NET 1.x were un-necessarily
coupled to HTTP. - WSE 2 Messaging provides other transports,
framework for writing your own. - Messaging patterns other than basic
request/response.
http//msdn.microsoft.com/webservices/building/wse
/default.aspx?pull/library/en-us/dnwse/html/wseme
ssaging.asp http//www.codeproject.com/useritems/
SoapMSMQ.asp http//download.microsoft.com/downlo
ad/C/9/B/C9B866B0-0787-4CA7-8A5B-92DE75CD7F99/HOL-
WSE-Messaging.EXE (HOL Tech-Ed 2004 - recommended)
7Web Service Addressing
- WSE 2 drops WS-Routing in favor of the newer
WS-Addressing. - Useful for Addressing end-points by means other
than HTTP. - New EndPointReference class in System.Web.Services
.Addressing replaces System.URI.
http//msdn.microsoft.com/webservices/building/wse
/default.aspx?pull/library/en-us/dnwebsrv/html/ws
routetowsadd.asp
8WSE in the future
- Features in WSE will eventually be rolled into
Indigo. - Last WSE release will be wire-level compatible
with Indigo. - There will probably be at least 1 more major WSE
release before Indigo is released. - WSE2 sp1 to be released very shortly
http//www.dynamic-cast.com/mt-archives/000060.htm
l (things fixed in sp1)
9WSE Resources
- WSE on the MSDN http//msdn.microsoft.com/webservi
ces/building/wse/default.aspx - WSE Newsgroup Microsoft.public.dotnet.framework.we
bservices.enhancements - Plumbwork Orange (WSE enhanced)
http//workspaces.gotdotnet.com/plumbwork - Weblogs http//benjaminm.net/ http//bristowe.com
/blog/ http//blogs.msdn.com/rdias
http//blogs.msdn.com/Mpowell/ http//www.dynamic-
cast.com/ http//pluralsight.com/blogs/aaron/
http//weblogs.asp.net/yreynhout/