In order to initiate a session to the SDK web service (which receives operative CxSAST requests), the API client must first retrieve its URL from the Resolver web service. The API client should do the following:
http://<server>/Cxwebinterface/CxWsResolver.asmx
<server>
is the IP address or resolvable name of the CxSAST server (in a distributed architecture: the CxManager server).public CxWSResponseDiscovery GetWebServiceUrl( CxClientType ClientType, int APIVersion ); |
The SDK web service URL, in CxWSResponseDiscovery.ServiceURL
internal void Main(string [] args) { CxWSResolverSoapClient cxResolverProxy = new CxWSResolverSoapClient(); int APIVersion = 1; CxWSResponseDiscovery response= cxResolverProxy.GetWebServiceUrl(SDK, APIVersion); URL = response.ServiceURL; } |
|