beautypg.com

Sample xml communications with the ap, Sample xml communications, With the ap – Proxim ORiNOCO AP-2500 User Manual

Page 241

background image

241

XML Interface Specification

Sample XML Communications with the AP

The following is an example of the commands to set access for a new subscriber with the following attributes:
User Name: johndoe
MAC address: 0050da554787

NOTE

The following examples contain CRLFs and spacing for display clarity only. A query string must not contain
any formatting or line-break characters. It also must be URL encoded.

1. AP sends (via HTML GET Method to http://[Your Server IP Address]/[Your Scripts]):

http://[Your Server IP Address]/[Your Scripts]?UI=000177&UURL=
http://208.46.165.157&MA=0050da554787&RN=101&OS=http://204.71.200.74&SC=6302

2. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):


johndoe
doededoe
3600

RADIUS


3. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):


Where: the ID is the AP's ID and the IP is the AP’s IP address.

4. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):


RADIUS

5. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):

6. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):


3000

7. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts]):

8. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):


1500

9. AP Sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):