SlideShare uma empresa Scribd logo
1 de 13
SOAP
and
RESTful
web
services
in

            Sakai
                  Steve
Swinsburg
        Senior
So;ware
Engineer
/
Sakai
Fellow
          The
Australian
Na@onal
University
                  September
2010
SOAP
services
                                              Enabling
and
securing
them
                                                   How
to
use
them
                                                     REST
services
                                                   How
to
use
them
                                                     En@ty
Broker



                                                  Overview


4th
Australian
Sakai
Conference
‐
September
15‐17,
2010                    2
SOAP
services
• Provided
via
Apache
Axis
• Can
expose
any
API
method,
just
inject
the
service

  bean
and
use
it
• Run@me
compila@on,
can
modify
‘live’
• Require
a
valid
session,
generally
admin.
  • There’s
a
webservice
to
do
that!
   http://your.sakai.server/sakai-axis/*.jws




      4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   3
Enabling
the
SOAP
services
• Disabled
by
default
• In
sakai.proper@es:

                      webservices.allowlogin=true
                      webservices.allow=.+
                      webservices.log-allowed=true
                      webservices.log-denied=true




• This
is
insecure
though.
Setup
properly.


       4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   4
Using
the
SOAP
services

• Script
them
via
Perl
/
PHP
/
Java
...
  • If
Perl,
the
SOAP::Lite
module
is
excellent!


• Or
use
a
client:
  • Mac:
h^p://ditchnet.org/soapclient/
  • PC/Mac/Linux:
h^p://www.soapui.org/




       4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   5
Demo


4th
Australian
Sakai
Conference
‐
September
15‐17,
2010          6
REST
services
• Provided
via
En@tyBroker
• RESTful
URLs
and
adheres
to
HTTP
standard
for

  ac@ons
and
responses
• Return
XML/JSON/HTML
view
of
an
en@ty
or
list
of

  en@@es
• Default
ac@ons
(GET,
PUT,
DELETE
etc)
• Can
also
define
custom
ac@ons
           http://your.sakai.server/direct

      4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   7
Using
the
REST
services

• Simply
make
a
request!

  • /direct/profile/steve.json
  • /direct/user/current.xml
  • /direct/announcement/user.json?n=10&d=30




      4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   8
Demo
&
jQuery
code
sample


4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   9
En@ty
Broker
• Fast
becoming
the
defacto
standard
for
exposing

  your
data.

• More
consumers
than
just
Java
(PHP/JS/even
just

  HTML)
  • e.g.
profile
images
exposed
as
direct
link

                 /direct/profile/steve/image



      4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   10
En@ty
Broker
• If
you
have
a
service
layer,
include
EB
  • Can
have
your
providers
in
your
webapp
  • Special
Spring
setup
to
allow
them
to
register


• Can
also
register
events
with
SiteStats
via

  En@tyBroker.

  • Easy
config,
all
done
within
the
tool
rather
than
within

    SiteStats.


       4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   11
EB
code
sample


4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   12
Questions?

                     SOAP
services
info
and
code
samples

h0p://confluence.sakaiproject.org/display/WEBSVCS/How+to+use
                  +the+Sakai+Web+Services



                                 REST
services
info

                        h0p://your.sakai.server/direct




    4th
Australian
Sakai
Conference
‐
September
15‐17,
2010   13

Mais conteúdo relacionado

Mais procurados

Mail Server Project Report
Mail Server Project ReportMail Server Project Report
Mail Server Project Report
Kavita Sharma
 
Presentasi MSDK Mail Server
Presentasi MSDK Mail ServerPresentasi MSDK Mail Server
Presentasi MSDK Mail Server
Apradiz Newcyber
 
Rest presentation
Rest  presentationRest  presentation
Rest presentation
srividhyau
 

Mais procurados (20)

Building an API with Django and Django REST Framework
Building an API with Django and Django REST FrameworkBuilding an API with Django and Django REST Framework
Building an API with Django and Django REST Framework
 
Implementing Microservices Security Patterns & Protocols with Spring
Implementing Microservices Security Patterns & Protocols with SpringImplementing Microservices Security Patterns & Protocols with Spring
Implementing Microservices Security Patterns & Protocols with Spring
 
PPP(Point-to-Point Protocol): Components & Characteristics
PPP(Point-to-Point Protocol): Components & CharacteristicsPPP(Point-to-Point Protocol): Components & Characteristics
PPP(Point-to-Point Protocol): Components & Characteristics
 
A Brief History of Microsoft Exchange Server
A Brief History of Microsoft Exchange ServerA Brief History of Microsoft Exchange Server
A Brief History of Microsoft Exchange Server
 
Smtp protocol
Smtp protocolSmtp protocol
Smtp protocol
 
Scaling Asterisk with Kamailio
Scaling Asterisk with KamailioScaling Asterisk with Kamailio
Scaling Asterisk with Kamailio
 
IN signalling overview - inap & cap operation list
IN signalling overview - inap & cap operation listIN signalling overview - inap & cap operation list
IN signalling overview - inap & cap operation list
 
40 - IDNOG03 - Bob Lau (Akamai) - BGP and Traffic Engineering
40 - IDNOG03  - Bob Lau (Akamai) - BGP and Traffic Engineering40 - IDNOG03  - Bob Lau (Akamai) - BGP and Traffic Engineering
40 - IDNOG03 - Bob Lau (Akamai) - BGP and Traffic Engineering
 
Modern JavaScript Frameworks: Angular, React & Vue.js
Modern JavaScript Frameworks: Angular, React & Vue.jsModern JavaScript Frameworks: Angular, React & Vue.js
Modern JavaScript Frameworks: Angular, React & Vue.js
 
Applying OWASP web security testing guide (OWSTG)
Applying OWASP web security testing guide (OWSTG)Applying OWASP web security testing guide (OWSTG)
Applying OWASP web security testing guide (OWSTG)
 
SRS for online examination system
SRS for online examination systemSRS for online examination system
SRS for online examination system
 
Pentesting RESTful webservices
Pentesting RESTful webservicesPentesting RESTful webservices
Pentesting RESTful webservices
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
DCC17 - Identity Server 4
DCC17 - Identity Server 4DCC17 - Identity Server 4
DCC17 - Identity Server 4
 
Mail Server Project Report
Mail Server Project ReportMail Server Project Report
Mail Server Project Report
 
Presentasi MSDK Mail Server
Presentasi MSDK Mail ServerPresentasi MSDK Mail Server
Presentasi MSDK Mail Server
 
Lessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptxLessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptx
 
Rest presentation
Rest  presentationRest  presentation
Rest presentation
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
OpenID Connect Explained
OpenID Connect ExplainedOpenID Connect Explained
OpenID Connect Explained
 

Destaque

API 101 - Understanding APIs.
API 101 - Understanding APIs.API 101 - Understanding APIs.
API 101 - Understanding APIs.
Kirsten Hunter
 

Destaque (14)

Getting started with Sakai development
Getting started with Sakai developmentGetting started with Sakai development
Getting started with Sakai development
 
What’s a REST API and why should I care?
What’s a REST API and why should I care?What’s a REST API and why should I care?
What’s a REST API and why should I care?
 
What's an api
What's an apiWhat's an api
What's an api
 
MDN @ 10 Years: Mistakes, Successes, and Lessons
MDN @ 10 Years: Mistakes, Successes, and LessonsMDN @ 10 Years: Mistakes, Successes, and Lessons
MDN @ 10 Years: Mistakes, Successes, and Lessons
 
Restful webservice
Restful webserviceRestful webservice
Restful webservice
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webservice
 
API for Beginners
API for BeginnersAPI for Beginners
API for Beginners
 
API 101 - Understanding APIs
API 101 - Understanding APIsAPI 101 - Understanding APIs
API 101 - Understanding APIs
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
 
Api for dummies
Api for dummies  Api for dummies
Api for dummies
 
REST to RESTful Web Service
REST to RESTful Web ServiceREST to RESTful Web Service
REST to RESTful Web Service
 
API 101 - Understanding APIs.
API 101 - Understanding APIs.API 101 - Understanding APIs.
API 101 - Understanding APIs.
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 
RESTful API Design, Second Edition
RESTful API Design, Second EditionRESTful API Design, Second Edition
RESTful API Design, Second Edition
 

Semelhante a SOAP and RESTful web services in Sakai

Connecting Sakai and uPortal
Connecting Sakai and uPortalConnecting Sakai and uPortal
Connecting Sakai and uPortal
Steve Swinsburg
 
Application Testing in NoTa Design Flow
Application Testing in NoTa Design FlowApplication Testing in NoTa Design Flow
Application Testing in NoTa Design Flow
Johan Lilius
 
The University of Waterloo Open Data API
The University of Waterloo Open Data APIThe University of Waterloo Open Data API
The University of Waterloo Open Data API
Nathan Vexler
 
Next Generation_WVI
Next Generation_WVINext Generation_WVI
Next Generation_WVI
Prasad Kapu
 
Profile2 - Social networking for Sakai2
Profile2 - Social networking for Sakai2Profile2 - Social networking for Sakai2
Profile2 - Social networking for Sakai2
Steve Swinsburg
 

Semelhante a SOAP and RESTful web services in Sakai (20)

Connecting Sakai and uPortal (AuSakai 2010)
Connecting Sakai and uPortal (AuSakai 2010)Connecting Sakai and uPortal (AuSakai 2010)
Connecting Sakai and uPortal (AuSakai 2010)
 
Connecting Sakai and uPortal
Connecting Sakai and uPortalConnecting Sakai and uPortal
Connecting Sakai and uPortal
 
Is Sakai Always This Slow?
Is Sakai Always This Slow?Is Sakai Always This Slow?
Is Sakai Always This Slow?
 
Media Mosa : Architecture and Features, Utrecht, 10 June 2010
Media Mosa : Architecture and Features, Utrecht,  10 June 2010Media Mosa : Architecture and Features, Utrecht,  10 June 2010
Media Mosa : Architecture and Features, Utrecht, 10 June 2010
 
Sunset to Sunrise (University of Windsor)
Sunset to Sunrise (University of Windsor)Sunset to Sunrise (University of Windsor)
Sunset to Sunrise (University of Windsor)
 
MediaMosa architecture & features
MediaMosa architecture & features MediaMosa architecture & features
MediaMosa architecture & features
 
Application Testing in NoTa Design Flow
Application Testing in NoTa Design FlowApplication Testing in NoTa Design Flow
Application Testing in NoTa Design Flow
 
The University of Waterloo Open Data API
The University of Waterloo Open Data APIThe University of Waterloo Open Data API
The University of Waterloo Open Data API
 
London Oracle Developer Meetup April 18
London Oracle Developer Meetup April 18London Oracle Developer Meetup April 18
London Oracle Developer Meetup April 18
 
Next Generation_WVI
Next Generation_WVINext Generation_WVI
Next Generation_WVI
 
Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018Oracle Developer Meetup March 2018
Oracle Developer Meetup March 2018
 
SOA/SCA FraScAti
SOA/SCA FraScAtiSOA/SCA FraScAti
SOA/SCA FraScAti
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
 
Profile2 - Social networking for Sakai2
Profile2 - Social networking for Sakai2Profile2 - Social networking for Sakai2
Profile2 - Social networking for Sakai2
 
New To Sakai
New To SakaiNew To Sakai
New To Sakai
 
fiware-lab-dev-3.pdf
fiware-lab-dev-3.pdffiware-lab-dev-3.pdf
fiware-lab-dev-3.pdf
 
WebSocket in Enterprise Applications 2015
WebSocket in Enterprise Applications 2015WebSocket in Enterprise Applications 2015
WebSocket in Enterprise Applications 2015
 
Oracle REST Data Services
Oracle REST Data ServicesOracle REST Data Services
Oracle REST Data Services
 
FraSCAti with OSGi
FraSCAti with OSGiFraSCAti with OSGi
FraSCAti with OSGi
 
BEST REST in OpenStack
BEST REST in OpenStackBEST REST in OpenStack
BEST REST in OpenStack
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

SOAP and RESTful web services in Sakai

Notas do Editor