Content Type application/x-gzip was not supported by service

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

Post Reply
stanleyglass
Posts: 8
Joined: Thu Feb 02, 2023 10:43 am

Content Type application/x-gzip was not supported by service

Post by stanleyglass »

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!");
            }

        }
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Content Type application/x-gzip was not supported by service

Post by BobRichards »

I really have no idea.
So what has changed since the time it worked and now?
Bob Richards, Senior Software Developer, SoftPro
Post Reply