"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Unit 5
1. 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
2. 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
3. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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
11. 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
12. 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
14. 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
15. 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
16. 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
18. 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
19. 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
20. 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
21. 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
22. 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