I am trying to use soap in php4 to access this web service. These are the only details I have to acess it:
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /carwebVRRB2B/CarweBVRRWebService.asmx HTTP/1.1
Host: www.carwebuk.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""
<?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>
<strB2BGetVehicleByVRM xmlns="http://tempuri.org/">
<strUserName>string</strUserName>
<strPassword>string</strPassword>
<strClientRef>string</strClientRef>
<strClientDescription>string</strClientDescription>
<strKey1>string</strKey1>
<strVRM>string</strVRM>
<strVersion>string</strVersion>
</strB2BGetVehicleByVRM>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?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>
<strB2BGetVehicleByVRMResponse xmlns="http://tempuri.org/">
<strB2BGetVehicleByVRMResult>xml</strB2BGetVehicleByVRMResult>
</strB2BGetVehicleByVRMResponse>
</soap:Body>
</soap:Envelope>
I have tried using this script here http://kouba.at/projects/soap/soap.phps and nusoap but I can get anything to work. It just returns errors. anyone any idears?