Processing Asynchronous REST Requests in Orchestration Designer

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Introduction to Ajax.
Advertisements

Part 2.  Arrays  Functions  Passing Variables in a URL  Passing variables with forms  Sessions.
 2002 Prentice Hall. All rights reserved. Chapter 9: Servlets Outline 9.1 Introduction 9.2 Servlet Overview and Architecture Interface Servlet and.
Lecture 6/2/12. Forms and PHP The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input When dealing with HTML forms.
The Web Warrior Guide to Web Design Technologies
Objectives Ch. D - 1 At the end of this chapter students will: Know the general architecture and purpose of servlets Understand how to create a basic servlet.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
SE-2840 Dr. Mark L. Hornick1 Java Servlet-based web apps Servlet Architecture.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Christopher Paolini Computational Science Research Center College of Engineering San Diego State University Computational Science 670 Fall 2009 Monday.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Ajax (Asynchronous JavaScript and XML). AJAX  Enable asynchronous communication between a web client and a server.  A client is not blocked when an.
Comp2513 Forms and CGI Server Applications Daniel L. Silver, Ph.D.
Server-side Scripting Powering the webs favourite services.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Standalone Java Application vs. Java Web Application
Website Development with PHP and MySQL Saving Data.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
CSC 2720 Building Web Applications FLEX –Working with Remote Data.
IP BROS Presentation by: Amen Ahmed. Mario and Luigi are here to help us find our way through the internet. Mario will act as our browser and Luigi will.
Course Schedule Report Web Service Carolyn Cracraft Lisa de Larios-Heiman.
Web App GUI: JSP Basics & Forms 3680 Enterprise Programming.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Jsp (Java Server Page) Is a server side program.
1 Seminar on Service Oriented Architecture Principles of REST.
Rails & Ajax Module 5. Introduction to Rails Overview of Rails Rails is Ruby based “A development framework for Web-based applications” Rails uses the.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
ASP.Net, Web Forms and Web Controls 1 Outline Session Tracking Cookies Session Tracking with HttpSessionState.
1 Java Servlets l Servlets : programs that run within the context of a server, analogous to applets that run within the context of a browser. l Used to.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Web Server.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
ICM – API Server & Forms Gary Ratcliffe.
Adapted from  2012 Prentice Hall, Inc. All rights reserved. 5 th ed: Chapter 2 and th ed: 4.11 SY306 Web and Databases for Cyber Operations.
AJAX. Overview of Ajax Ajax is not an API or a programming language Ajax aims to provide more responsive web applications In normal request/response HTTP.
NMD202 Web Scripting Week2. Web site
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
Web Server Assignment1 Reference ( Main class (for example : MyServer.java) –Initialization.
JavaScript and Ajax Week 10 Web site:
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTEGRATION.
CAS Proxying and Web Services The somewhat “easy way” Presented By: Joseph Mitola Programmer/Analyst Office Of The Registrar.
VXML Send and Receive OD Development Team Ross Yakulis.
USING ANDROID WITH THE INTERNET. Slide 2 Lecture Summary Getting network permissions Working with the HTTP protocol Sending HTTP requests Getting results.
PHP – Hypertext Preprocessor.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Data and tools on the Web have been exposed in a RESTful manner. Taverna provides a custom processor for accessing such services.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Knowledge Transfer Avaya Aura® Experience Portal 7
Servlets.
Web Protocols and Practice
Node.js Express Web Applications
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
Play Framework: Introduction
Subbu Allamaraju BEA Systems Inc
The Request & Response object
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Web Systems Development (CSC-215)
Chapter 2 Interacting with the Customer
Putting the I in IoT.
Objectives In this lesson you will learn about: Need for servlets
PHP and Forms.
Lecture 5: Functions and Parameters
ASP.NET MVC Web Development
Sending a text message (and more)
Cross Site Request Forgery (CSRF)
Presentation transcript:

Processing Asynchronous REST Requests in Orchestration Designer Ross Yakulis

Orchestration Designer Web service call Create a REST web service operation in OD. The operation must pass the web service session:sessionid the MPP IP address, get from request. getRemoteAddr(). Need to write Java to get the value and store into an OD variable. a handler URL for the reply Getting the reply Need to add a catch for externammessage.<vxmlevent> vxmlevent is the name the web service reply handler sends to the CCXML basic HTTP IO Proccessor When the event is caught, use goto and a capture expression to get the result data. The expression is application.lastmessage$.content

Web Service Web Service Axis Limitations Must return 200 Okay Must return some data, even if it is dummy data ({"result":“okay"}) After completing the request the results are posted to the handler URL with the CCXML session id and the MPP IP address.

Web Service Reply Handler Use the IP address and session id to send an event to CCXML. vxmlevent is the name of the event to be sent to the VXML application and message is the data Note to invoke the CCXML HTTP IO Processor you have to have mutual authentication setup between the application server and the Experience Portal system Send avaya.vxml.event with parameters vxmlevent and message as well as session id.

Experience Portal Default CCXML has a transition for the event avaya.vxml.event Input vxmlevent, name of the event to send to vxml Input message, the payload or reply from the web service. This transition sends an event to the vxml application Note, the data for the external event to VXML is limited to a single string currently. So the data may need to be parsed once the application receives it. Could also send the data as a string delimited by | which OD would treat as a collection.

Static Runtime Model OD Speech Asynchronous REST Web Service Request + Callback URL and CCXML Session Id OD data Node WS Handler Reply + CCXML Session Id Start Dialog HTTP Post to the basic httpioprocessor (avaya.vxml.event) with vxmlevent set to asyncwsreply Voice Browser CCXML Browser Event to VXML (externalmessage.asyncwsreply)