C H A P T E R
2-1
Cisco Unified IP Phone Services Application Development Notes
OL-18696-01
2
CiscoIPPhone XML Objects
The following sections describe the general behavior and use of XML objects:
•
Understanding Object Behavior
•
XML Object Definitions
•
Custom Softkeys
•
XML Considerations
•
Application Event Handlers
Understanding Object Behavior
Creating interactive service applications is relatively easy when you understand the XML objects that
are defined for Cisco Unified IP Phones and the behavior that each object generates.
Regarding services, the phone does not have any concept of a state when it loads an XML page.
Cisco Unified IP Phones can use HTTP to load a page of content in many different places, starting when
the
services
button is pressed. Regardless of what causes the phone to load a page, the phone always
behaves appropriately after it loads a page.
Appropriate behavior depends solely on the type of data that has been delivered in the page. The web
server must deliver the XML pages with a MIME type of text/xml. However, the exact mechanism
required varies according to the type of web server that you are using and the server side mechanism that
you are using to create your pages (for example, static files, JavaScript, CGI, and so on). See
Chapter 5,
“HTTP Requests and Header Settings”
for more information.