Cisco Cisco 3350 Mobility Services Engine Developer's Guide

Page of 224
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  
227
  O F  
227  
         } 
    } 
13.5.3 
To Compile & Run 
Change the prompt to csharp and type  
csc aaaServics.cs LocationService.cs TestGetServerInfo.cs 
Where aaaService.cs, LocationService.cs are the Generated files from WSDL to run 
TestGetServerInfo. 
13.5.4 
Image Retreival for GetNetworkDesign & 
GetNetworkDesignList Calls 
Dot Net Framework does not support SwA (SOAP with Attachment). One has to modify the 
generated LocationService.cs file from WSDL for image retrieval. 
Cisco has done a workaround for that. Please find the following files added under the design 
folder in the csharp samples. 
aaaService.cs, LocationService.cs, ImageParser.cs, XMLNoNamespaceWriter.cs 
To Compile - csc *.cs 
To Execute - TestGetNetworkDesign 
AesViewImage.sourceFile contains the Image Location. 
Depends on your requirement you can implement similar thing in your application.