ZXTM Control API Overview and Reference
Version 4.0
Console.WriteLine( "{0}", e );
}
}
}
This code works with the .NET 1.1 SDK and with Mono
3
.
Using .Net 1.1, compile and run this example as follows:
C:\> wsdl o:VirtualServer.cs n:ZXTM VirtualServer.wsdl
C:\> csc /out:listVS.exe VirtualServer.cs listVS.cs
C:\> listVS.exe
Main website
Mail servers
Test site
With Mono, compile and run as follows:
$ wsdl o:VirtualServer.cs n:ZXTM VirtualServer.wsdl
$ msc /out:listVS.exe /r:System.Web.Services \
VirtualServer.cs listVS.cs
$ listVS.exe
Main website
Mail servers
Test site
The WSDL interface specifications for the ZXTM Control API are located in
ZEUSHOME/zxtm/etc/wsdl/.
Note the use of the IcertificatePolicy derived class to override the
default certificate checking method. This allows the application to accept
the ZXTM Admin Server's self signed certificate.
3
Use the most recent build of Mono from
http://www.mono project.com/
.
22
New Page 1