SlideShare a Scribd company logo
Cascade Server Web Services
           Artur Tomusiak
     Senior Software Developer
Introduction


What's Ahead:
• What is a web service?
• Real life applications
• Cascade Server Web Services Operations
• Understanding the WSDL file
• Code examples for most commonly used
  operations
• What is coming in Cascade Server 7.2?
What is a web service?



Web Service is a way to communicate between your
       own application and Cascade Server.

 Cascade Server uses SOAP for web services which
  uses XML format to send and receive information
Real life applications

• Importing/exporting content
• Handling form submissions
• Updating access rights on multiple assets for a single
  user or group
• Advanced bulk change
• Bulk update content
• Selective publishing of specific assets only
• Data Definition Page to Data Definition Block
  conversion
Authentication


Each operation needs to be authenticated using a
username and password

The operation is then executed as if that User
performed the operation in the web UI:
 • Given User is the author of the operation
 • Permissions and abilities are verified
 • Audits are created for that User
Available operations

http://yourcascadeinstance.com/
 ws/services

Most frequently used operations:
•   Create
•   Read
•   Edit
•   Delete
•   Copy
•   Read/Edit Access Rights
•   Publish
WSDL File

http://.../ws/services/AssetOperationService?wsdl
Important keywords in WSDL

  "complexType" and "simpleType"
Important keywords in WSDL

                   "element"
Attributes: "minOccurs", "maxOccurs" and "type"
                  Comments
Important keywords in WSDL

         "extension"
Important keywords in WSDL

          "choice"
WSDL reading example

Find necessary elements to create an XML Block
WSDL reading example
WSDL reading example
WSDL reading example
WSDL reading example
WSDL reading example
WSDL reading example
WSDL reading example
WSDL reading example


Required:
  • xml
  • parentFolderId or parentFolderPath
  • name
Optional:
  •   expirationFolderId or expirationFolderPath
  •   metadataSetId or metadataSetPath
  •   Metadata fields (title, displayName, etc.)
  •   siteId or siteName
PHP code examples
 Client and authentication
PHP code examples
      Create
PHP code examples
      Create
PHP code examples
       Read
PHP code examples
       Read
PHP code examples
       Read
PHP code examples
       Edit
PHP code examples
       Edit
PHP code examples
      Delete
PHP code examples
      Copy
PHP code examples
      Copy
PHP code examples
      Copy
PHP code examples
   ReadAccessRights
PHP code examples
   EditAccessRights
PHP code examples
   EditAccessRights
PHP code examples

https://github.com/hannonhill/Webservices-PHP-
                 Sample-Project

              Use correct branch

       Not always backwards compatible

Follow "Web Services Changelog" for each version

       http://www.hannonhill.com/kb/Web-
Services/Web%20Services%20Changelog/index.html
Limitations


•   Can’t access past versions of assets and drafts
•   Can’t render assets
•   Can’t use tools
•   Can’t change preferences
•   Can’t change configuration files
•   Can’t view or interact with publish queue
•   Certain operations can be limited
What is coming in Cascade 7.2



•   ListAllSites
•   ReadWorkflowSettings
•   EditWorkflowSettings
•   ListSubscribers
•   Providing Destinations when publishing
•   “Maintain absolute links” for Pages
Questions
Thank you




         Artur Tomusiak
artur.tomusiak@hannonhill.com

More Related Content

PPTX
REST and ASP.NET Web API (Tunisia)
PPTX
Single page application
PPTX
Super quick introduction to html5
PDF
Single page application
PDF
Using html5 to build offline applications
PPTX
Express yourself
PPTX
SharePointArchitecture2
PPTX
Visual Studio LightSwitch
REST and ASP.NET Web API (Tunisia)
Single page application
Super quick introduction to html5
Single page application
Using html5 to build offline applications
Express yourself
SharePointArchitecture2
Visual Studio LightSwitch

What's hot (20)

PPTX
Introduction to Srb4j
PDF
MongoDB Security Features
PPTX
Signal rity1
PPTX
Node ts1
PDF
Blazor certification training - Dot Net Tricks
PPTX
Advance java session 2
PDF
Tech talk-live-alfresco-drupal
PPT
sell idea
PDF
JavaCro'15 - Service Discovery in OSGi Beyond the JVM using Docker and Consul...
PPTX
SharePoint 2013 Javascript Object Model
PPTX
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
PPTX
REST and ASP.NET Web API (Milan)
PPTX
SoCal Code Camp 2011 - ASP.NET 4.5
PPTX
.Net Fundamentals
PPTX
SharePoint Development in Government Environments
PPTX
JEE session 1
PPTX
SharePoint Saturday Utah - Do you claim to be from the Azure Sky?
PPTX
Building Software Backend (Web API)
PPTX
Building solutions with the SharePoint Framework - deep-dive
PPTX
MOKA .Net Study Week 02
Introduction to Srb4j
MongoDB Security Features
Signal rity1
Node ts1
Blazor certification training - Dot Net Tricks
Advance java session 2
Tech talk-live-alfresco-drupal
sell idea
JavaCro'15 - Service Discovery in OSGi Beyond the JVM using Docker and Consul...
SharePoint 2013 Javascript Object Model
Chris O'Brien - Customizing the SharePoint/Office 365 UI with JavaScript (ESP...
REST and ASP.NET Web API (Milan)
SoCal Code Camp 2011 - ASP.NET 4.5
.Net Fundamentals
SharePoint Development in Government Environments
JEE session 1
SharePoint Saturday Utah - Do you claim to be from the Azure Sky?
Building Software Backend (Web API)
Building solutions with the SharePoint Framework - deep-dive
MOKA .Net Study Week 02
Ad

Viewers also liked (11)

PPT
Regular Expressions 2007
PPT
Form validation server side
PDF
Errors, Exceptions & Logging (PHP Hants Oct '13)
PPTX
Regular Expressions in PHP
PDF
Web services tutorial
PDF
Creating And Consuming Web Services In Php 5
PPT
Develop webservice in PHP
PDF
RESTful API Design & Implementation with CodeIgniter PHP Framework
PDF
Top 100 Linux Interview Questions and Answers 2014
PDF
Web Services PHP Tutorial
PDF
PHP and Web Services
Regular Expressions 2007
Form validation server side
Errors, Exceptions & Logging (PHP Hants Oct '13)
Regular Expressions in PHP
Web services tutorial
Creating And Consuming Web Services In Php 5
Develop webservice in PHP
RESTful API Design & Implementation with CodeIgniter PHP Framework
Top 100 Linux Interview Questions and Answers 2014
Web Services PHP Tutorial
PHP and Web Services
Ad

Similar to Using the Cascade Server Web Service API, by Artur Tomusiak (20)

PPTX
Building RESTfull Data Services with WebAPI
PDF
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
PDF
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
PDF
An Introduction to Tornado
PPT
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
PPTX
Real world #microservices with Apache Camel, Fabric8, and OpenShift
PPTX
Real-world #microservices with Apache Camel, Fabric8, and OpenShift
PPTX
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
PPTX
Intro to .NET for Government Developers
PPTX
The web as it should be
PDF
Web Services
PDF
Play Framework and Activator
PDF
Summit Australia 2019 - PowerApp Portals - Andrew Ly & Lachlan Wright
PDF
Introduction to Flask Micro Framework
PPTX
Ntg web services
PDF
Code for Startup MVP (Ruby on Rails) Session 1
PDF
Java-Web-Applications.pdf
PDF
Intro JavaScript
PPT
Using Java to implement SOAP Web Services: JAX-WS
PPT
Ajax toolkit-framework
Building RESTfull Data Services with WebAPI
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
An Introduction to Tornado
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
Real world #microservices with Apache Camel, Fabric8, and OpenShift
Real-world #microservices with Apache Camel, Fabric8, and OpenShift
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Intro to .NET for Government Developers
The web as it should be
Web Services
Play Framework and Activator
Summit Australia 2019 - PowerApp Portals - Andrew Ly & Lachlan Wright
Introduction to Flask Micro Framework
Ntg web services
Code for Startup MVP (Ruby on Rails) Session 1
Java-Web-Applications.pdf
Intro JavaScript
Using Java to implement SOAP Web Services: JAX-WS
Ajax toolkit-framework

More from hannonhill (20)

PPTX
Cascade + Bootstrap = Awesome
PPTX
Web Governance Crash Course: Creating a Sustainable Digital Transformation
PDF
Optimizing MySQL for Cascade Server
PPTX
Using Cascade technology to increase SEO/Landing Page Optimization
PDF
Information Architecture and User Experience: The Journey, The Destination, T...
PPTX
2 Men 1 Site
PPTX
Connecting Ecommerce & Centralized Analytics to Cascade Server
PDF
Data Modeling with Cascade Server and HighCharts JS
PDF
Modernizing Internal Communications with Cascade Server, WordPress and MailCh...
PDF
Fun with Cascade Server!
PPTX
Accessibility in Practice: Integrating Web Accessibility into Cascade Training
PPTX
Crowdsourced Maps: From Google Forms to Fusion Tables to Cascade Server
PPTX
Superautomatic! Data Feeds, Bricks, and Blocks, with Server-side Transformat...
PPTX
Climbing Migration Mountain: 200+ Sites from the Ground Up
PPTX
In Pursuit of the Grand Unified Template
PDF
Cusestarter or How We Built Our Own Crowdfunding Platform
PPT
Web Services: Encapsulation, Reusability, and Simplicity
PPTX
Cascade Server: Past, Present, and Future!
PPTX
Web Forms, or How I Learned to Stop Worrying and Love Web Services
PPTX
Outputting Their Full Potential: Using Outputs for Site Redesigns and Develo...
Cascade + Bootstrap = Awesome
Web Governance Crash Course: Creating a Sustainable Digital Transformation
Optimizing MySQL for Cascade Server
Using Cascade technology to increase SEO/Landing Page Optimization
Information Architecture and User Experience: The Journey, The Destination, T...
2 Men 1 Site
Connecting Ecommerce & Centralized Analytics to Cascade Server
Data Modeling with Cascade Server and HighCharts JS
Modernizing Internal Communications with Cascade Server, WordPress and MailCh...
Fun with Cascade Server!
Accessibility in Practice: Integrating Web Accessibility into Cascade Training
Crowdsourced Maps: From Google Forms to Fusion Tables to Cascade Server
Superautomatic! Data Feeds, Bricks, and Blocks, with Server-side Transformat...
Climbing Migration Mountain: 200+ Sites from the Ground Up
In Pursuit of the Grand Unified Template
Cusestarter or How We Built Our Own Crowdfunding Platform
Web Services: Encapsulation, Reusability, and Simplicity
Cascade Server: Past, Present, and Future!
Web Forms, or How I Learned to Stop Worrying and Love Web Services
Outputting Their Full Potential: Using Outputs for Site Redesigns and Develo...

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Getting Started with Data Integration: FME Form 101
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Machine Learning_overview_presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
NewMind AI Weekly Chronicles - August'25-Week II
Accuracy of neural networks in brain wave diagnosis of schizophrenia
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
TLE Review Electricity (Electricity).pptx
Group 1 Presentation -Planning and Decision Making .pptx
OMC Textile Division Presentation 2021.pptx
Tartificialntelligence_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Getting Started with Data Integration: FME Form 101
cloud_computing_Infrastucture_as_cloud_p
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Programs and apps: productivity, graphics, security and other tools
Assigned Numbers - 2025 - Bluetooth® Document
Machine Learning_overview_presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...

Using the Cascade Server Web Service API, by Artur Tomusiak