Hello,
We use these kind of script but with Zeep on Python environnement.
Everthing is explains in this document: /connect/sites/default/files/users/user-3956181/Symantec_DLP_14.6_Incident_Reporting_Update_API_Developers_Guide.pdf
If you prefer to use .Net env, you could use this kind of script :
string client_username = "user";
string client_password = "password";
string incidentId = 1280;
string url = "https://localhost/ProtectManager/services/v2011/incidents?wsdl"
BasicHttpBinding httpBinding = new BasicHttpBinding();
httpBinding.Security.Mode = BasicHttpSecurityMode.Transport;
httpBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;
IncidentServicePortTypeClient client = new IncidentServicePortTypeClient(httpBinding,
epAddress);
client.ClientCredentials.UserName.UserName = client_username;
client.ClientCredentials.UserName.Password = client_password;
IEndpointBehavior behavior = new HttpBasicAuthenticationEndpointBehavior();
client.Endpoint.Behaviors.Add(behavior);
client.Open()
response = client.service.incidentDetail(incidentId)
With regards