There are cases where wsdl URL starts with https but wsdl definition has URL starting with http. This makes it impossible to call https endpoint and it gives below error:
Expected element type <Envelope> but have <html>
Changes
Extract SOAP URL from wsdl URL rather then taking it from wsdl definition
Context
There are cases where wsdl URL starts with
https
but wsdl definition has URL starting withhttp
. This makes it impossible to call https endpoint and it gives below error:Changes
Extract SOAP URL from wsdl URL rather then taking it from wsdl definition