com.cisco.ipphone.sdk
Interface AXLProviderIF

All Known Implementing Classes:
AXLProvider

public interface AXLProviderIF

The AXLProviderIF interface defines a simple Java "wrapper" interface into Cisco CallManager AVVID XML-Layer Database API (AXL). Any class implementing the AXLProviderIF interface is expected to take care of formatting and communication of AXL SOAP/XML commands. The AXLProvider class included in this SDK is an implementation of the AXLProviderIF interface.

See Also:
AXLProvider

Method Summary
 java.lang.String sendRequest(java.lang.String axlRequest, java.lang.String axlParams)
          This method accepts an AXL Request command along with AXL Parameters and returns the AXL SOAP/XML Response.
 

Method Detail

sendRequest

java.lang.String sendRequest(java.lang.String axlRequest,
                             java.lang.String axlParams)
This method accepts an AXL Request command along with AXL Parameters and returns the AXL SOAP/XML Response. The implementing AXLProviderIF class must be fully initialized prior to calling this method, but the initialization is not specified by the interface and is implementation-specific.

Parameters:
axlRequest - The AXL Request string (Example: getPhone)
axlParams - The AXL Request parameters required for the given AXL Request (Example: <phoneName>SEP00036B7FFE23</phoneName>)
Returns:
String containing the full AXL response in text XML. If the request was unsuccessful, an empty String or AXL error message will be returned.