SlideShare a Scribd company logo
BY,
B.SOUNDARYA,
II – M.SC (CS),
DEPARTMENT OF CS & IT,
WEB PROGRAMMING
NADAR SARASWATHI COLLEGE OF ARTS &
SCIENCE
WEB SERVICES
&
WCF SERVICES
WEB SERVICES INTRODUCTION
 A Web services makes software application
resources available over networks using standard
technologies.
 Because web services are based on standard
interfaces, they can communicate even if they are
running on different operation systems and are
written in different language.
 For this reason they are an excellent approach for
building distributed application that must
incorporate diverse systems over a network.
The following topic outlines the standard technologies
that you use to built web services and the advanced
functionality available through asynchronous web
services:
 Standard Technologies
 WSDL Files
 XML and SOAP
 Network Protocols
 Web Service Architecture
STANDARD TECHNOLOGIES
 Web Services are able to expose their
resources in this generally accessible way
because they adhere to recognized standards.
 A web service:
1. Publicly describes its own functionality
through a WSDL File.
2. Communicates with other application via
XML messages, often formatted with SOAP.
3. Employs a standard network protocol such as
HTTP.
WSDLFILES
 The Web services description language is a
standard XML format for describing web
services.
 A WSDL files describes a particular web
service so that others software applications
can interface with it.
 WSDL are generally publicly accessible and
provide enough detail so that potential clients
can interface with it.
 WSDL are generally publicly accessible and
provide enough detail so that potential clients
can figure out how to operate the service
solely from reading the WSDL file.
 If a web service translates English sentence
into French, the WDSL file will explain how
service, and how the French translation will be
returned to the requesting client.
XML AND SOAP
 Extensible markup language (XML) message
provides a common language by which
different applications can talk to one another
over a network.
 Most web services communicate via XML .
 A client sends an XML message contains the
results of the operation.
 In most cases these XML messages are
formatted according to SOAP SYNTAX.
CONTUD,…..
 Simple Object Access Protocol (SOAP),
specifies a standard format for application to
call each other methods and pass data to one
author.
 This type of messages supported by a
particular web service are delineated in the
services WDSL file.
NETWORK PROTOCOLS
 Web services receive requests and send
responses using widely used protocols and
java message service.
 A web service may support more than one
protocol.
 The protocols that a web services supports are
published in the WSDL file.
WEB SERVICEARCHITECTURE
 The following illustration shows the relationship
between a web service its client software
applications and the resources it users including,
databases other web services, and so on.
 A web service communication with client and
resources over standard protocol in such as HTTP
by exchanging XML messages.
 The web logic server on which the web service is
deployed as responsible for routing incoming
XML messages to the web services code that you
write.
Here are some well known web services
that use markup languages:
1. Web template
2. JSON-RPC
3. JSON-WSP
4. WSDL
5. WSCL
6. WSFL
7. WSME
8. XINS
BASIC OFWCF SERVICE
 WCF Stands for Windows Communication
Foundation.
 It is a programming platform to build,
configure and deploy network distributed
services.
 It is a combined feature of the web services,
Remoting, MSMQ .
WHYWCF ?
 WCF service is flexible , as it can be hosted in
IIS, windows activation services, managed
windows services and supports self hosting.
 It supposed HTTP,WT_HTTP,TCP, Custom,
Named pipes, P2P,MSMQ, ect.
 It can sent/ receive messages through any
Transport protocol message format.
 By default, it uses SOPE for communication.
 It is more secure than ASP.NET web service.
 It doesn’t return unhandled exceptions to the
clients as SOAP faults.
ADVANTAGES
 WCF provides better security than ASMX
Web service.
 Small changes in the configuration are
required to change implementation of security
model and change the binding.
 Integrated logging mechanism.
 Interoperability with the other services.
CREATING THE WCF
STEP 1:
Open the visual studio and create a “New
project” and select the WCF option where
various WCF applications can be created, here
I want a service application and select that
choice and name the application and click ok.
Web programming
STEP 2:
1. On successful project creation now visual
studio gives us the option for automatic code
sample.
2. All the reference are added and some of the
references are highlighted with red point for
your visual.
Web programming
STEP 3:
1. Set the services.SVC files as the “ Start up
page” and execute the application, so
automatically the WCF Test client window
will be displayed.
Web programming
STEP 4:
1. WCF test client execution
2. Here all the methods will be displayed and
also the appropriate method details will be
displayed on the right side pane when you
select the methods , which are readily
testable.
Web programming
STEP 5:
1. “invoke” method will execute the method
with the input value and gives us the
response form the service and you can view
the response in the application output section
of WCF test client.
Web programming
STEP 6:
1. Now you have successfully created the WCF
application and also tested using a “WCF
TEST CLIENT” to make it real on the other
part just think how many lines of code you
have typed for this applications execution.
Web programming
THANK YOU!!!

More Related Content

What's hot (20)

web service technologies
web service technologiesweb service technologies
web service technologies
Yash Darak
 
Introduction to web services and how to in php
Introduction to web services and how to in phpIntroduction to web services and how to in php
Introduction to web services and how to in php
Amit Kumar Singh
 
Web services
Web servicesWeb services
Web services
Akshay Ballarpure
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 ee
Naresh Chinnu
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
Jignesh Aakoliya
 
Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)
Martin Necasky
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
Ponraj
 
Web services
Web servicesWeb services
Web services
Ankit Jain
 
Web Services
Web ServicesWeb Services
Web Services
Gaurav Tyagi
 
Web services test automation framework, challenges & benefits
Web services test automation framework, challenges & benefitsWeb services test automation framework, challenges & benefits
Web services test automation framework, challenges & benefits
Cigniti Technologies Ltd
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
Gagandeep Singh
 
Web service
Web serviceWeb service
Web service
Vaithiyanathan Govindarajan
 
Overview of web services
Overview of web servicesOverview of web services
Overview of web services
People Strategists
 
Web services
Web services Web services
Web services
BTailor
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
Safaa Farouk
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
Khasim Saheb
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
guest0df6b0
 
Web Services ppt
Web Services pptWeb Services ppt
Web Services ppt
OECLIB Odisha Electronics Control Library
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
ipower softwares
 
Web services
Web servicesWeb services
Web services
Mohit Bishnoi
 
web service technologies
web service technologiesweb service technologies
web service technologies
Yash Darak
 
Introduction to web services and how to in php
Introduction to web services and how to in phpIntroduction to web services and how to in php
Introduction to web services and how to in php
Amit Kumar Singh
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 ee
Naresh Chinnu
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
Jignesh Aakoliya
 
Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)
Martin Necasky
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
Ponraj
 
Web services test automation framework, challenges & benefits
Web services test automation framework, challenges & benefitsWeb services test automation framework, challenges & benefits
Web services test automation framework, challenges & benefits
Cigniti Technologies Ltd
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
Gagandeep Singh
 
Web services
Web services Web services
Web services
BTailor
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
Safaa Farouk
 
Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
Khasim Saheb
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
guest0df6b0
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
ipower softwares
 

Similar to Web programming (20)

Java web services
Java web servicesJava web services
Java web services
kumar gaurav
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
pasam suresh
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio
 
Web Programming
Web ProgrammingWeb Programming
Web Programming
VijayapriyaP1
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
ssuser403d87
 
Anatomy Of A Web Service
Anatomy Of A Web ServiceAnatomy Of A Web Service
Anatomy Of A Web Service
kchavd01
 
Cloud computing 20 service modelling
Cloud computing 20 service modellingCloud computing 20 service modelling
Cloud computing 20 service modelling
Vaibhav Khanna
 
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssdsassjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
simplyamrita2011
 
webservices overview
webservices overviewwebservices overview
webservices overview
elliando dias
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
ishmecse13
 
Web services
Web servicesWeb services
Web services
aspnet123
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
ssuser041880
 
dotNETfinal.ppt
dotNETfinal.pptdotNETfinal.ppt
dotNETfinal.ppt
almkjdfhjjfa
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
vibrantuser
 
Advantage of WCF Over Web Services
Advantage of WCF Over Web ServicesAdvantage of WCF Over Web Services
Advantage of WCF Over Web Services
Siva Tharun Kola
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
Yisal Khan
 
Web Services
Web Services Web Services
Web Services
Nibha Jain
 
Internet Applications and Web Programming
Internet Applications and Web ProgrammingInternet Applications and Web Programming
Internet Applications and Web Programming
Matrix823409
 
Xml.ppt
Xml.pptXml.ppt
Xml.ppt
praveen gautam
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
pasam suresh
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
ssuser403d87
 
Anatomy Of A Web Service
Anatomy Of A Web ServiceAnatomy Of A Web Service
Anatomy Of A Web Service
kchavd01
 
Cloud computing 20 service modelling
Cloud computing 20 service modellingCloud computing 20 service modelling
Cloud computing 20 service modelling
Vaibhav Khanna
 
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssdsassjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
assjdksjksjkjskjdkfjdkjfkdjfjdijdjidfjigjdisdssds
simplyamrita2011
 
webservices overview
webservices overviewwebservices overview
webservices overview
elliando dias
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
ishmecse13
 
Web services
Web servicesWeb services
Web services
aspnet123
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
vibrantuser
 
Advantage of WCF Over Web Services
Advantage of WCF Over Web ServicesAdvantage of WCF Over Web Services
Advantage of WCF Over Web Services
Siva Tharun Kola
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
Yisal Khan
 
Internet Applications and Web Programming
Internet Applications and Web ProgrammingInternet Applications and Web Programming
Internet Applications and Web Programming
Matrix823409
 

More from sowfi (20)

Lavanya m.sc
Lavanya m.scLavanya m.sc
Lavanya m.sc
sowfi
 
Lavanya m.sc
Lavanya m.scLavanya m.sc
Lavanya m.sc
sowfi
 
Soundarya m.sc
Soundarya m.scSoundarya m.sc
Soundarya m.sc
sowfi
 
Software engineering 2
Software engineering 2Software engineering 2
Software engineering 2
sowfi
 
Compiler design
Compiler designCompiler design
Compiler design
sowfi
 
Big data analytics
Big data analyticsBig data analytics
Big data analytics
sowfi
 
OS
OSOS
OS
sowfi
 
OS
OSOS
OS
sowfi
 
RDBMS
RDBMSRDBMS
RDBMS
sowfi
 
DM
DMDM
DM
sowfi
 
CN
CNCN
CN
sowfi
 
CN
CNCN
CN
sowfi
 
Dm
DmDm
Dm
sowfi
 
RDBMS
RDBMSRDBMS
RDBMS
sowfi
 
connected compounds
connected compoundsconnected compounds
connected compounds
sowfi
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHM
sowfi
 
JDBE
JDBEJDBE
JDBE
sowfi
 
AUTO & HETRO CORRELATOR
AUTO & HETRO CORRELATORAUTO & HETRO CORRELATOR
AUTO & HETRO CORRELATOR
sowfi
 
single source shorest path
single source shorest pathsingle source shorest path
single source shorest path
sowfi
 
servlet in java
servlet in javaservlet in java
servlet in java
sowfi
 
Lavanya m.sc
Lavanya m.scLavanya m.sc
Lavanya m.sc
sowfi
 
Lavanya m.sc
Lavanya m.scLavanya m.sc
Lavanya m.sc
sowfi
 
Soundarya m.sc
Soundarya m.scSoundarya m.sc
Soundarya m.sc
sowfi
 
Software engineering 2
Software engineering 2Software engineering 2
Software engineering 2
sowfi
 
Compiler design
Compiler designCompiler design
Compiler design
sowfi
 
Big data analytics
Big data analyticsBig data analytics
Big data analytics
sowfi
 
RDBMS
RDBMSRDBMS
RDBMS
sowfi
 
RDBMS
RDBMSRDBMS
RDBMS
sowfi
 
connected compounds
connected compoundsconnected compounds
connected compounds
sowfi
 
GENETIC ALGORITHM
GENETIC ALGORITHMGENETIC ALGORITHM
GENETIC ALGORITHM
sowfi
 
JDBE
JDBEJDBE
JDBE
sowfi
 
AUTO & HETRO CORRELATOR
AUTO & HETRO CORRELATORAUTO & HETRO CORRELATOR
AUTO & HETRO CORRELATOR
sowfi
 
single source shorest path
single source shorest pathsingle source shorest path
single source shorest path
sowfi
 
servlet in java
servlet in javaservlet in java
servlet in java
sowfi
 

Recently uploaded (20)

Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...Transform tomorrow: Master benefits analysis with Gen AI today webinar,  30 A...
Transform tomorrow: Master benefits analysis with Gen AI today webinar, 30 A...
Association for Project Management
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 

Web programming

  • 1. BY, B.SOUNDARYA, II – M.SC (CS), DEPARTMENT OF CS & IT, WEB PROGRAMMING NADAR SARASWATHI COLLEGE OF ARTS & SCIENCE WEB SERVICES & WCF SERVICES
  • 2. WEB SERVICES INTRODUCTION  A Web services makes software application resources available over networks using standard technologies.  Because web services are based on standard interfaces, they can communicate even if they are running on different operation systems and are written in different language.  For this reason they are an excellent approach for building distributed application that must incorporate diverse systems over a network.
  • 3. The following topic outlines the standard technologies that you use to built web services and the advanced functionality available through asynchronous web services:  Standard Technologies  WSDL Files  XML and SOAP  Network Protocols  Web Service Architecture
  • 4. STANDARD TECHNOLOGIES  Web Services are able to expose their resources in this generally accessible way because they adhere to recognized standards.  A web service: 1. Publicly describes its own functionality through a WSDL File. 2. Communicates with other application via XML messages, often formatted with SOAP. 3. Employs a standard network protocol such as HTTP.
  • 5. WSDLFILES  The Web services description language is a standard XML format for describing web services.  A WSDL files describes a particular web service so that others software applications can interface with it.  WSDL are generally publicly accessible and provide enough detail so that potential clients can interface with it.
  • 6.  WSDL are generally publicly accessible and provide enough detail so that potential clients can figure out how to operate the service solely from reading the WSDL file.  If a web service translates English sentence into French, the WDSL file will explain how service, and how the French translation will be returned to the requesting client.
  • 7. XML AND SOAP  Extensible markup language (XML) message provides a common language by which different applications can talk to one another over a network.  Most web services communicate via XML .  A client sends an XML message contains the results of the operation.  In most cases these XML messages are formatted according to SOAP SYNTAX.
  • 8. CONTUD,…..  Simple Object Access Protocol (SOAP), specifies a standard format for application to call each other methods and pass data to one author.  This type of messages supported by a particular web service are delineated in the services WDSL file.
  • 9. NETWORK PROTOCOLS  Web services receive requests and send responses using widely used protocols and java message service.  A web service may support more than one protocol.  The protocols that a web services supports are published in the WSDL file.
  • 10. WEB SERVICEARCHITECTURE  The following illustration shows the relationship between a web service its client software applications and the resources it users including, databases other web services, and so on.  A web service communication with client and resources over standard protocol in such as HTTP by exchanging XML messages.  The web logic server on which the web service is deployed as responsible for routing incoming XML messages to the web services code that you write.
  • 11. Here are some well known web services that use markup languages: 1. Web template 2. JSON-RPC 3. JSON-WSP 4. WSDL 5. WSCL 6. WSFL 7. WSME 8. XINS
  • 12. BASIC OFWCF SERVICE  WCF Stands for Windows Communication Foundation.  It is a programming platform to build, configure and deploy network distributed services.  It is a combined feature of the web services, Remoting, MSMQ .
  • 13. WHYWCF ?  WCF service is flexible , as it can be hosted in IIS, windows activation services, managed windows services and supports self hosting.  It supposed HTTP,WT_HTTP,TCP, Custom, Named pipes, P2P,MSMQ, ect.  It can sent/ receive messages through any Transport protocol message format.
  • 14.  By default, it uses SOPE for communication.  It is more secure than ASP.NET web service.  It doesn’t return unhandled exceptions to the clients as SOAP faults.
  • 15. ADVANTAGES  WCF provides better security than ASMX Web service.  Small changes in the configuration are required to change implementation of security model and change the binding.  Integrated logging mechanism.  Interoperability with the other services.
  • 16. CREATING THE WCF STEP 1: Open the visual studio and create a “New project” and select the WCF option where various WCF applications can be created, here I want a service application and select that choice and name the application and click ok.
  • 18. STEP 2: 1. On successful project creation now visual studio gives us the option for automatic code sample. 2. All the reference are added and some of the references are highlighted with red point for your visual.
  • 20. STEP 3: 1. Set the services.SVC files as the “ Start up page” and execute the application, so automatically the WCF Test client window will be displayed.
  • 22. STEP 4: 1. WCF test client execution 2. Here all the methods will be displayed and also the appropriate method details will be displayed on the right side pane when you select the methods , which are readily testable.
  • 24. STEP 5: 1. “invoke” method will execute the method with the input value and gives us the response form the service and you can view the response in the application output section of WCF test client.
  • 26. STEP 6: 1. Now you have successfully created the WCF application and also tested using a “WCF TEST CLIENT” to make it real on the other part just think how many lines of code you have typed for this applications execution.
  翻译: