tiaguinho / gosoap

🦉SOAP package for Go
MIT License
507 stars 176 forks source link

fix: Extract SOAP URL from wsdl URL passed #94

Closed chirag-parmar-vts closed 3 months ago

chirag-parmar-vts commented 1 year ago

Context

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