Since the SOAP manual on php.net is not very noob friendly and I could not find any good examples I will post my question here.
How can I create PHP SOAP request to look like this?
POST /MySERVER/myWSDLservice.asmx HTTP/1.1 Host: connection.mywebsite.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://connection.mywebsite.com/MySERVER/GetCarType" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetCarType xmlns="http://connection.mywebsite.com/MySERVER/"> <IDNumber>string</IDNumber> </GetCarType> </soap:Body> </soap:Envelope>
- there is user/pass auth
- SSL connection
Any suggestion / links / example much appreciated.
Tested and working!
with https, user & password