1, 'features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS); $options = array('trace' => 1, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS); // Create a soap client $graydon = new SoapClient(GRAYDON_WSDL, $options); // Create the authentication parameters object $authentication = new StdClass(); // Initialise the authentication parameters $authentication->PartnerUserId = USER_PROFILE; $authentication->PartnerPassword = PASSWORD; $authentication->PartnerClientId = ''; $authentication->SessionID = ''; ?>