Importing and Calling Web Services from your CA Plex Applications Session Code: Lab13 Rob Layzell.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

Web Services & EAI.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Michael S. Chan xLM Solutions, LLC
Siebel Web Services Siebel Web Services March, From
31242/32549 Advanced Internet Programming Advanced Java Programming
Visual Scripting of XML
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
General introduction to Web services and an implementation example
SOAP.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
WTX Overview.
SOA with Progress Philipp Walther Consultant. © 2007 Progress Software Corporation2 Agenda  SOA  Enterprise Service Bus (ESB)  The Progress SOA Portfolio.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 42 Web Services.
Copyright © 2007 CA. All trademarks, trade names, services marks and logos referenced herein belong to their respective companies. 5C The Plex SOA Strategy.
Apache Axis: A Set of Java Tools for SOAP Web Services.
1 Web Services Visual C# 2008 Step by Step Chapter 30.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
SOA-4: Introduction to OpenEdge ® Integration Technologies Jamie Townsend Applied Architect.
VS.NET Syllabus By Peter Huang.
Introduction to .NET Rui Ye.
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
1 3. Implementing Web Services 1.Create SOAP proxy interfaces and WSDL based service descriptions 2.Register/publish services 3.Stores service descriptions.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
SSC2: Web Services. Web Services Web Services offer interoperability using the web Web Services provide information on the operations they can perform.
PB 9 Web Service Client ©2003 Sybase, Inc. and its subsidiaries. All rights reserved. n John Strano n PowerBuilder Evangelist n
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Grid Computing, B. Wilkinson, 20043b.1 Web Services Part II.
Obsydian OLE Automation Ranjit Sahota Chief Architect Obsydian Development Ranjit Sahota Chief Architect Obsydian Development.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Presentation: SOAP in a distributed object framework, Application Servers & AXIS SOAP.
CSCI 6962: Server-side Design and Programming Web Services.
Web Services Week 7 Aims: A detailed look at the underlying mechanisms for communication between web services Objectives: SOAP, WSDL, UDDI.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
1 Cisco Unified Application Environment Developers Conference 2008© 2008 Cisco Systems, Inc. All rights reserved.Cisco Public Introduction to Etch Scott.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
Chapter 7: Creating and Consuming XML Web Services Understanding XML Web Services Creating XML Web Services Deploying and Discovering XML Web Services.
Web Services from 10,000 feet Part I Tom Perkins NTPCUG CertSIG XML Web Services.
WSDL : Web Service Definition Language Dr. Yuhong Yan NRC-IIT-Fredericton Internet logic.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
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.
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
Labs: Create, deploy and test a simple web service
Sabri Kızanlık Ural Emekçi
z/Ware 2.0 Technical Overview
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Writing simple Java Web Services using Eclipse
Outline SOAP and Web Services in relation to Distributed Objects
Outline SOAP and Web Services in relation to Distributed Objects
C6: Introducing Native Invocation with the OpenEdge® Adapter for Sonic™ ESB Chris James Senior Consultant.
Presentation transcript:

Importing and Calling Web Services from your CA Plex Applications Session Code: Lab13 Rob Layzell

Why do we need it? A brief history of CA Plex and SOA How was this done before Plex r7.0? How do we do it? What can you import? How are services represented in the Plex model? Calling Web Services What gets deployed Advanced topics: Web Services versus WCF Services Configuring proxy servers Demo, Q&A, Summary agenda

why do we need web service import? a brief history of CA Plex and SOA Before SOA: Monolithic Applications Ridged Business Processes Functional Duplication Proprietary Communications Maintenance Complexity Tight-coupling between application, services and platforms

why do we need web service import? a brief history of CA Plex and SOA After SOA: Modularized Applications Flexible Business Processes Functional Reuse Standardized Communication Maintenance Simplification Loose-coupling between application, services and platforms ? ? ?

why do we need web service import? How was this done before CA Plex r7.0? Method 1: Hand Coding XNo model representation XManual setup Flexible XCant maintain easily XError prone Method 2: TransactXML ­Familiar pattern modeling XFairly complex setup Flexible modeling Easy maintenance High degree of automation

Anything with a WSDL SOAP-based Web service Windows Communication Foundation (WCF) HTTP-based Service how do we do it? what can we import? 1. Enter WSDL address, press Go 2. Review service details and descriptions 3. Enter service name, press OK

Query WSDL Generate Temporary.NET Stub Assembly Import.NET Stub Types into Plex how do we do it? how are services imported into the Plex model?

how do we do it? how are services represented in the Plex model? Document Service Name Operation Name Input Message Output Message Package Component Function Input Parameters Returns Parameter Web ServicePlex Model Object

Simple parameters Hold a single, discrete value Similar to COM Import, these are inherited from standard field objects Inherited from fields under System.Value Unlike COM Import, System.Value fields are created in the local model double GetQuote(string symbol) how do we do it? how are services represented in the Plex model?

Complex parameters Hold multiple values Structure defined in WSDL schema elements Imported as Plex structure fields under Package leaf fields are simple data types Inherited onto input and return parameters how do we do it? how are services represented in the Plex model?

QuoteData GetQuoteDetails(string symbol) how do we do it? how are services represented in the Plex model?

Enumerators Special case simple parameters imported as a System.Value.Enum type Each value imported as using FLD value VAL triples … Arrays Any data type can be an array Array sizes are currently fixed at 64 Change the FLD occurs NBR triple if you are expecting more or less data how do we do it? how are services represented in the Plex model?

Create an Object Reference Field to access imported Web Service in AD code Add field to Local variable group in a function Expand field in AD palette to see service operations how do we do it? calling web services

Use Call statement to call a service operation Parameters mapped the same as for other call types No need to create object instance using New statement how do we do it? calling web services

Monitor state of call using Environment Check application event log for actual runtime exceptions Returns value placed in the Output variable group how do we do it? calling web services

ObIn & ObOut classes for each service operation Web Service Client Stub assembly for imported service how do we do it? what gets generated and deployed?

how do we do it? what gets deployed? Web Service Client Stub generated based on WSDL address Address stored in Narrative for imported Package object Update address if location of web service changes and then regenerate & build your stub

Can also generate a WCF Proxy assembly for imported service Can only be used for remote services that use WCF (e.g. Plex WCF Service Connectors). advanced topic web services versus WCF services

Unless you have a specific need for a feature in the WCF column; Web Service Client Stub is recommended Type of stub generated decided by a Build File option: [CSharp build] ServiceWrapperType=Web|Wcf advanced topics web services versus WCF services Web Service Client StubWCF Service Client Stub SOAP 1.1 onlyAny WCF http-based protocol Black box proxyProxy has external configuration Widest platform availabilityDeepest.NET integration

Some corporate networks use Proxy Servers to facilitate access to the internet Configure the proxy server using the element in your Plex.NET application configuration file <proxy bypassonlocal = "true" proxyaddress = /> See MSDN Element documentation for more detailsMSDN Element advanced topics configuring proxy servers

Explains the following: General Web Service Import mechanism How different data types are represented Web and WCF Service client deployment CA Plex Partner Training Resources: Lab13 - Importing and Calling Web Services from your CA Plex Applications demo

? questions?

If you understand the Plex Object Model; you can understand imported Web Services If you understand Plex Fields (structure fields, arrays), then you can understand Web Service operation parameters If you can troubleshoot the Plex.NET runtime, you can troubleshoot Web Service operation call failures Currently only supports.NET runtime (client and server) Possible enhancements: Support other generators (e.g. Java) Add imported service type triple (PKG service type SYS/Web/WCF) Support non-http WCF protocols (e.g. TCPIP, named-pipes) summary