Recherche getCompanyMatchesByIdentifier Get a match for a company by using the appropriate identifier for the country being matched in. Specify the 'Country' parameter within the 'CompanyMatches_Parameters', also supply the 'CompanyIdentifier' parameter. Determine which identifier should be supplied by using the 'getCompanyMatchIdentifiers' operation beforehand, this response with the identifier type used to search in the desired country. Determine which search method is available and which of these is the best using the 'getCompanyMatchMethods', the response will give you an array of available match methods. The response is a single 'Company' element within the 'CompanyMatches' element, this has all the information on the matched company held in many elements. If no companies are found to match the given search criteria a 'graydonComanyData_Fault' is thrown containing appropriate error information. getCompanyMatchesByKeyword Get a list of matches for a company by using the a company name keyword and city/postcode for the country being matched in. Specify the 'Country' parameter within the 'CompanyMatches_Parameters', also supply the 'Keyword', 'City' and 'PostCode' parameter (Last two elements are optional). Determine which identifier should be suDetermine which search method is available and which of these is the best using the 'getCompanyMatchMethods', the response will give you an array of available match methods. The response is an array of 'Company' elements within the 'CompanyMatches' element, this has all the information on the matched company held in many elements. If no companies are found to match the given search criteria a 'graydonComanyData_Fault' is thrown containing appropriate error information. getCompanyMatchesByName Get a list of matches for a company by using the company name and city for the country being matched in. Specify the 'Country' parameter within the 'CompanyMatches_Parameters', also supply the 'Name', 'City' parameter (The last element is optional). Determine which search method is available and which of these is the best using the 'getCompanyMatchMethods', the response will give you an array of available match methods. The response is an array of 'Company' elements within the 'CompanyMatches' element, this has all the information on the matched company held in many elements. If no companies are found to match the given search criteria a 'graydonComanyData_Fault' is thrown containing appropriate error information. getCompanyMatchesByPostCode Get a list of matches for a company by using the company's postcode for the country being matched in. Specify the 'Country' parameter within the 'CompanyMatches_Parameters', also supply the 'Name', 'City' parameter (The last element is optional). Determine which search method is available and which of these is the best using the 'getCompanyMatchMethods', the response will give you an array of available match methods. The response is an array of 'Company' elements within the 'CompanyMatches' element, this has all the information on the matched company held in many elements. If no companies are found to match the given search criteria a 'graydonComanyData_Fault' is thrown containing appropriate error information. getCompanyMatchIdentifiers Get a list of company identifiers for a single or all country. Provide the 'Country' parameter to request identifiers for a single country. Use this to determine which type of identifier can be used with the 'getCompanyMatchesByIdentifier' method. The response contains an array of 'CompanyMatchIdentifier', each containing the related 'Country' and the 'CompanyIdentifier' element holding the 'Type' for that country. getCompanyMatchMethods Get the available matching methods for a single or all countries. Provide the 'Country' parameter if you want methods for a single country and not all. This helps determine the best search method to implement per country and the availability of additional search criteria such as 'City'. The response is a single or array of 'CompanyMatchMethods' each contains the related country and an array of available 'MatchMethod' elements. The order of the 'MatchMethods' elements determines order of preference for searching in that country. getCompanyProducts Get the list of products and their availability for a subject company. Provide the 'CompanyMatchIdentifier' parameter (This is provided on each company match). The subject company should be identified via a matching operation prior to this operations use. checkOrders placeOrder getCompanyReport getCountryAvailability Get the availability of products and services for a single or all countries. Provide the 'Country' parameter when a single country is desired. The response contains a single or multiple 'CountryAndProduct' elements which inturn contains the 'Country' and multiple 'Product' elements with the relevant details. getCountryStylesheets getDemoCompanies --> Get the demonstration companies available for a single or all countries. Provide the 'Country' parameter when a single country is desired. The response contains a single or multiple 'Company' elements which icontains the relevant details for the demonstration company. ping User profile: SESS38R7 Customer no.: 32790 Password : E88MSU4 https://www.webservices.graydon.co.uk */ ini_set('soap.wsdl_cache_enabled', 0); //define('GRAYDON_WSDL' ,'https://www.webservices.graydon.co.uk/CompanyData_webservice/services/SOAPPort/wsdl/GraydonCompanyData.wsdl'); define('GRAYDON_WSDL', realpath(dirname(__FILE__)).'/GraydonCompanyData.wsdl'); define('USER_PROFILE','SESS38R7'); define('PASSWORD','E88MSU4'); $options = array('trace' => 1); // 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 = ''; ?>