I am using the ECL to login to metastorm in order to raise a flag from a windows service running on the same machine as the engine. When I attempt to create a new metastorm session I get the following error:
*************************************************
Failed due to: System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
*************************************************
In IIS I've set the ECL.WS application to Anonymous Authentication and Identity = Application Pool and assigned it to the MetastormECLWSAppPool . I set the MetastormECLWSAppPool to LocalSystem as the Identity. Also WIndows Auth is set to NTLM and Negotiate.
*************************************************
In the App.Config I've set the following as the service model
<system.serviceModel>
http://localhost/ECL.WS/Service.svc" binding="basicHttpBinding" bindingConfiguration="MetastormECL" contract="Service" name="MetastormECL"/>
</system.serviceModel>
*************************************************
The application is using Metastorm.ECML.Client.Net;
and the call to Metastorm fails the minute I attempt to create and instance of IMEtastormOperation
public
staticIMetastormOperation metastormSession = newMetastormOperation();
- This times out each time
*************************************************
Anyone know how this is supposed to be configured? Please note SSO has been setup and modified to work within this organizations unique sso structure and using a similar style of code in a web application to create a new session works without a hitch