SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Schema registry
Schema registrySchema registry
Schema registry
 
Overview of Microsoft Exchange Server
Overview of Microsoft Exchange ServerOverview of Microsoft Exchange Server
Overview of Microsoft Exchange Server
 
SSIS Connection managers and data sources
SSIS Connection managers and data sourcesSSIS Connection managers and data sources
SSIS Connection managers and data sources
 
HTTP2 and gRPC
HTTP2 and gRPCHTTP2 and gRPC
HTTP2 and gRPC
 
Apache Flink Crash Course by Slim Baltagi and Srini Palthepu
Apache Flink Crash Course by Slim Baltagi and Srini PalthepuApache Flink Crash Course by Slim Baltagi and Srini Palthepu
Apache Flink Crash Course by Slim Baltagi and Srini Palthepu
 
Conclusion Code Cafe - Microcks for Mocking and Testing Async APIs (January 2...
Conclusion Code Cafe - Microcks for Mocking and Testing Async APIs (January 2...Conclusion Code Cafe - Microcks for Mocking and Testing Async APIs (January 2...
Conclusion Code Cafe - Microcks for Mocking and Testing Async APIs (January 2...
 
Web services - A Practical Approach
Web services - A Practical ApproachWeb services - A Practical Approach
Web services - A Practical Approach
 
Transforming xml with XSLT
Transforming  xml with XSLTTransforming  xml with XSLT
Transforming xml with XSLT
 
REST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseREST Enabling Your Oracle Database
REST Enabling Your Oracle Database
 
Php
PhpPhp
Php
 
インストールしてみたWindows Server 2019 on VirtualBox
インストールしてみたWindows Server 2019 on VirtualBoxインストールしてみたWindows Server 2019 on VirtualBox
インストールしてみたWindows Server 2019 on VirtualBox
 
How to Write Great Kafka Connectors
How to Write Great Kafka ConnectorsHow to Write Great Kafka Connectors
How to Write Great Kafka Connectors
 
Unlock Value from Big Data with Apache NiFi and Streaming CDC
Unlock Value from Big Data with Apache NiFi and Streaming CDCUnlock Value from Big Data with Apache NiFi and Streaming CDC
Unlock Value from Big Data with Apache NiFi and Streaming CDC
 
Ozone- Object store for Apache Hadoop
Ozone- Object store for Apache HadoopOzone- Object store for Apache Hadoop
Ozone- Object store for Apache Hadoop
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
Remote Method Invocation (Java RMI)
Remote Method Invocation (Java RMI)Remote Method Invocation (Java RMI)
Remote Method Invocation (Java RMI)
 
Kong, Keyrock, Keycloak, i4Trust - Options to Secure FIWARE in Production
Kong, Keyrock, Keycloak, i4Trust - Options to Secure FIWARE in ProductionKong, Keyrock, Keycloak, i4Trust - Options to Secure FIWARE in Production
Kong, Keyrock, Keycloak, i4Trust - Options to Secure FIWARE in Production
 
SOAP To REST API Proxy
SOAP To REST API ProxySOAP To REST API Proxy
SOAP To REST API Proxy
 
Flask & Flask-restx
Flask & Flask-restxFlask & Flask-restx
Flask & Flask-restx
 
Expose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridExpose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug Madrid
 

Andere mochten auch

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

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

+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@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
+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...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

SOAP and RESTful web services in Sakai

Hinweis der Redaktion