beautypg.com

Figure 1: gxp2200 xml api via http, Figure 2: gxp2200 xml api structure 1 – Grandstream GXP2200 XML Phonebook Guide User Manual

Page 5

background image

FIRMWARE VERSION 1.0.3.2 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 4 of 21

response with XML content in BODY, it displays the information.

Figure 1: GXP2200 XML API via HTTP

Two types of XML API architecture are introduced below, depending on whether the transaction is via LAN

or Internet.

1. A transaction in the LAN may exchange information in the following manner. The GXP2200 sends a

request to the web server via HTTP/TFTP and waits for a response with the XML contents. The web

server will handle the request and communicate with the application server to get the information for

the XML phone book content display. The following figure shows downloading XML phone book file via

HTTP within a LAN.

Figure 2: GXP2200 XML API Structure 1

2. If the above Web Server accesses Internet, it could interact with outside web server and respond with

real-time content to the GXP2200.