This user guide is protected under copyright law, furnished for informational use only, is subject to change without notice, and should not be construed as a
commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear
in the informational content contained in this guide.
This user guide is licensed for use under the terms of the Creative Commons Attribution Non-Commercial 3.0 License. This License allows users to copy,
distribute, and transmit the user guide for noncommercial purposes only so long as (1) proper attribution to Adobe is given as the owner of the user guide; and
(2) any reuse or distribution of the user guide contains a notice that use of the user guide is governed by these terms. The best way to provide notice is to include
the following link. To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc-sa/3.0/
Adobe, the Adobe logo, Acrobat Connect, Adobe Captivate, Adobe Connect, Authorware, Flash, Flash Builder, Flex, and Flex Builder are either registered
trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective
owners.
Updated Information/Additional Third Party Code Information available at www.adobe.com/go/thirdparty/
Portions include software under the following terms:
This software is based in part on the work of the Independent JPEG Group.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that term is defined at 48 C.F.R. §2.101, consisting of
“Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202,
as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and
Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights
as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, CA 95110-2704, USA. For U.S. Government End Users, Adobe agrees to comply with all applicable
equal opportunity laws including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment
Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60,
60-250, and 60-741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference.
Adobe® Connect® exposes web services that clients can call to exchange data with Adobe Connect accounts. You can
use web services with Adobe Connect hosted accounts and with accounts on Adobe Connect licensed servers.
This guide explains how an application calls Adobe Connect web services and interprets the XML response. It is
intended for developers who want to build custom applications for Adobe Connect or integrate it with another system
such as a learning management system or LDAP directory service.
Before you use this guide, you should understand the basics of XML and of using HTTP to communicate with a server
from a client application. This guide includes some Java™ code samples, but it does not presume that you are using
one specific language or environment.
Development environment
Adobe Connect Web Services allows you to use any language or platform that can send and receive XML over HTTP
to develop custom applications. For example, you can use Java and the J2EE platform, C#.NET, PHP, a portal server,
or any web development platform. Most custom applications are web applications or portals.
1
In general, you may find these types of tools useful:
• An XML parser code library, if your programming language supports XML parsing.
• A cookie management code library, to help you manage the session cookies Adobe Connect returns.
• A tool for viewing HTTP request and response headers in a browser. Many such tools are available on the Internet.
Additional resources
You can find many useful resources on the Internet that provide information about Adobe Connect, web services and
XML, and other technologies that Adobe Connect uses.
Adobe Connect
Adobe Connect User Community The Adobe Connect User Community at connectusers.com is the hub of the
Adobe Connect community. This site has forums, tutorials, events, announcements, a partner showcase and much
more.
Adobe Connect Help Support Center The Adobe Connect Help and Support Center contains the Adobe Connect
documentation and Support contact information.
XML and web services
The Web Services Primer at the Xml.com website (xml.com) is a good introduction to web services.
The XML Tutorial at the W3Schools website (w3schools.com) can help you get started with XML.
The XPath Tutorial also at the W3Schools website (w3schools.com), describes XPath, which parses an XML document
so that you can use it in an application.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Before you begin
The XSLT Tutorial, a third tutorial at the W3Schools website (w3schools.com), teaches you XSL Transformations,
which you use to convert XML data to other formats.
The XSL Transformations (XSLT) specification at the W3C website (w3.org) is the official definition of XSLT, from the
standards committee who created it.
Numeric Representation of Dates and Time, at the International Organization for Standardization website (iso.org),
provides information about how to use the ISO 8601 standard date and time format.
Date and Time Formats at the W3C website (w3.org) is the official definition of the ISO 8601 date and time format.
Other technologies
Flash Player Developer Center and Flash Media Server Developer Center, both available from the Adobe Developer
Center, offer articles, samples, and insights to developing applications that use Adobe Flash Player and Adobe Flash
Media Server.
SCORM Concepts, at the Eduworks Corporation website (eduworks.com), is a tutorial about the Shareable Content
Object Reference Model and describes Shareable Content Objects (SCOs) and Learning Management Systems (LMSs).
An LDAP Roadmap at the Kings Mountain Systems website (www.kingsmountain.com), provides a useful overview of
the Lightweight Directory Access Protocol (LDAP). This site might provide good background material or links for
developers integrating an LDAP directory with Adobe Connect.
2
Microsoft SQL Server Adobe Connect uses a Microsoft SQL Server database, which your custom applications
retrieve data from and write data to. You may find useful resources at the Microsoft SQL Server Developer Center
(msdn.microsoft.com) including references, community, support, and other information.
Conventions
This guide uses industry standard conventions for displaying code that you are already familiar with.
However, API reference is a formal definition of the API contract between a calling application and the server. As such,
the syntax definitions of request URLs should be described.
We have placed distinct sections of a request URL on separate lines for readability, like this:
Syntax elements in blue code font represent definitions that you construct, with a hyperlink to the syntax of the
definition.
Last updated 12/16/2010
Chapter 2: Architecture
Adobe® Connect™ Web Services is the web service layer over the Adobe Connect Server suite of applications.
Web services allow you to build portals or web applications that integrate Adobe Connect functionality and reporting
information with third-party systems such as portals, customer relationship management systems, and enterprise
resource planning systems.
3
Authoring tools
Adobe Presenter
Adobe Captivate
eLearning Suite
Adobe Acrobat
Adobe Connect Web Services provides meeting, training, and events functionality to your applications through its XML API.
Adobe Connect
TrainingEvents
Training
Deployment Models
Extensibility
Webcast
On PremiseHosted
Managed
Services
XML API
SDK
As an example, you might have a central user management system, such as an LDAP directory, Microsoft Active
Directory, or another third-party system, that is an integral part of your business processes.
Using web services, you can write an application that synchronizes users between your system and Adobe Connect.
The application can use the J2EE platform or another technology of your choice to pull a list of users from the
directory, compare it against a list of Adobe Connect users, and then perform requested updates within the Adobe
Connect user repository, such as adding or deleting users or groups.
Data flow
The data flows between client applications and Adobe Connect are shown in the following diagram. Custom
applications that you write use paths 1 to 2 and A to B. Adobe Connect applications (such as Adobe Connect Meeting,
Adobe Connect Training, or Adobe Connect Events) can use any of the data flow paths.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Architecture
4
Client application
Web browser
Flash Player
1
HTTP:80
HTTPS:443
A
RTMPS:443
C
RTMP:1935
3
3a4a
RTMPT:80
2
B
D
4
Adobe Connect
Web
Services
API
Flash Media Server
SQL database
Web/application
server
The data flow between Adobe Connect and client applications
The data flow can be encrypted with SSL or unencrypted.
Unencrypted If the data flow is unencrypted, connections are made over HTTP and Adobe Real Time Messaging
Protocol (RTMP) and follow the paths described in the following table.
Diagram numberDescription
1The client web browser requests an Adobe Connect meeting or content URL over port HTTP:80 (connection paths may
vary).
2The web server responds with content transfer or provides the client browser with information to enter Adobe Connect.
3
Adobe Flash® Player requests a connection to Adobe Flash Media Server over RTMP:1935 and HTTP:80.
4Flash Media Server responds, and a persistent connection is opened to stream meeting traffic to the browser.
3a (alternate)In some cases, Flash Player requests a connection to the Flash Media Server, but can only obtain a tunneled connection
over RTMPT:80.
4a (alternate)Flash Media Server responds, and a tunneled connection is opened to stream meeting traffic to the browser.
Encrypted If the data flow is encrypted, connections are made securely over HTTPS and RTMPS (Real Time
Messaging Protocol over SSL), as follows.
Diagram numberDescription
AThe client web browser requests a secure meeting or content URL over an encrypted connection on HTTPS:443
(connection paths may vary).
BThe web/application server responds with an encrypted content transfer or provides the client with information to
make an encrypted connection to Adobe Connect.
CFlash Player requests an encrypted connection to Flash Media Server over RTMPS:443.
DFlash Media Server responds, and a persistent connection is opened to stream meeting traffic to the browser.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Architecture
Custom applications
Adobe Connect Web Services provides an XML API, so your application must be able to communicate with Adobe
Connect using XML over HTTP or XML over HTTPS. Your application calls the API by building a request URL and
passing it one or more parameters, either as name/value pairs or as an XML document. Web Services returns an XML
response, from which you can extract values.
Custom applications retrieve metadata from the Adobe Connect database. Metadata includes meeting or course names
and times, meeting room URLs, content URLs, and report information.
The data flow for a custom application retrieving metadata from the database is from a client web browser, to the client
web application server, to the XML API, the Adobe Connect web application server, and the SQL database—and then
back again.
The data flow between a custom application and Adobe Connect works like this:
1 A user accesses your custom application from a web browser.
2 The application calls the XML API over HTTP:80 or HTTPS:443.
3 The Adobe Connect web application server authorizes the application and its users, retrieves metadata from the
SQL database, and returns the metadata.
4 On the client side, your web or application server, XML parser, and software libraries handle the response and
return it to your application.
5 The user continues to work in your custom application, and clicks a meeting or content URL. At this point, the user
accesses a Adobe Connect application to enter a meeting room, and the typical data flow between a Adobe Connect
application and the server begins.
5
Adobe Connect applications
Adobe Connect applications call the server using the same Web Services XML API that you use from a custom
application.
In general, content is transported over HTTP port 80 or HTTPS port 443. Content includes slides, HTTP pages, SWF
files, and files transferred through the FileShare pod. These are default port numbers that you can configure (see
Migrating, Installing, and Configuring Adobe Connect Server for details).
Streamed, real-time communications from Flash Media Server are transported over RTMP port 1935. Streamed
communications include audio, video (webcam and FLV), file share, and chat. Meeting state is also maintained over
RTMP port 1935.
Components of Adobe Connect
Adobe Connect is architected with two server components, and each server uses a SQL database.
The web application server The web application server is the brains of Adobe Connect. It contains and executes all of
the business logic needed to deliver content to users. It handles access control, security, quotas, and licensing, as well
as management functions such as clustering, failover, and replication.
The web application server also handles Adobe Connect Central, the application through which you view and manage
your organization’s content and users—when you are not using a custom application or integrated third-party system.
The metadata describing content and users can be stored in either single or multiple replicated SQL databases. The
web application server is stateless, which means that scaling is near linear.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Architecture
Flash Media Server Flash Media Server is the muscle of Adobe Connect. Flash Media Server streams audio, video, and
rich media content using RTMP. When a meeting is recorded and played back, audio and video are synchronized, or
content is converted and packaged for real-time screen sharing, Flash Media Server does the job.
Flash Media Server also plays a vital role in reducing server load by caching frequently accessed web pages, streams,
and shared data.
The SQL database Adobe Connect uses the Microsoft SQL Server database for persistent storage of transactional and
application metadata, including users, groups, content, and reporting information. The XML API retrieves metadata
stored in the database. The database can be implemented with either the Microsoft SQL Server Desktop Engine
(MSDE) or the full version of Microsoft SQL Server 2005.
Making your first API call
Adobe Connect Web Services uses a servlet framework to handle XML API requests. In the data flow diagram, the
servlet framework is represented by the API component. The API servlet receives XML requests from clients and
returns XML responses from the web application server and the database.
A request to the XML API is formatted as an HTTP request URL that the API servlet handles. A request URL has an
action name and parameters in name/value pairs, like this:
If you have access to a Adobe Connect account in which you can test API calls, you can experiment. In fact, Adobe
recommends testing API calls in the browser while you learn the API and write applications.
Before you begin, it’s useful to install a tool that allows you to view HTTP request and response headers in your
browser.
Call common-info in a browser
1 (Optional) Enable a tool for viewing HTTP headers in your browser.
2 Open a browser and navigate to your Adobe Connect login page.
3 Without logging in, delete the part of the URL after the domain name and add a call to common-info:
https://example.com/api/xml?action=common-info
The response from common-info gives you information about your session with the server, especially the cookie
that identifies your session:
Many actions in the API allow you to add a filter to return only certain response elements or a sort to display response
elements in a certain order.
8
A filter is a special parameter that starts with the keyword filter, followed by an optional modifier, then a field name
and a value. These are all examples of filters:
• filter-name=jazz doe (which matches results with the exact name jazz doe)
• filter-like-name=jazz (which matches any results that contain jazz in the name)
• filter-out-type=user (which returns any results that do not have a type of user)
These are just a few filter types, and you can find more in filter-definition. Check an action in the reference (at
“Action reference” on page 58) to see whether its response can be filtered. In general, if an action allows filters, you can
use them on any response element or attribute.
A sort is another special parameter that starts with the keyword sort (or sort1 or sort2), followed by a field name
and then one of the keywords
asc or desc, for example:
• sort-name=asc (to sort in ascending order by name)
• sort-group-id=desc (to sort in descending order by group-id)
These are just a few sort examples. You can test sorts in the browser or see sort-definition for more.
Make a call with a filter and sort
1 Call principal-list again, displaying only groups and sorting them alphabetically by name:
At this point, you can continue to test calls in the browser and observe how they work. It’s the best and easiest way to
learn the XML API. When you need more information, turn to any of these sources:
• The API reference in “Action reference” on page 58
• “Login and requests” on page 10 for information on how to log users in from applications
• “Basics” on page 18 to learn the three basic concepts underlying the API
• “Meetings” on page 30 if you want to create and manage meetings from an application
• “Training” on page 47 if you are building a training application
9
Last updated 12/16/2010
Chapter 3: Login and requests
This chapter explains how to log a user in from your application, make requests, handle responses, and log the user out.
There are several ways to accomplish most of these tasks, depending on your development environment, server
configuration, and application design.
Log in from an application
Any custom application you write that uses Adobe® Connect™ Web Services functionality or integrates with a thirdparty system needs to log in a user to Adobe Connect. In its simplest form, the process of logging in calls the
action.
However, the technique for logging in varies according to whether you use cookie management, have a licensed server
or a hosted account, and authenticate directly to Adobe Connect or use external authentication. Depending on your
environment and server configuration, you might also use combinations of these options.
Cookie management When a user logs in, Adobe Connect returns a cookie that identifies the user’s session. You need
to pass the cookie back to the server on all calls made to the server during the user’s session. Then, when the user logs
out, the server makes the cookie expire and you should invalidate it.
login
10
In your development environment, you can use a code library that manages cookies for you. The process of logging in
and managing a user’s session varies according to whether you use a cookie management library or manage the user’s
session yourself.
Licensed server or hosted account Your organization might have a licensed Adobe Connect server within your
firewall, or you may have an Adobe Connect hosted account at Adobe. Either way, you send XML requests over HTTP
or HTTPS, but security requirements and the login process vary. If you are a hosted customer, you can use certain
parameters with the
Direct or external authentication Whether you are a hosted or licensed customer, your application might authenticate
directly to Adobe Connect, or you might authenticate users on your own network, set an identifier in an HTTP request
header, and send it to Adobe Connect. The login process varies according to whether you use direct or external
authentication.
login action to avoid sending user IDs and passwords over the Internet.
Log in to Adobe Connect server
The standard technique for logging a user in to Adobe Connect server uses the login action, passing the user’s login
ID and password. This technique works with both HTTP
You also need to manage the BREEZESESSION cookie the server returns for each user session. If you use a client-side
cookie management library, it is much easier to allow it to manage cookies for you than to manage the cookies yourself.
If you do not have such a library, call
HTTP header values.
Note: If you send user passwords to Adobe Connect server, use SSL so passwords are encrypted in transit, even if you have
a licensed Adobe Connect server within your own firewall.
login with the session parameter, as it is easier and more reliable than setting
GET and POST requests.
Log in with cookie management
1 Call the login action, passing it the user’s login ID and password, but no session parameter:
3 Allow your cookie management library to manage the BREEZESESSION cookie.
Your client-side library passes the cookie back to the server in a request header on subsequent calls for the
remainder of the user’s session. You do not need to set the cookie in the request header explicitly. When the user
logs out, the cookie expires.
Log in using the session parameter
1 Before you log the user in, call common-info to get the value of the BREEZESESSION cookie:
parameter with the same cookie value on subsequent calls for the user, until the user’s session ends:
6 When the user logs out or the user’s session ends, do not reuse the cookie value.
Log in to a Adobe Connect hosted account
If you want to log in directly to an Adobe Connect hosted account or multiple hosted accounts, you still use the login
action, but you need to specify an account ID or domain name, in addition to the user’s login ID and password. You
can specify a domain name if you want to avoid sending an account ID over the Internet.
With an Adobe Connect hosted account, you cannot use single sign-on or external authentication. You must pass the
user’s authentication credentials on the Adobe Connect hosted account, not the credentials for an external network.
Note: It is important to have SSL enabled on your Adobe Connect hosted account, because you are sending user IDs,
passwords, and account information over the Internet to your Adobe Connect account hosted at Adobe.
Log in to an Adobe Connect hosted account with an account ID
1 Before you log the user in, call common-info with the domain name of your Adobe Connect hosted account in
The domain is equivalent to the account-id, but by using it you can avoid sending an account ID over the Internet,
especially if you use a non-encrypted connection.
6 Parse the response for a status code of ok.
7 (Optional) If you prefer, you can call login before common-info, extract the cookie value from the response
header, and manage it yourself or using a cookie management code library.
Log in using HTTP header authentication
Note: The instructions in this section apply only to Adobe Connect server.
Your application can use a trusted central server to authenticate users with single sign-on and pass your network’s
(here called external) authentication to Adobe Connect server, without explicitly passing an Adobe Connect server
user ID and password. (For detailed instructions on how to set up and configure HTTP header authentication, see
Adobe Connect Installation and Configuration Guide).
With HTTP header authentication, a user logs in to your authentication server. Once the user is authenticated, you
add an HTTP request header that identifies the user, or configure a proxy server to add the header. The authentication
filter on Adobe Connect (named
HeaderAuthenticationFilter) converts your user identifier to an Adobe Connect
login ID and authenticates the user.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Login and requests
13
Authentication Server
Authentication filters convert external authentication credentials to Adobe Connect credentials.
Authentication FilterAdobe Connect ServerProxy Server
SQL database
External authentication works in addition to standard Adobe Connect authentication. Each user who needs to access
Adobe Connect server needs a valid Adobe Connect server login and password.
When you send a login request to Adobe Connect server with an external authentication credential:
• The authentication filter intercepts the request and checks for a user on Adobe Connect server with an ext-login
field that matches your external credential.
•
If a match exists, the filter passes your external authentication to Adobe Connect server, and the server logs the user in.
• If no match exists, the filter passes the login request to the server, which displays its login page. The user must then
log in to Adobe Connect server.
• If the user logs in successfully, Adobe Connect server updates the ext-login field in the user’s profile with the
external credential from your request. The next time you send a request with the user’s external credential, Adobe
Connect server finds a match in
ext-login, and the user does not need to log in to Adobe Connect.
• If the user does not log in successfully, the user is not allowed access to Adobe Connect server applications, content,
or meetings.
The steps that follow describe how to call login when you use HTTP header authentication.
Log in to Adobe Connect server using HTTP header authentication
1 Configure your network servers and Adobe Connect server for HTTP header authentication using the instructions
in Adobe Connect Installation and Configuration Guide.
2 In [your server directory]/appserv/conf/WEB-INF/web.xml, remove comment tags around the filter-mapping
6 Add your authenticated user ID to the HTTP request header. By default, use the header name x-user-id:
x-user-id: joesmith
You can specify a different header name by setting a value for HTTP_AUTH_HEADER in the custom.ini file. You can
also configure a proxy server to set the HTTP header value. See Adobe Connect Installation and Configuration Guide for details of either.
7 Parse the response for a status code of ok.
8 Handle the BREEZESESSION cookie value returned in the response header. You have two choices for how to do this:
If you use a client library that manages cookies Allow your library to extract the cookie value, store it, and pass it
back to the server on subsequent requests for the user.
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Login and requests
If you manage cookies yourself Extract the value of the BREEZESESSION cookie from the response header. Store it
and pass it back to the server in the
as the user’s session is valid:
Be sure not to reuse the cookie value when the user’s session ends.
session parameter of all subsequent actions you call for the same user, as long
Send a request in an XML document
At times, you may prefer to send an HTTP POST request to the server to make sure the data is secure and not visible in
transit. In that case, specify the action name and parameters in an XML document.
Make an XML document request
1 Create an XML document with the root element params and param child elements for the action name and each
• You can only send one action in the params root element. You cannot batch multiple actions to be executed
sequentially.
• The XML document you send must be valid and well-formed. Try validating the document in an XML editor
before you send it.
2 Write code that sends an HTTP POST request to Adobe Connect and receives an XML response.
The specific code will vary according to your programming language and development environment.
3 In your code, send the XML document to Adobe Connect in the body of the HTTP POST request.
• Read the XML document into the request.
• Be sure to set a content-type header of text/xml or application/xml.
Parse a response with XPath
When you receive an XML response from Adobe Connect, you need to be able to parse it to extract the XML elements
you need.
If you are working in a language such as Java™, with an XML parser (such as Xerces or JDOM) installed, you can parse
through an XML response, select values from nodes, and then use those values.
Use XPath to parse a response
❖ Write a method that calls one or more actions. Create an instance of the XPath class so that you can use the XPath
expressions. Call the actions, read the XML response, and use XPath syntax to select the values you need:
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Login and requests
public String scoUrl(String scoId) throws XMLApiException {
try {
Element e = request("sco-info", "sco-id=" + scoId);
if(!(codePath.valueOf(e).equalsIgnoreCase("ok")))
return "";
XPath xpath = XPath.newInstance("//url-path/text()");String path = ((Text) xpath.selectSingleNode(e)).getText();
You can check the response for the pattern ok or code="ok" .
Parse an error response
When an API action completes successfully, it returns a status code of ok. If the call is not successful, it can also return
any of the following status codes:
invalid Indicates that the call is invalid in some way, usually invalid syntax.
no-access Shows that the current user does not have permission to call the action, and includes a subcode attribute
with more information.
no-data Indicates that there is no data available for the action to return, when the action would ordinarily return data.
too-much-data Means that the action should have returned a single result but is actually returning multiple results.
When the status code is invalid, the response also has an invalid element that shows which request parameter is
incorrect or missing:
All valid values for code, subcode, and invalid are described in status, in the API reference. Your application needs
to read and handle status codes and subcodes.
Handle status codes
1 Write a method that parses an XML API response for the status code and subcode. This is an example in Java:
2 When you call an action, parse the response for the status.
3 If the status is not ok, return a null value, display the error status code for debugging, or throw an application
exception.
The action to take depends on which call you are making and how your application is designed.
17
Log a user out
When a user logs out, the user’s session ends, and Adobe Connect invalidates the BREEZESESSION cookie by setting it
to null and using an expiration date that has passed. For example, if you call
Set-Cookie method in the response header, setting an empty cookie value and an expiration date a year earlier:
To get started with Adobe Connect Web Services, you need to understand three key concepts:
• Principals, who are users and groups
• SCOs, which are Shareable Content Objects and represent meetings, courses, and just about any content that can
be created on Adobe Connect. SCOs (pronounced sko, which rhymes with snow) are compatible with the industry
standard Shareable Content Object Reference Model (SCORM) specification and can be used with a Learning
Management System (LMS).
• Permissions, which define how principals can act on objects
This chapter describes basic tasks you can do with Web Services, regardless of which Adobe Connect applications you
have licensed. Many tasks are described as if you are running them in a browser. If you want to make the call from an
application, translate the XML request to the language you are working in (for an example of how to do this in Java™,
“Send XML requests” on page 249).
see
18
Find a principal-id
A principal is a user or group that has a defined permission to interact with a SCO on the server. You can create users
and groups for your organization and modify their permissions.
Adobe Connect also has built-in groups: Administrators, Limited Administrators, Authors, Training Managers, Event
Managers, Learners, Meeting Hosts, and Seminar Hosts. You can add users and groups to built-in groups, but you
can’t modify the permissions of built-in groups.
Note: The built-in groups that are available depend on your account.
Each Adobe Connect user and group has a principal-id. In some API calls, the principal-id is called a group-id
user-id to distinguish it from other values. The value of the ID that identifies a user or group is always the same,
or
regardless of its name. You can check the syntax of any action in
Get the principal-id of a user or group
1 Call principal-list with a filter:
https://example.com/api/xml?action=principal-list&filter-name=jazz doe
It is best to use filter-name, filter-login, or filter-email for an exact match. Be careful with filter-like-
name, as it may affect server performance.
2 Parse the principal elements in the response for the principal-id:
Here, the principal-id is called user-id, because it always represents a user who is authenticated to Adobe
Connect. A group cannot log in to the server. You can pass the
user-id value as a principal-id in other actions.
List principals or guests
A principal with a type of user is a registered Adobe Connect user, while a user with a type of guest has entered a
meeting room as a guest. The server captures information about the guest and gives the guest a
List all principals on the server
1 Call principal-list with no parameters:
https://example.com/api/xml?action=principal-list
principal-id.
19
This call returns all Adobe Connect users, so be prepared for a large response.
2 Parse the principal elements in the response for the values you want:
When you call principal-info with a principal-id, the response shows the principal. If the principal is a user who
has a manager assigned in Adobe Connect, the response also shows data about the principal’s manager in a
In the response, ext-login has the same value as login by default, until the user logs in successfully using external
authentication (see
Log in using HTTP header authentication).
21
Update users
Once you create users, you often need to update their information. You can update standard fields that Adobe Connect
defines for users by calling
login, first-name, and last-name.
If you have defined custom fields for the principal, use acl-field-update to update them.
You need Administrator privilege to update users, so your application must first log in as a user in the admins group.
You cannot log in as the user and then have the user update his or her own profile.
Update standard user information
1 Log in as an Administrator user.
2 Call principal-list with a filter to get the user’s principal-id (see Find a principal-id).
3 Call <<UNRESOLVED XREF>> principal-update to update the user:
The name field defines the field name as your application displays it, so use appropriate spelling and capitalization.
The custom field in this example is defined for all Adobe Connect principals.
2 Parse the field element in the response for the field-id:
All objects on Adobe Connect are Shareable Content Objects, or SCOs. The word Shareable comes from learning
management systems in which content is combined into courses or curriculums and shared among them.
On the server, a SCO can be any content object that is combined with other content objects into a course or
curriculum. Courses, curriculums, presentations, and other types of content are SCOs. Meetings, events, folders, trees,
links, graphics files, or any other object are also SCOs.
Each SCO has a unique integer identifier called a sco-id. The sco-id is unique across the entire server. On a Adobe
Connect hosted account, the
sco-id is unique across all accounts.
Each SCO also has a type, such as content, course, meeting, and so on. You can see the sco-id and type values in
the response from
When you study the XML responses of various calls, you notice more characteristics of SCOs:
• A SCO’s identifier is called a sco-id in some actions, but can also be called folder-id, acl-id, or another name
in other actions. It’s the same unique ID.
• Each SCO can be accessed by various principals, either users or groups. The specific principals who can access a
SCO are defined in access control lists, or ACLs.
• Each SCO has a unique URL, with two parts: a domain name (like http://example.com) and an URL path (like
/f2006123456/). You can concatenate these to form the full URL that accesses the SCO.
• Each SCO has a navigation path that describes where it resides in the folder hierarchy.
• Each SCO has a permission defined for each principal who can access it.
• Some SCOs have description fields, which are text strings that give you information about the SCO.
Often you need to find the ID of a SCO or some information about it. SCOs are arranged in a specific folder hierarchy
where folders have names that indicate whether they are at the top level, contain shared content or templates, or hold
user content and templates.
25
When you call sco-shortcuts, it returns a list of folders. Notice that folders have different types:
The folders shown in this example happen to be for meetings, but folders for other types of SCOs follow a similar
pattern. Each folder type stores certain types of objects, with certain access privileges, as follows:
content, courses, meetings, events, seminars These are shared folders, such as Shared Meetings, Shared Training, and
so on. The Adobe Connect Administrator has access to this folder. The Administrator can assign Manage permission
to any user, but only members of the built-in group associated with the folder can create new content or meetings
within it.
user-content, user-meetings, user-courses, user-events These folders each contain a folder for each user who can
create content within it (for example, one folder for each meeting host or training developer).
Last updated 12/16/2010
USING ADOBE CONNECT 8 WEB SERVICES
Basics
my-courses, my-events, my-meetings, my-meeting-templates, my-content Users create their own content in these
folders and have Manage permission on the content. For example, meeting hosts create meetings in their
meetings folder and have Manage permission on those meetings.
shared-meeting-templates This folder is within the Shared Meetings folder, contains meeting templates, and inherits
my-
permissions from Shared Meetings.
You can list the contents of any folder to get information about a specific SCO. When you need to search for a SCO
but do not have a
sco-search, as it returns only certain types of SCOs.
sco-id, move through folders using sco-shortcuts and sco-expanded-contents. Do not use
Find a SCO when you do not know the sco-id
1 Call <<UNRESOLVED XREF>> sco-shortcuts to get a list of root folders on Adobe Connect:
https://example.com/api/xml?action=sco-shortcuts
2 Parse the response for a type of the root folder that would logically contain the SCO, for example, my-courses for
4 Create a call to <<UNRESOLVED XREF>> sco-expanded-contents to list the contents of the folder, adding an
exact match filter, if possible:
https://example.com/api/xml?action=sco-expanded-contents
&sco-id=2006258748&filter-name=All About Web Communities
You have several choices of filters:
• An exact match filter on name or url-path (like filter-name or filter-url-path), if you know the name or
URL of the SCO.
• A greater-than or less-than date filter (filter-gt-date or filter-lt-date) on date-begin, date-created,
date-modified, if you know one of those dates.
or
• A partial name filter (like filter-like-name), if you do not know the exact SCO name. However, using this
filter might affect system performance.
5 Parse the response for the sco-id:
<sco depth="1" sco-id="2006745671" folder-id="2006258748" type="folder"
icon="folder" lang="en" source-sco-id="2006745669" display-seq="0"
source-sco-type="14">
<name>A Day in the Life Resources</name>
<url-path>/f28435879/</url-path>
<date-created>2006-06-12T14:47:59.903-07:00</date-created>
<date-modified>2006-06-12T14:47:59.903-07:00</date-modified>
</sco>