Student: Popa Andrei-Sebastian

Slides:



Advertisements
Similar presentations
JD Edwards Service JD Edwards Service SAP Service SAP Service Java Appl. Service Java Appl. Service.Net Appl. Service.Net Appl. Service CICS Service.
Advertisements

TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
COS 461 Fall 1997 Network Objects u first good implementation: DEC SRC Network Objects for Modula-3 u recent implementation: Java RMI (Remote Method Invocation)
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
C# and Windows Programming Application Domains and Remoting.
.NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components.
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Windows Communication Foundation and Web Services.
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Integration case study Week 8 – Lecture 1. Enrolment request (Workstation) Application server Database server Database New University Student Record System.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
.Net Remoting. 2 Distributed Computing under.Net In.Net, there are three levels of access to distributed computing machinery: In.Net, there are three.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
Lecture 15 Introduction to Web Services Web Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
Windows Network Programming ms-help://MS.MSDNQTR.2004JAN.1033/winsock/winsock/windows_sockets_start_page_2.htm 井民全.
Deferred Messaging Brown Bag 1. Agenda 2 Background Solution Implementation Details Additional Information.
Virtual techdays INDIA │ august 2010 Deep Dive into WCF 4.0 Features Sarath S S V S │ Program Manager, BING, Microsoft India R&D.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
.NET Mobile Application Development XML Web Services.
Endpoints Lesson 17. Skills Matrix Endpoints Endpoints provide a reliable, securable, scalable messaging system that enables SQL Server to communicate.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
Ext JS - Direct Bridging The Gap A DMSBT Presentation By Timothy Chandler.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Windows Communication Foundation and Web Services
Introducing the Microsoft® .NET Framework
WCF 4.0: Routing & Discovery Services
Jim Fawcett CSE775 – Distributed Objects Spring 2003
Web Services On Devices: Rally Implementation
.NET Remoting Priyanka Bharatula.
Sabri Kızanlık Ural Emekçi
Data Bridge Solving diverse data access in scientific applications
Chapter 5 Remote Procedure Call
Self Healing and Dynamic Construction Framework:
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Outline SOAP and Web Services in relation to Distributed Objects
Java Distributed Computing
Remote Method Invocation
Distribution and components
CE-105 Spring 2007 Engr. Faisal ur Rehman
Outline SOAP and Web Services in relation to Distributed Objects
Exam : Implementing Microsoft Azure Infrastructure Solutions
Windows Communication Foundation and Web Services
Chapter 3: Windows7 Part 4.
Ashish Pandit IT Architect, Middleware & Integration Services
WEB API.
The future of distributed systems architecture
Inventory of Distributed Computing Concepts
Chapter 40 Remote Method Invocation
Bond-Jini Interoperability
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Chapter 46 Remote Method Invocation
Introduction to Web Services
Chapter 46 Remote Method Invocation
Distributed System using Web Services
WEB SERVICES From Chapter 19, Distributed Systems
Chapter 42 Web Services.
Network Diagnostics Framework
New Tools In Education Minjun Wang
Distributed System using Web Services
Jim Fawcett CSE791 – Distributed Objects Spring 2002
Presented by Greta Jurgelevičiūtė
Running C# in the browser
Presentation transcript:

Student: Popa Andrei-Sebastian Windows Web Services Student: Popa Andrei-Sebastian

Purpose WWSAPI is a native-code implementation of SOAP which provides core network communication functionality by supporting a set of the WS-* and .NET-* family of protocols. WWSAPI is designed to be used by components/applications which fall into one of the following categories: Native code mandate Require minimal dependencies Require minimal startup time Memory constrained environments  

Developer audience Windows Web Services API (WWSAPI) offers C/C++ application programming interface (API) for building SOAP based web services and clients to them. A basic understanding of web services and protocol associated with them is important to use this API.

Run-time requirements Windows Web Services API (WWSAPI) is an operating-system component of Windows 7 and Windows Server 2008 R2 or later versions of Microsoft Windows.

The Networking APIs enable communication between applications over a network. You can also create and manage access to shared resources, such as directories and network printers.

The Windows Web Services API is a layered API and it may be pictured as follows

The WWSAPI is a layered API The WWSAPI is a layered API. We expect most developers to target the Service Model, which is a method-based programming model. In the Service Model, the Service Host provides the server side programming model, while Service Proxy provides the client side programming model. Every layer exposes a set of APIs and types that can be used with APIs of that layer.

Service Model The top level layer called the Servic Model provides a method-based programming model and it is the easiest model to use. In the Service Model, the Service Host provides the server side programming model, while the Service Proxy provides the client side programming model. Context is used within the Service Model to pass in a relevant state available to the service operation and/or the callback when it is invoked. And Service Contract is used to specify a service contract on an endpoint exposed on the service.

XML Layer The Channel Layer is in turn built upon a lightweight XML framework, which includes deserialization of C data types. The following components and operations are part of the XML Layer: XML Writer XML Reader XML Buffer Serialization XML Language Support

Channel Layer The Service Model is built upon a Channel Layer, which provides full flexibility but is more difficult to use. The following components and operations are part of the Channel Layer: Message Channel Listener Faults Url Security Metadata Import

Common to all layers The following are topics that apply to any of the three layers Errors Asynchronous Model Thread Safety Tracing Cancellation Utilities Debugging Wsutil Compiler tool Heap

The Windows Web Services Functions support the method-based programming model of the Windows Web Services API. The Service Host runtime environment of the Service Model API layer provides the server side programming model. A server-side application opens, closes, and frees a service host resource as needed to process client requests. The Service Proxy provides the client-side API programming model. Client-side applications can send and receive messages over a channel through the service proxy as method calls.

Callback Functions Callbacks enable an application to call a function defined at another layer or level. The application registers the function argument as a handler that is to be called asynchronously at a later time as required. The callback is invoked if the function completes asynchronously indicating function success or error.

Windows Web Services Return Values E_INVALIDARG 0x8007000E The common name of the certificate does not match the value specified by the application. CERT_E_CN_NO_MATCH 0X800B010F One or more arguments are invalid. WS_E_ENDPOINT_UNREACHABLE 0x804d0010 There is no route or network connectivity to the endpoint. WS_S_ASYNC 0x4d0000 A function is completing asynchronously. 

Example of Asynchronous Function The example consists of the following parts: The Add function which will add two numbers synchronously or asynchronously. It creates a thread as an implementation detail for the asynchronous case. The CallAddSync function invokes the Add functions synchronously. The CallAddAsync function invokes the Add functions asynchronously. finman.html

In conclusion I do agree that all these proxies, having to create/free structures, handling HRESULTs etc. may seem a tad foreign if you are coming from a pure C# or VB.NET world. But if you are not put off by C++, and keeping your service or client code native is important to you, then WWS sure seems to be a great way to do it.

References https://docs.microsoft.com/en-us/windows/desktop/wsw/portal https://www.codeproject.com/Articles/38535/A-first-look-at-the-Windows-Web-Services-API https://docs.microsoft.com/en-gb/windows/desktop/wsw/windows-web-services-reference