<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Paul,<br>
      <br>
      while having a look at the patch I've sent you ... what's the
      reason of implementing the password filter, anyway? Is it because
      you need to synchronize passwords from AD to midPoint?<br>
      <br>
      If it is so, there is a prototype of such password synchronizer
      that we have prepared in cooperation with people at Comenius
      University in Bratislava. It uses standard Microsoft-supplied
      component, <span class="st">Password Synchronization Single Sign
        On Daemon (SSOD)</span>, which is able to push password changes
      from Windows host to any external box (Microsoft provides a
      Unix-side server). I've implemented the receiver side as a Java
      TCP server. Although it currently only decrypts password change
      notifications and prints password to the console, it should be
      easy to change it to push passwords to midPoint via local model
      Java API. If you would be interested in this, I could try to find
      the sources ;)<br>
      <br>
      Of course, we will try to solve the C# webservice issue as well.
      I've created a jira for it:
      <a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-1603">https://jira.evolveum.com/browse/MID-1603</a>.<br>
      <br>
      Best regards,<br>
      Pavol<br>
      <br>
      On 17. 9. 2013 16:04, List User wrote:<br>
    </div>
    <blockquote
cite="mid:CAA3kSxWnXFBxS0UFj1qSL+Nd4EbqHFmjt=Dggqe9WinOPbSUSQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>We're in the process of developing a Active Directory
          password filter for midPoint though are having a problem
          calling the web services interface from C#.</div>
        <div><br>
        </div>
        <div>
          We've imported the WSDL as a service definition and have
          successfully authenticated to the service though when we call
          the searchObject method we get the following exception:</div>
        <div><br>
        </div>
        <div>
          <div>System.ServiceModel.FaultException`1 was unhandled</div>
          <div>  Message=Fault occurred while processing.</div>
          <div>  Source=mscorlib</div>
          <div>  StackTrace:</div>
          <div>    Server stack trace: </div>
          <div>       at
            System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
            operation, ProxyRpc& rpc)</div>
          <div>       at
            System.ServiceModel.Channels.ServiceChannel.Call(String
            action, Boolean oneway, ProxyOperationRuntime operation,
            Object[] ins, Object[] outs, TimeSpan timeout)</div>
          <div>       at
            System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
            methodCall, ProxyOperationRuntime operation)</div>
          <div>       at
            System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
            message)</div>
          <div>    Exception rethrown at [0]: </div>
          <div>       at
            System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
            reqMsg, IMessage retMsg)</div>
          <div>       at
            System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
            msgData, Int32 type)</div>
          <div>       at
            MidPointClientSample.MidpointModelWebService.modelPortType.searchObjects(searchObjects
            request)</div>
          <div>       at
            MidPointClientSample.Program.searchUserByName(modelPortType
            modelPort, String username) in
            C:\Users\paulh.AD\Desktop\MidPointClientSample\MidPointClientSample\MidPointClientSample\Program.cs:line
            89</div>
          <div>
                   at MidPointClientSample.Program.Main(String[] args)
            in
            C:\Users\paulh.AD\Desktop\MidPointClientSample\MidPointClientSample\MidPointClientSample\Program.cs:line
            30</div>
          <div>       at
            System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,
            String[] args)</div>
          <div>       at
            Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()</div>
          <div>       at
            System.Threading.ExecutionContext.Run(ExecutionContext
            executionContext, ContextCallback callback, Object state,
            Boolean ignoreSyncCtx)</div>
          <div>       at
            System.Threading.ExecutionContext.Run(ExecutionContext
            executionContext, ContextCallback callback, Object state)</div>
          <div>       at System.Threading.ThreadHelper.ThreadStart()</div>
          <div>  InnerException: </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>We've compared the SOAP request and response and its
          identical to that of the Java sample client, which tells me
          midPoint is performing correctly though  C# isn't properly
          interpreting the response.</div>
        <div><br>
        </div>
        <div>I was wondering if anyone had attempted to use the web
          service from C# before and had any success?</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div>Paul</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>