For some reason my Soap request is ignoring the https:// in the host
POST /0_5/ClientService.asmx
the post should be https://api.mindbodyonline.com/0_5/ClientService.asmx?wsdl
SOAPAction: “http://clients.mindbodyonline.com/api/0_5/AddOrUpdateClients” same with this…
is there an option to tell Soap hey this is a secured link? it keeps treating my request as unsecured
This is what my header request looks like
I’m assuming HTTPS should be in there some where.
POST /0_5/ClientService.asmx HTTP/1.1
Host: api.mindbodyonline.com
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Content-Type: text/xml; charset=utf-8
SOAPAction: “http://clients.mindbodyonline.com/api/0_5/AddOrUpdateClients”
Content-Length: 1501
If anyone bumps into thie problem… you can force Soap endpoint by putting the following into the soap options ‘location’ => ‘https://www.domain.com’