Hi
After hitting a brick wall using php's soapclient, i'm attempting to use NuSoap. I pass it an array of data, but when I look at the request, there's no data in there whatsoever. Where has it gone ?! Any help would be much appreciated.
$authenticate = array(
'Country' => 'GBR',
'Engine' => array ('_' => 'Authenticate', 'Flatten' => true, 'PromptSet' => 'Default'),
'Layout' => '< Default >',
'SearchSpec' => array(
array('_' => 'Yes', 'Key' => 'CTRL_SEARCHCONSENT'),
array('_' => 'MR', 'Key' => 'NAME_TITLE'),
array('_' => 'Zuzu', 'Key' => 'NAME_FORENAME'),
array('_' => '', 'Key' => 'NAME_INITIALS'),
array('_' => 'Zuzu', 'Key' => 'NAME_SURNAME'),
array('_' => '12/12/1956', 'Key' => 'NAME_DATEOFBIRTH'),
array('_' => 'M', 'Key' => 'NAME_SEX'),
array('_' => '', 'Key' => 'ADDR_FLAT'),
array('_' => '', 'Key' => 'ADDR_HOUSENAME'),
array('_' => '27', 'Key' => 'ADDR_HOUSENUMBER'),
array('_' => 'Manor Road', 'Key' => 'ADDR_STREET'),
array('_' => 'Alresford', 'Key' => 'ADDR_DISTRICT'),
array('_' => 'Zuzuchester', 'Key' => 'ADDR_TOWN'),
array('_' => '', 'Key' => 'ADDR_COUNTY'),
array('_' => 'CO4 4LT', 'Key' => 'ADDR_POSTCODE')
)
);
require_once ('../nusoap/lib/nusoap.php');
$wsdlfile = "authenticate.wsdl";
$client = new nusoap_client ($wsdlfile,'wsdl');
$repsonse = $client->call('DoSearch',$authenticate);
and when I do $client->request, I get:
REQUEST :
POST / HTTP/1.0 Host: Sbsswhapp006:2021 User-Agent: NuSOAP/0.7.3 (1.114)
Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "http://www.qas.com/web-2005-10/DoSearch" Content-Length: 414 <?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns6316="http://tempuri.org">
<SOAP-ENV:Body>
<QASearch xmlns="http://www.qas.com/web-2005-10"/>
!! Surely DATA SHOULD BE HERE!!
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
ANy ideas what's happening here. I'm having a SOAP nightmare, five days I've been trying to get a request sent!
thanks