Cisco Cisco 3365 Mobility Services Engine 开发者指南
C
ISCO
MSE
API
S
PECI FICATI ON
G
UI DE
–
C
ONTEXT
A
W ARE
S
ERVICE OF
MSE,
R
ELEASE
7.4
.
P
A G E
147
O F
227
10.3
METHOD: Set capabIlity
Sets the Presence Parameters, location format- CISCO, CIVIC, GEO, location resolution – whether
it should be based on AP/Building/XY and the responseEncoding to be used in the MSE
it should be based on AP/Building/XY and the responseEncoding to be used in the MSE
Result: AesResult specifying true or false
Arguments: AesBusinessSession, AesCapability Object
10.3.1
SOAP Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SetCapability xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="387" mask="-1"/>
<AesCapability locationFormatMask="5" retransmitRule="true"/>
</SetCapability>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
10.3.2
SOAP Response
10.3.2.1 Success
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<Response xmlns=” http://cisco.com/mse/location”>
<AesResult result=true”/>
</Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
AesLocationRquest:
This class contains the client details which will be sent as an input to the GetLocation API call.
Class
AesLocationRequest
Attribute
Type
Access
locFormat
LocationFormat
NONE(0x00),
CIVIC(0x01),
GEO(0x02),
CISCO(0x04);
RW
locResolution
LocationResolution
RW