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  
210
  O F  
227  
 
Xml Request 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<SOAP-ENV:Body> 
  <GetStationLocationList xmlns=” http://cisco.com/mse/location”> 
   <AesBusinessSession id="21854" mask="-1"/> 
   <AesQueryCriteria> 
     <and-list> 
<AesMatchColumnCriteria fieldName1="macAddress" fieldName2="macAddress" 
tableName1="AesMobileStationLocation" tableName2="AesMobileStation"/> 
<AesMatchMbrCriteria matchClass="AesMobileStation" matchMbr="ipAddress" 
matchValue="172.20.226.175" valueClass="java.lang.String"/> 
      </and-list> 
   </AesQueryCriteria> 
  </GetStationLocationList> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
13.2 Asynchronous Notification Samples 
You should have a soap listener tool/program running on the client machine and should listen to 
localhost and the port number you have configured while registering these events through 
AddTrackGroup API call. 
13.2.1 
Containment Notification 
Notification if available in a particular container such as a floor, building, coverage area or 
network design. 
Xml Request 
<SOAP-ENV:Body>    
<AddTrackGroup> 
     <AesBusinessSession id="2397" mask="-1"/> 
     <AesTrackGroup name="SEETHATEST"> 
         <defnList> 
<AesTrackDefn name="SEETHA"> 
   <destDefnList> 
      <AesDestDefn destIPList="10.77.152.14,"> 
          <transport> 
<AesTransportSNMP community="public" portNumber="162"/> 
         </transport> 
       </AesDestDefn> 
                   </destDefnList> 
      <trigger> 
         <AesTriggerContainment containerSize="4" isIn="true" operator="1" param="00:"> 
<container element="HCL-2"/> 
<container element="HCL-2_Group"/> 
<container element="hclbuild1"/> 
<container element="floor1"/> 
        </AesTriggerContainment> 
                </trigger> 
 </AesTrackDefn> 
         </defnList> 
     </AesTrackGroup>