K2FunctionsSoapClient Error

  • 13 January 2016
  • 0 replies
  • 3 views

Badge +6

I am trying to execute a ASMX Web Service created in the K2 server to use the K2 API

 

I created a simple WS with a hello World

 

I referencied in the .NET named K2Functions

 

I wrote this code

K2Functions.K2FunctionsSoapClient cli = new K2Functions.K2FunctionsSoapClient();


string hola2;
hola2 = cli.HelloWorld();

 

Then, i have this error

 

An exception of type 'System.ServiceModel.Security.MessageSecurityException' occurred in mscorlib.dll but was not handled in user code

Additional information: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'.

 

Do you have any idea that what can i do?, please....

 

Thank you very much

 

Juan Antonio


0 replies

Be the first to reply!

Reply