I'm trying to request a soap request but keep getting an error.
This is what the SOAPXML is expecting:
<?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>
<VehicleSearch xmlns="ServiceBookingComponent">
<VehicleSearchDetails ClassVersion="string">
<Identification>
<SchemeOperatorRef>string</SchemeOperatorRef>
<SchemeRef>string</SchemeRef>
<SecurityToken>string</SecurityToken>
<SystemUserID>string</SystemUserID>
<SystemAccessCode>string</SystemAccessCode>
<MicrositePlusPinNo>string</MicrositePlusPinNo>
</Identification>
<RegNo>string</RegNo>
</VehicleSearchDetails>
</VehicleSearch>
</soap:Body>
</soap:Envelope>
I've got my request setup like this but it isn't working, I keep getting an error:
$res = $client->VehicleSearch(array('SchemeOperatorRef'=>'61','SecurityToken'=>'MYTOKEN','RegNo'=>'MM1'));
Can anyone shed any light on this?
Thanks,
Scott

New Topic/Question
Reply




MultiQuote





|