28
Chapter 3: Common Tasks
•
In Breeze 4.0, the access key for your Breeze account. In Breeze 4.1, you do not need an access
key, but it’s not harmful if you use it.
For information about where to locate your access key, see
“Access keys for Macromedia Breeze
hosted (ASP) customers” on page 18
and
“Access keys for Macromedia Breeze Enterprise
(licensed) customers” on page 18
.
To call a Breeze action in a browser:
1.
Open a browser.
2.
Enter the address of the breeze server in the browser’s address bar. Append the following
action
and
accesskey
parameters in a query string:
http://breeze.example.com/api/xml?action=
action_name
&accesskey=
access_key
Note:
You do not need to append the
accesskey
parameter in Breeze 4.1.
3.
Press Enter (Windows) or Return (Macintosh).
The action returns its XML results in the browser window. A call to
action-list
returns the
following example:
<results>
<status code="ok"/>
<actions>
<action>accesskey-exec</action>
<action>accesskey-info</action>
<action>acl-preference-update</action>
<action>action-list</action>
<action>custom-field-update</action>
<action>custom-fields</action>
<action>custom-fields-delete</action>
<action>custom-fields-order-update</action>
...the list of actions continues here...
</actions>
</results>
This is the same XML that returns when you call the action in an application. You can also test
filters in the browser. For more information, see
“Testing code in the browser” on page 24
.
Integrating Breeze with a directory service
Suppose your organization uses a central repository of user information, such as Lightweight
Directory Access Protocol (LDAP). Breeze lets you import or synchronize user information from
such a directory service.
The following procedure describes the steps that your application should follow to perform this
task. This procedure assumes that if the information provided by the directory service doesn’t
match the information provided by the Breeze server, the information from the directory service
is correct and up-to-date.
Содержание BREEZE-USING THE BREEZE XML WEB SERVICES
Страница 1: ...Using the Breeze XML Web Services...
Страница 8: ...8 Contents...
Страница 12: ...12 Introduction Before You Begin...
Страница 26: ...26 Chapter 2 Working with Filters...
Страница 36: ...36 Chapter 3 Common Tasks...
Страница 112: ...112 Chapter 4 Action Reference...
Страница 186: ...186 Chapter 5 XML Results Reference...
Страница 196: ...196 Index...