Skip to main content

Hi everyone, 


I  created a smart object what calls a WCF, it was configured on endpoint in k2 workspace, this WCF service performs the task of inserting a record in a list of SharePoint 2013, but when running the SMO shows error : " The HTTP request is unauthorized with client authentication scheme Anonymous the authentication header received from the server was NTLM.


Also i have been tested the configuration in the file "K2HostServer.exe.Config" in the section         "<smo Services>" , and adding the endpoint of the service, but havn't  had success on this, when I run it, I get the SMO the same error. 


I hope I can you collaborate to solve this problem because I am new to this tool k2 blackpearl.


Thanks, 





 


  <smoServices enableEndpoints="true" enableEvents="true" enableCrossDomainPolicy="true" specialCharacterReplacement="_" scheme="http" server="IDBSP2013.IDB.internal" port="8888" serviceRoot="SmartObjectServices">


    <wcf binding="wsHttpBinding" bindingConfiguration="wsHttpBinding+Windows" />


<wcf binding="basicHttpBinding" bindingConfiguration="BasicHttpEndPointBinding" />


    <rest binding="webHttpBinding" bindingConfiguration="webHttpBinding+Windows" />


    <managedEndpoints>


      <static>


        <endpoints>


<endpoint categoryPath="Default" alias="SMOCreateNotification" isolationLevel="single" smartobjectName="SMOCreateNotification" >


<wcf binding="basicHttpBinding" bindingConfiguration="BasicHttpEndPointBinding"/>


</endpoint>


</endpoints>


      </static>


      <excluded all="false">


   <endpoints>


        <endpoint categoryPath="SMOCreateNotification" excludeSubCategories="true" />


      </endpoints>


 </excluded>


    </managedEndpoints>


  </smoServices>


  <system.serviceModel>


    <bindings>


      <basicHttpBinding>


       <binding name="BasicHttpEndPointBinding">  


          <security mode="TransportCredentialOnly">  


            <transport clientCredentialType="Ntlm" /> 


            <message clientCredentialType="UserName" algorithmSuite="Default" />  


          </security> 


        </binding>  


      </basicHttpBinding>


    </bindings>


  </system.serviceModel>

Hi


Does the web service add the items to your sharepoint list, when you call it directly through the WCF tester or similar programs.


Reply