02-24-2015 07:24 AM - edited 03-01-2019 09:13 AM
I'm using Microsoft Visual Studio and able to import the teswebservice?wsdl and schema. However, when I try to connect using the user ClientCredential. I receive an authentication error below. Any idea?? See attachment..
Web Service : http://10.3.0.70:8080/api/tes-6.0/webservice/teswebservice?wsdl
We tried connecting to this API by creating an object and respective properties – but it is failed to authorize the services. Here the following Error
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="Tidal Application Realm"'.
02-26-2015 02:39 AM
02-26-2015 05:22 PM
Can you try setting the domain name separately, similar to how you have set Password ? I think setting domain\username is the culprit. For example:
_client.ClientCredentials.Windows.ClientCredential.Domain = "warzone42";
_client.ClientCredentials.Windows.ClientCredential.UserName = "user1428798";
_client.ClientCredentials.Windows.ClientCredential.Password = "p@ssw0rd";
Can you also try accessing the same webservice from a tool like SOAPUI ? Once done, you can see the request and response messages to troubleshoot. Such tools(SOAPUI) are Java based and will behave correctly as compared to when called from Visual Studio/.Net
03-23-2015 12:19 PM
Reginald,
Have you made any progress on this? I am running into a similar issue and not sure how to work around it. I am able to connect using Soap UI and also through Python using SUDS. I can't figre out connecting with C# using the TESWebServiceClient.
Thanks,
Brian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide