Cisco Cisco 3350 Mobility Services Engine Guide Du Développeur

Page de 224
                   
C
ISCO 
MSE
 
API
 
S
PECI FICATI ON 
G
UIDE 
 
C
ONTEXT 
A
W ARE 
S
ERVICE OF 
MSE,
 
R
EL EASE 
7.4
.
                                   
P
A G E  
94
  O F  
2 27  
 
7.5.2 
SOAP Response 
7.5.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”> 
 
 
 
<AesMobileStationLocation 
macAddress="00:01:02:03:04:05" 
changedOn=”122122111” floorId=”10” x=”12.1” y=”34.6” z=”2”/> 
 
 
</Response> 
 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
 
7.6 METHOD: GetStationLocationList 
Queries the list of AesMobileStationLocation records currently stored in the MSE. The query can 
be: 
 
NULL - Return all mobile station locations and their contents.  
 
Count Query - Return the number of mobile station locations in the server. 
 
All other queries (sorting, paging, member match and so on) - The list of mobile station 
locations and their content, constrained based on the query content. 
 
With  v7.2  onwards,  there  is  also  support  for  partial  IP  Address  search.  If  you  are 
performing a partial IP Address search it makes more sense to use a LIKE or NOT_LIKE, 
however other operators are acceptable input too.
 
Important note: For existing application(pre-v7.2) if there are both ip v4 and v6 addresses then 
the ipaddress attribute in the AesMobilestation object will contain the first ipv4 address and the 
other Ips will be sent in the EndpointIPAddress element. If there is no IP v4 address (there may 
or may not be IPv6 addresses) the ipAddress attribute will be empty. New Applications should 
rely  only  on  the  EndpointIPAddress  element  to  get  the  ip  address  and  not  use  the  ipaddress 
attribute. 
Result: See below. 
Arguments: AesBusinessSession, AesQueryCriteria 
7.6.1 
SOAP Request 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">  
<SOAP-ENV:Body> 
<GetStationLocationList xmlns="http://cisco.com/mse/location" 
xmlns:typ="http://cisco.com/mse/types"> 
  <typ:AesBusinessSession id="23108"/> 
  <typ:AesQueryCriteria startIndex="2" numOfResults="3"/> 
</GetStationLocationList>