Knowledge Center > Developer Documentation
ipm7Config (ipMonitor Config Soap Interface)
Formal Definition: Refer to the WSDL Service Description.
The ipMonitor Config Soap Interface provides secure access over SSL (if chosen as the protocol) to back-end configuration.
Methods (C#):
Using the ipMonitor Config WSDL in Visual Studio .NET
- Save WSDL to your hard drive
- In the WSDL, locate and update the soap:address "http://youripm7addr/" to reflect your ipMonitor instance
- In your C# or ASP.NET project, add a web reference and specify the location of your Modified WSDL
- When naming the web reference, use ipm7config
- The following c# code will assist with testing the generated SoapHttpClientProtocol
ipm7config.ipm7Config proxy = new ipm7config.ipm7Config();
Regex r = new Regex("^(.*)soap/config.asmx$", RegexOptions.IgnoreCase );
Match m = r.Match( proxy.Url );
if( m.Success )
{
CredentialCache cache = new CredentialCache();
cache.Add( new Uri( m.Captures[0].Value ), "Digest", new NetworkCredential( SecurelyStoredAccount, SecurelyStoredPassword ) );
proxy.Credentials = cache;
long []monlist = proxy.MonitorList();
}
Enumerations and Structures (C#):
public class cfgItem
{
public long ID;
public string name;
public long type;
public string typedesc;
}
< Back

Last Updated: August 31, 2006 | What did you think of this topic?