Advanced Web Services: Soap Headers and more

Slides:



Advertisements
Similar presentations
1 Java WS Core for Developers Rachana Ananthakrishnan Jarek Gawor.
Advertisements

Fujitsu Laboratories of Europe © 2004 What is a (Grid) Resource? Dr. David Snelling Fujitsu Laboratories of Europe W3C TAG - Edinburgh September 20, 2005.
Best Practices in Web Service Style, Data Binding and Validation (for use in Data-Centric Applications) David Meredith, Asif Akram, Rob Allan CCLRC Daresbury.
Apache Axis2 SOAP Primer. Agenda What is SOAP? Characteristics SOAP message structure Header blocks Fault notification Exercises.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
Achieving Distributed Extensibility and Versioning in XML Dave Orchard W3C Lead BEA Systems.
Scale Up Access to your 4GL Application using Web Services
XML Web Services in Visual Studio ®.NET NameTitleCompany.
1 An Introduction to Web Services. 2 Outline What is a Web service Background Standards –XML & XML Namespaces, XML Schema,WSDL, SOAP Tools & APIs –DOM/SAX,JAX-RPC/JAX-M.
CS 571. Web services Web service: "a software system designed to support interoperable machine-to-machine interaction over a network“ – W3C In short,
© JBoss Inc The need for context in Web Services Mark Little, presented by Kurt T Stam Red Hat.
TP2653 Adv Web Programming SOAP and WSDL. SOAP Simple Object Access Protocol – Lightweight XML-based messaging protocol – A protocol for accessing a Web.
CFUNITED – The premier ColdFusion conference Mindmaps For Better Programming Michael Smith TeraTech, Inc.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
1 Dr. Markus Hillenbrand, ICSY Lab, University of Kaiserslautern, Germany A Generic Database Web Service for the Venice Service Grid Michael Koch, Markus.
REST vs SOAP for Web Services Applications and Services in Internet Benjamin Hilaire – 81747L
Extending Vista The PowerLinks WebServices SDK John Hallett Senior Product Manager WebCT, Inc
Web Services (SOAP, WSDL, and UDDI)
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
Chapter 6 : Designing SQL Server Service-Level Security MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide.
Agenda 1.Implementation of CustomerService. CustomerService wrapper SOAP → ESB internal format Abstract → Concrete XML syntax ESB internal format → HTTP.
Wei Dong and Jan Newmarch June 2005 Session Management for Web Services by using SIP.
Web Services Standards. Introduction A web service is a type of component that is available on the web and can be incorporated in applications or used.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Microsoft Dynamics NAV 2009 Building Web Services.
10 – 12 APRIL 2005 Riyadh, Saudi Arabia. Visual Studio 2005 : New Features for the Web Services Developer Malek Kemmou CEO Arrabeta Consulting Microsoft.
WS-I Submission W3C XML Schema User Experiences Workshop June 2005 Redwood Shores, CA, USA Erik Johnson, Epicor Software.
Standards for Technology in Automotive Retail STAR Update Michelle Vidanes STAR XML Data Architect April 30 th, 2008.
SIMPLE Drafts Jonathan Rosenberg dynamicsoft. Presence List Changes Terminology change Presence List Information Data Format –Provides version, full/partial.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Semantic Phyloinformatic Web Services Using the EvoInfo Stack Speaker: John Harney LSDIS Lab, Dept. of Computer Science, University of Georgia Mentor(s):
CFUNITED – The premier ColdFusion conference ColdFusion Components Ajay Sathuluri Based on presentation.
David Orchard W3C Lead BEA Systems Web service and XML Extensibility and Versioning.
Oversight Wc3.org –Standards body –Ensure interoperability with HTML –Growth of the web.
EGEE is a project funded by the European Union under contract IST SOAP Simple Object Access Protocol 3 – 4 June
WS-CAF Demo A Demonstration of WS-CTX. WS-CAF In A Nutshell Collection of 3 specifications WS-Context, WS-Coordination Framework and WS- Transaction Management.
Data Manipulation with Globus Toolkit Ivan Ivanovski TU München,
Advanced Java Session 10 New York University School of Continuing and Professional Studies.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
1 WS-Policy. 2 What’s the Problem? To use a web service a client needs more information than is provided in WSDL file. Examples: –Does service support.
1 CPCP Hisham Khartabil XCON WG IETF 59, Seoul
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
CFUNITED – The premier ColdFusion conference Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.
CFUNITED – The premier ColdFusion conference David Epler Constella Group Choices: The Other ColdFusion Servers.
CFUNITED – The premier ColdFusion conference Load and Functional Testing Flex 2 and ColdFusion Matthew Stevanus Universal Mind.
CFUNITED – The premier ColdFusion conference Fundamentals of Good Usability Presented by Doug Ward June 28 th, 2006.
CFUNITED – The premier ColdFusion conference CFMX7 Admin API Nate Nelson
Thomas Burleson. Using MVC with Flex & Coldfusion Projects June 27, 2007 See how Coldfusion MVC is similar to Flex MVC…
Training for developers of X-Road interfaces
Labs: Create, deploy and test a simple web service
Java Web Services Orca Knowledge Center – Web Service key concepts.
Training for developers of X-Road interfaces
StockQuoteService Configuration
A Web Services Journey on the .NET Bus
Advanced Regular Expressions
Comparative Relational Thinking
Simple Object Access Protocol (SOAP)
XML Encryption: Processing Rules for XML Elements and Content
11/9/2018 Web Services Security Maria Lizarraga CS691.
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Implementation of Web Services in Perl by Litis Abraham & Gomathy Sankara CS522 Fall 2001 Semester Project 11/28/2018 Web Services in Perl.
Webscarab, an introduction.
Introduction to Web Services Protocols
Tim Bornholtz Director of Technology Services
Deepak Shenoy Agni Software
Leveraging ColdSpring To Make Better Applications
Tom Link CTO, Universal Mind
Run SOAP request via jar
Creating and Consuming Web Services with CFML
Presentation transcript:

Advanced Web Services: Soap Headers and more Ron West Director of Professional Services PaperThin, Inc. CFUNITED – The premier ColdFusion conference www.cfunited.com

Web Services What’s so great about WS? What’s _not_ so great about WS? Working with Endpoints Headers Adding Security Example June 28th – July 1st 2006

What’s so great about WS? Their FUN! No, seriously though their fun! Still don’t believe me? Wait…you’ll see. June 28th – July 1st 2006

What’s so great about WS? Standards based development Interoperability Reduce coding efforts Common access to data June 28th – July 1st 2006

What’s _not_ so great about WS? Security (well sort of) Examples are currently very basic 2 Camps: Document vs. RPC Causes divergence in standards June 28th – July 1st 2006

What can we do to improve our WS? Add security layers Work with headers Build some persistence Build sensibly June 28th – July 1st 2006

<cffunction access=“remote”> Essentially a wrapper on the class org.apache.axis.client.Stub Some interesting data getHeaders() setHeaders() getUsername() getPassword() setAttachments() _setProperty() What does this look like? June 28th – July 1st 2006

WSDL Editing WSDL? Why would I want to do that? Manage endpoints June 28th – July 1st 2006

What is the endpoint The location (URI) for accessing a Web Service Can change during the call Adds an additional layer of security June 28th – July 1st 2006

Modifying an Endpoint June 28th – July 1st 2006

Security Authentication has multiple levels of complexity Are you authenticated? Are you authorized? June 28th – July 1st 2006

SOAP Response <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> … </soap:Header> <soapenv:Body> </soapenv:Body> </soapenv:Envelope> June 28th – July 1st 2006

Working with Headers Add a header: addSOAPRequestHeader Namespace (unique on application side) Name Value MustUnderstand (true, false [default] Called from your client June 28th – July 1st 2006

Working with Headers Using a header: getSOAPRequestHeader() Namespace (unique on application side) Name asXML (true, false [default] Called within your Web Service June 28th – July 1st 2006

Persistence Are Web Services persisted? Yes! Client (using ColdFusion) Standard Scopes (Application, Session) Server (AXIS Web Service Engine) SESSION_MAINTAIN_PROPERTY Cookies??? June 28th – July 1st 2006

Putting it together Talked about Interoperability Connecting the disparate systems Coding once using multiple times Connecting ERP solutions June 28th – July 1st 2006

Example CRM and CMS Integration June 28th – July 1st 2006

Additional Notes isSOAPRequest() getSOAPRequest() June 28th – July 1st 2006

Questions & Answers June 28th – July 1st 2006

Special Thanks Tom Jordahl (a.k.a. Web Service KING) Sean Corfield http://tjordahl.blogspot.com/ Mapped the “SessionHeader” for Salesforce Sean Corfield http://corfield.org/blog/ Produced first proof of concept June 28th – July 1st 2006