Content Type application/x-gzip was not supported by service
Posted: Thu Feb 02, 2023 11:09 am
I have written a small test application to connect to Softpro from our application, but I am getting the error seen below. I have provided the simple code below as well and the reason from the TryAuthenticate. I am not sure why this error comes up as this is something that happens inside the SelectServer code. Can anyone enlighten me on what I can do to get past this? I was able to use this same type of code when I first started this last year and I was able to open orders or create order in the system without issue.
Content Type application/x-gzip was not supported by service http://myserver:8090/Integration/v1/Sec ... 7563eefa1b. The client and service bindings may be mismatched.
Code: Select all
static void Main(string[] args)
{
using (var ss = new SelectServer(new Uri("http://myserver:8090")))
{
string reason;
if (!ss.TryAuthenticate(out reason))
{
// Write login failure reason to console and exit.
Console.WriteLine(reason);
return;
}
Console.WriteLine("CONNECTED TO SOFTPRO!");
}
}