Unit 5
Upcoming SlideShare
Loading in...5

Unit 5






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Unit 5 Unit 5 Presentation Transcript

  • Chapter 12 Interoperability and Integration CA 907 WCF 1  WS-* Interoperability  Integration with legacy systems.  Contents are from: - Textbook - Pro WCF Practical Microsoft SOA Implementation by Dennis Mulder
  • Interoperability  Ability to communicate with other platforms thru standard protocol like SOAP.  SOAP is platform independent.  To achieve interoperability WCF team generated many compatibility tests for a subset of different vender specifications.  Microsoft created WCF interoperability Plug- Fest #  Sun is one of the participants.CA 907 WCF 2
  • Interoperability  Sun web services team worked with Microsoft WCF team.  They released open source framework – Project Tango1 which focuses on interoperability with WCE.  It has evolved into Web Services Interoperability Technology(WSIT)2  Another major participant in the WCF/.NET interoperability is Axis Project from Apache Software Foundation 3 CA 907 WCF 3
  • Interoperability 1. http://weblogs.java.net/blogharoldcarr/archive/ 2006/02/an_overview_of_1.html 2. http://java.sun.com/webservices/interop/index.jsp 3. http://ws.apache.org/axis2  One of the earliest efforts is to implement WS- I Basic Profile. CA 907 WCF 4
  • Interoperability WS-I Basic Profile  Some venders had chosen different versions of WSDL or SOAP.  So getting interoperability among diff. system is very difficult.  The early SOA vendors did not confirm to open standards, so true interoperability between different vendors is very difficult. CA 907 WCF 5
  • Interoperability WS-I Basic Profile  Major participants form Web Services Interoperability (WS-I) organization to develop web services standard in non- proprietary and open manner.  Currently appox. 90 organizations are participating. CA 907 WCF 6
  • Interoperability WS-I Basic Profile  Core components - In April 2004 WS-I released version 1.0. - This set of specifications laid the groundwork for vendors and customers to form strong base. - Many companies and open sources groups recognized that market will no longer allow stand alone proprietary interoperability stack. CA 907 WCF 7
  • Interoperability WS-I Basic Profile  Core components - S0AP 1.1 - WSDL 1.1 - UDDI 2.0 - XML 1.0 - XML Schema Part1: Structures - XML Schema Part 2: Datatypes - SSL Version 3.0 etc…. CA 907 WCF 8
  • Interoperability WS-I Basic Profile  ASP.NET Support for basic profile - Initially it did not support basic profile 1.0. - With ASP.NET 2.0 support for basic profile 1.1 was available *http://www.servicetechspecs.com/ws* CA 907 WCF 9
  • Interoperability Web Service protocol support by WCF  BasicHttpBinding - Supports WS-Basic Profile 1.1 - Allows to create endpoint which can communicate with *.asmx based web services.  WSHttpBinding - Basic + secure+reliable sessions. CA 907 WCF 10
  • Interoperability Web Service protocol support by WCF  WSDualHttpBinding - Copy of WSHttpBinding but it supports duplex WCF Services are compatible with Web Service Enhancement(WSE 3.0) CA 907 WCF 11
  • Integration  Process of linking together different computing systems and software applications physically or functionally, to act as a unit.  WCF supports COM+ Integration, MSMQ Difference between Interoperability and Integration CA 907 WCF 12
  • Chapter 13 Deploying WCF  Installing WCF Services  Upgrading existing services  Troubleshooting WCF service installations. CA 907 WCF 13
  • Installing WCF Services  Operating System support - Windows XP SP2 - Windows Server 2003 with SP1 - Windows Vista (WCF is installed) - Window 7  Required Software - .NET Framework 3.0, 3.5 and … - IIS(Internet Information Services) - MSMQ(MicroSoft Message Queuing) CA 907 WCF 14
  • Installing WCF Services  .NET Framework - http://www.microsoft.com/en- in/download/details.aspx?id=22 - Needed on machine in which you want to run WCF Service *http://en.wikipedia.org/wiki/.NET_Framework* CA 907 WCF 15
  • Installing WCF Services  IIS - Needed on machine in which you want to Host WCF Service - To install it open control panel add remove programs Add/Remove Windows Components CA 907 WCF 16
  • Installing WCF Services CA 907 WCF 17
  • Installing WCF Services  MSMQ - To install it open control panel add remove programs Add/Remove Windows Components And view previous screen CA 907 WCF 18
  • Installing WCF Services  Hosting on IIS - Create virtual directory in c:inetpubwwwroot directory - Copy of publish .svc and config files (see demo)  Hosting as Windows Service - Create .exe of your host application. - Install it by using installutil.exe - Start service by net start command - Stop service by net stop command CA 907 WCF 19
  • Upgrading Services  Upgrading in IIS is very easy copy or republish the assembly, config, svc files and you are done.  In Window Service you need to restart service manually after doing changes in your code. So that the changes are available. CA 907 WCF 20
  • Trouble Shooting WCF installations  Client/Server Communications - It client cannot communicate with service then problem might not be with client only. - Start looking at service first, by using svcutil.exe - On IIS try the address of service in browser. - If both options are ok then problem is on client side. - Review client config file. CA 907 WCF 21
  • Trouble Shooting WCF installations  Unexpected Service behavior - Reason is unhandled exception. - It can be monitoring by setting IncludeExceptionDetailInFaults=true either in code or config. - After testing you can turn it off. - You can also see Trace viewer, Message logging More on trouble shooting http://msdn.microsoft.com/en-us/aa702636.aspxCA 907 WCF 22
  • References  Cross Platform http://en.wikipedia.org/wiki/Cross_platform  WS-* Specs http://www.servicetechspecs.com/ws  WS-* Specs = WS-Addressing, WS- Discovery, WS- Federation, WS-Policy, WS-Security, and WS- Trust http://en.wikipedia.org/wiki/List_of_web_service_ specifications CA 907 WCF 23
  • References  Miscellaneous http://msdn.microsoft.com/en- us/library/aa480021.aspx http://www.oracle.com/us/products/middleware/soa/ overview/index.html http://www.whatissoa.com/ http://www.dotnetobject.com/Thread-WCF- Interview-Questions-and-Answer http://www.questpond.com/dotnet/WCF-Interview- Questions-and-Answers.html CA 907 WCF 24