How can I kill or release session of hp service manager after retrieve data using wsdl call.
For Connection My code is here
try
{
BasicHttpBinding binding = new BasicHttpBinding(BasicHttpSecurityMode.TransportCredentialOnly);
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;
binding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName;
EndpointAddress address = new EndpointAddress("*****");
IncidentManagementClient IM = new IncidentManagementClient(binding, address);
IM.ClientCredentials.UserName.UserName = "*****";
IM.ClientCredentials.UserName.Password = "****";
return IM;
}
This code create session successfully but how can i release session after retrieve data from Service manager.
Please answer code in C#