Exception(415) 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'

rufaida shafeek 1 Reputation point
2021-11-23T06:58:41.833+00:00

Blockquote

I am getting this error while consuming https protocol as previously i was working on http which uses basic httpbindings and it was working fine

I know for this error that i need to use wsHttp bindings but when i generate client of my wsdl in eclipse its not creating any stub for wsHttp binding.

What to do?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,311 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.