Hi,
I have a web service using Windows authentication and I want to connect it to my MA. MA provides Basic, None or Certificate as a Client credential type. When running MA Import profile in WebServiceConnector.log I get:
2013-11-26T13:03:31 [2444:1488] Error - WebServiceCallActivity:EndExecute : Failed to complete login operation.
--------- Outer Exception Data ---------
Message: Exception has been thrown by the target of an invocation.
Exception root Exception type: System.Reflection.TargetInvocationException
Source: mscorlib
Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.IdentityManagement.MA.WebServices.Activities.WebServiceCallActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
Target Site: InvokeMethod
--------- Inner Exception Data ---------
Message: The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the server was 'Negotiate,NTLM'.
Exception root Exception type: System.ServiceModel.Security.MessageSecurityException
Source: mscorlib
Stack Trace:
Server stack trace:
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at fvsdu.LemmingWsInterface.Endlogin(IAsyncResult result)
Target Site: HandleReturnMessage
--------- Inner Exception Data ---------
Message: The remote server returned an error: (401) Unauthorized.
Exception root Exception type: System.Net.WebException
Source: System
Stack Trace: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
Target Site: EndGetResponse