webservice/library/Metier/Graydon/Wsdl/GraydonCompanyData.wsdl
2016-08-30 10:24:06 +02:00

1706 lines
88 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:gry="http://schemas.graydon.co.uk/Company" xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://graydon.co.uk/GraydonDataService/" xmlns:tns1="http://ws.graydon.co.uk/GraydonDataService/types" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="GraydonDataService" targetNamespace="http://graydon.co.uk/GraydonDataService/">
<wsdl:types>
<xsd:schema xmlns:common="http://xml.graydon.co.uk/GraydonUKCommonTypes" xmlns:gry1="http://ws.graydon.co.uk/GraydonDataService/types" elementFormDefault="qualified" targetNamespace="http://ws.graydon.co.uk/GraydonDataService/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://xml.graydon.co.uk/GraydonUKCommonTypes" schemaLocation="./GraydonUKCommonTypes.xsd">
<xsd:annotation/>
</xsd:import>
<xsd:complexType name="GetCompanyMatchesByIdentifier_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchesByIdentifier' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="CompanyMatches_Parameters" type="gry1:CompanyMatches_ParametersType">
</xsd:element>
<xsd:element name="Identifier" type="common:CompanyIdType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyMatchesByName_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchesByName' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="CompanyMatches_Parameters" type="gry1:CompanyMatches_ParametersType"/>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Full or partial name of the company to be matched.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="City" type="common:CityType">
<xsd:annotation>
<xsd:documentation>City of the company being matched. Use this if applicable to narrow down the matched list returned.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="PostCode" type="common:PostCodeType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyMatchesByKeyword_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchesByKeyword' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="CompanyMatches_Parameters" type="gry1:CompanyMatches_ParametersType"/>
<xsd:element name="Keyword" type="gry1:KeywordType">
<xsd:annotation>
<xsd:documentation>Keyword to perform the match with. This should be one or part of one of the words the company name is constituted of.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="City" type="common:CityType">
<xsd:annotation>
<xsd:documentation>The city name of the company to be matched. Use exclusively with the 'Keyword' parameter.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="PostCode" type="common:PostCodeType">
<xsd:annotation>
<xsd:documentation>Postcode of the company being matched. Use exclusively with the 'Keyword' parameter.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyMatches_ResultType">
<xsd:annotation>
<xsd:documentation>All response elements for the 'getCompanyMatch*' operations. </xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
</xsd:element>
<xsd:element name="CompanyMatches" type="gry1:ArrayOfCompanyType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ClientReference" type="gry1:ClientReferenceType">
<xsd:annotation>
<xsd:documentation>Client reference associate with match request.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyProducts_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyProducts' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="CompanyMatchIdentifier" type="gry1:InternalIdentifierType">
<xsd:annotation>
<xsd:documentation>This parameter should be populated with the 'CompanyMatchIdentifier' returned in the 'getCompanyMatches*' operation response.
It is unique to the country matched company.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyProducts_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getCompanyProducts' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType"/>
<xsd:element name="Company" type="gry1:CompanyType">
</xsd:element>
<xsd:element name="Products" type="gry1:ArrayOfProductType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyReport_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getCompanyReport' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType"/>
<xsd:element name="ReportMimeType" type="common:MimeTypesType">
<xsd:annotation>
<xsd:documentation>The value for this element determines whether 'ReportXML', 'ReportBinary' or 'ReportText' will be populated with the report.
For example if the 'ReportMimeType' value is 'pdf' then the 'ReportBinary' element contains the report.
'ReportMimeType' value is 'xml' then the 'ReportXML' element contains the report.
'ReportMimeType' value is 'html' then the 'ReportText' element contains the report. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ReportXML">
<xsd:annotation>
<xsd:documentation>The report as XML elements. The schema the XML relates to depends on individual partner configuration.
The default schema is the 'GraydonUKCompanySchema'.
This will be populated for reports requested with mime type 'xml'</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ReportBinary" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>The report as a binary string. This will contain any binary format mime type requested.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ReportText" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The report as a text string. This will be populated for reports requested with mime type 'htmll'.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCompanyMatchesByName_Parameters" type="gry1:GetCompanyMatchesByName_ParametersType"/>
<xsd:element name="GetCompanyMatchesByKeyword_Parameters" type="gry1:GetCompanyMatchesByKeyword_ParametersType"/>
<xsd:element name="GetCompanyMatches_Result" type="gry1:GetCompanyMatches_ResultType"/>
<xsd:element name="GetCompanyProducts_Parameters" type="gry1:GetCompanyProducts_ParametersType"/>
<xsd:complexType name="GetCompanyReport_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyReport' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="LanguageCode" type="common:LanguageCodesType">
<xsd:annotation>
<xsd:documentation>Language the resulting report should be in. The default is 'E' for English.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OrderReference" type="common:OrderReferenceType">
<xsd:annotation>
<xsd:documentation>This parameter should be populated with the eqvilant 'OrderReference' element returned in the response for the 'placeOrder' operation.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MimeType" type="common:MimeTypesType">
<xsd:annotation>
<xsd:documentation>The mime type the resulting report should be in. i.e. 'xml', 'html'.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCountryAvailability_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCountryAvailability' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Specify the 'Country' parameter to return the available countries and products for a single country. Omit this parameter and all countries and their respective products are returned.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCountryAvailability_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getCompanyReport' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType"/>
<xsd:element name="CountryAvailablity" type="gry1:ArrayOfCountryAndProductType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCountryAvailability_Parameters" type="gry1:GetCountryAvailability_ParametersType">
<xsd:annotation>
<xsd:documentation>Parameters required for requesting the availability of products for all or a specified country</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="GetCountryAvailability_Result" type="gry1:GetCountryAvailability_ResultType">
<xsd:annotation>
<xsd:documentation>
Result of requesting the availability of
products for all or a specified country
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="GetCompanyReport_Parameters" type="gry1:GetCompanyReport_ParametersType"/>
<xsd:element name="GetCompanyProducts_Result" type="gry1:GetCompanyProducts_ResultType"/>
<xsd:element name="GetCompanyReport_Result" type="gry1:GetCompanyReport_ResultType"/>
<xsd:complexType name="GraydonCompanyData_FaultType">
<xsd:annotation>
<xsd:documentation>This is the fault response. It is return if incorrect use of the webservice is detected or 'expected' and 'unexpected' errors are encountered.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="TransactionIdentifier" type="gry1:TransactionIdentifierType">
<xsd:annotation>
<xsd:documentation>
Unique transaction identifier. This
provides a quick and simple way to refer
to problem or suspect requests/responses
through the web service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FaultType" type="gry1:FaultTypeType">
<xsd:annotation>
<xsd:documentation>The 'FaultType' can be 'expected' or 'unexpected'
'expected' describes errors that are encountered during the normal flow of processing service operations. These should be coded for by the partner.
'unexpected' can relate to connectivity, system or application errors that are not in the normal flow of processing.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FaultReturnCode" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The fault is a unquie identifier for the error encountered.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FaultMessage" type="xsd:string">
<xsd:annotation>
<xsd:documentation>A description or stack trace of the error.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="FaultTip" type="xsd:string">
<xsd:annotation>
<xsd:documentation>A 'tip' in English on possible solution to rectifying the error.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GraydonCompanyData_Fault" type="gry1:GraydonCompanyData_FaultType"/>
<xsd:complexType name="GetCompanyMatchesByPostCode_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchesByPostCode' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="CompanyMatches_Parameters" type="gry1:CompanyMatches_ParametersType"/>
<xsd:element name="PostCode" type="common:PostCodeType">
<xsd:annotation>
<xsd:documentation>Postal code for the company to be matched. This can be partial of full.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCompanyMatchesByPostCode_Parameters" type="gry1:GetCompanyMatchesByPostCode_ParametersType"/>
<xsd:complexType name="TimeStampType">
<xsd:sequence>
<xsd:element name="Date" type="xsd:date"/>
<xsd:element name="Time" type="xsd:time"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SessionIDType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="TransactionIdentifierType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="36"/>
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
<xsd:annotation>
<xsd:documentation>
Details logged on for the webservice request and
response
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="ServiceSpeedType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Normal"/>
<xsd:enumeration value="Express"/>
<xsd:enumeration value="Superflash"/>
<xsd:enumeration value="Immediate"/>
<xsd:enumeration value="ImmediateWithUpdate"/>
<xsd:enumeration value="Unknown"/>
<xsd:enumeration value="Delayed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ClientReferenceType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="0"/>
<xsd:maxLength value="60"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Authentication_ParametersType">
<xsd:annotation>
<xsd:documentation>Authentication parameters mandatory for every operation requested
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="PartnerUserId" type="gry1:PartnerUserIdType">
<xsd:annotation>
<xsd:documentation>Graydon supplied unique client user identifier</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PartnerPassword" type="gry1:PartnerPasswordType">
<xsd:annotation>
<xsd:documentation>Graydon supplied user identifier related password
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="PartnerClientId" type="gry1:PartnerClientIdType">
<xsd:annotation>
<xsd:documentation>Partner supplied client identifier. Used for transaction auditing purposes.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="SessionID" type="gry1:SessionIDType">
<xsd:annotation>
<xsd:documentation>Graydon supplied unique session identifier. For faster and more reliable response implementation of sessions use is recommended.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="PartnerUserIdType">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="10"/>
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PartnerPasswordType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="10"/>
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PartnerClientIdType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="0"/>
<xsd:maxLength value="20"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Service_LogType">
<xsd:annotation>
<xsd:documentation>Standard service response information</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="PartnerUserId" type="gry1:PartnerUserIdType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="PartnerClientId" type="tns1:PartnerClientIdType"/>
<xsd:element name="TransactionIdentifier" type="gry1:TransactionIdentifierType">
<xsd:annotation>
<xsd:documentation>Unique transaction identifier.
This provides a quick and simple way to refer to problem or suspect requests/responses through the web service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SessionID" type="gry1:SessionIDType">
<xsd:annotation>
<xsd:documentation>Unique session identifier </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RequestTimestamp" type="gry1:TimeStampType">
<xsd:annotation>
<xsd:documentation>Recorded date and time for receipt of the service request</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ResponseTimestamp" type="gry1:TimeStampType">
<xsd:annotation>
<xsd:documentation>Recorded date and time for delivery of the service response.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DiagnosticInformation" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Service additional diagnostic information. Help to determine any problems whilst using the service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Country" type="common:CountryType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CountryAndProductType">
<xsd:annotation>
<xsd:documentation>This details all information relating to the country and it's related products.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Country whose availability is being scrutinised.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Products" type="gry1:ArrayOfProductType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProductType">
<xsd:annotation>
<xsd:documentation>All the details related to a product.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Code" type="xsd:int"/>
<xsd:element name="ServiceSpeed" type="gry1:ServiceSpeedType">
<xsd:annotation>
<xsd:documentation>
This is the speed of service available
for the product. This is only supplied
for products that require an agency
investigate of the subject company.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Level" type="xsd:int">
<xsd:annotation>
<xsd:documentation>The product level relates to the level of data available for this type of product. '1' representing the lowest. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type" type="tns1:ProductTypeType">
<xsd:annotation>
<xsd:documentation>Type of product this can either be 'Database' which means the report will be built from existing data on the database,
or 'Investigation' which requires a reporter to collate further information on the subject company and add it to the database in order for a report to be built.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DaysFrom" type="xsd:int">
<xsd:annotation>
<xsd:documentation>
Number of delivery days from.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DaysTo" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Number of delivery days to.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CompanyProductIdentifier" type="gry1:InternalIdentifierType">
<xsd:annotation>
<xsd:documentation>This is a unique identifier that should be used to when the subsequent 'placeOrder' operation is used.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MimeTypes" type="gry1:ArrayOfMimeTypeType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompanyMatches_ParametersType">
<xsd:annotation>
<xsd:documentation>Standard company match parameters.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>The country to find matches in.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ClientReference" type="gry1:ClientReferenceType">
<xsd:annotation>
<xsd:documentation>Client reference relating to this match request.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompanyType">
<xsd:annotation>
<xsd:documentation>Details of a subject company.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Name of the subject company.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CompanyMatchIdentifier" type="gry1:InternalIdentifierType">
<xsd:annotation>
<xsd:documentation>
Unique match identifier, supplied to be
used for product availabilty checking.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CompanyIdentifiers" type="gry1:ArrayOfCompanyIdentifierType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="RegisteredAddress" type="common:AddressType">
<xsd:annotation>
<xsd:documentation>Registered address for the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="TradingAddress" type="common:AddressType">
<xsd:annotation>
<xsd:documentation>
Trading address of the subject company
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateOfIncorporation" type="xsd:date">
<xsd:annotation>
<xsd:documentation>
Date the subject company was
incorporated
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateKnownSince" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Date the subject company was known since.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateOfAnnualReturn" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Date for the subject company's annual return.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateOfLatestAccounts" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Date of the latest accounts held in association to the subject company.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateAccountsFiled" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Date the subject company's accounts were last filed.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="LegalForm" type="gry1:LegalFormType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
<xsd:element name="Activites" type="gry1:ArrayOfActivityType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Telephone" type="common:CommunicationType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="Facsimile" type="common:CommunicationType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="Email" type="common:CommunicationType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfCountryAndProductType">
<xsd:annotation>
<xsd:documentation>A single or many 'CountryAndProduct' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="CountryAndProduct" type="gry1:CountryAndProductType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfProductType">
<xsd:annotation>
<xsd:documentation>
A single or many 'Product' elements.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Product" type="gry1:ProductType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LegalFormType">
<xsd:annotation>
<xsd:documentation>
Legal form for the subject company.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Code" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Unique graydon code used to define legal
form
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="LocalCode" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Local country agency code used to define
legal form
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Legal form description
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfActivityType">
<xsd:annotation>
<xsd:documentation>One or may 'Activity' elements</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Activity" type="gry1:ActivityType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ActivityType">
<xsd:annotation>
<xsd:documentation>Activity of the subject company</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Type" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The type of classification system for which Code is meaningful. Examples include SIC or NACE.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Code" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Activity description code. For example, if the Type is SIC (Standard Industrial Classification), the value for Code will be the company's SIC code.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The textual description of the Code. For example, if the Type is "NACE" and Code is '6420' the description would be 'A group engaged in the supply of communication products, services and equipment.'</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PlaceOrder_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'placeOrder' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
</xsd:element>
<xsd:element name="OrderStatus" type="gry1:OrderStatusType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PlaceOrder_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'placeOrder' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element name="PartnerData" type="gry1:ArrayOfPartnerelementType">
<xsd:annotation>
<xsd:documentation>This parameter is user defined and can be used in conjuction with specific solutions provided by Graydon</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OrderCreatorEmail" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This parameter should be populated with the person who created the order. It is mandatory.
Any future problems encountered due to the order detail can be corresponded through this email address.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CompanyProductIdentifier" type="gry1:InternalIdentifierType">
<xsd:annotation>
<xsd:documentation>This parameter should be populated with the 'CompanyProductIdentifier' returned in the response for the 'getCompanyProducts' operation.
Each 'Product' element in this response contains one of these elements with a session unique value. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Order" type="gry1:OrderType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OrderType">
<xsd:annotation>
<xsd:documentation>Order details.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element default="E" name="LanguageCode" type="common:LanguageCodesType">
<xsd:annotation>
<xsd:documentation>Language of the ordered report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Name of the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ServiceSpeed" type="gry1:ServiceSpeedType">
<xsd:annotation>
<xsd:documentation>Speed of service for the ordered report.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Country of the subject company.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Address" type="common:AddressType">
<xsd:annotation>
<xsd:documentation>
Registered address of the subject
company.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CompanyIdentifier" type="gry1:CompanyIdentifierType">
<xsd:annotation>
<xsd:documentation>Company Identifiers used for the subject company.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CreditOpinion" type="xsd:int">
<xsd:annotation>
<xsd:documentation>
Partner's credit opinion value for the
subject company.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CreditOpinionCurrency" type="common:CurrencyType">
<xsd:annotation>
<xsd:documentation>Partner's credit opinion currency for the credit opinion.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="CreditOpinionPeriod" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Partner's credit opinion period for the credit opinion.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ClientReference" type="gry1:ClientReferenceType">
<xsd:annotation>
<xsd:documentation>Client reference for the order.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="AttentionOf" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Attention of detail for the order</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Bankers" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Bankers details for the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="SpecialRemarks" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Special remarks on the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Telephone" type="common:CommunicationType">
<xsd:annotation>
<xsd:documentation>
Telephone number for the subject
company.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PlaceOrder_Parameters" type="gry1:PlaceOrder_ParametersType"/>
<xsd:complexType name="OrderStatusType">
<xsd:annotation>
<xsd:documentation>All status and detail for a specific order</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="OrderReference" type="common:OrderReferenceType">
<xsd:annotation>
<xsd:documentation>Graydon's unique order reference for this order.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Order" type="gry1:OrderType"/>
<xsd:element name="OrderState" type="gry1:OrderStateType">
<xsd:annotation>
<xsd:documentation>The current state of the order i.e. 'Complete'</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DateOrdered" type="xsd:date">
<xsd:annotation>
<xsd:documentation>The date the order was placed.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateCompleted" type="xsd:date">
<xsd:annotation>
<xsd:documentation>The date the order was completed</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateDue" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Date the order is due. This is only applicable to investigated orders.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PlaceOrder_Result" type="gry1:PlaceOrder_ResultType">
</xsd:element>
<xsd:simpleType name="OrderStateType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Completed"/>
<xsd:enumeration value="Assigned"/>
<xsd:enumeration value="InError"/>
<xsd:enumeration value="Initialised"/>
<xsd:enumeration value="Delivered"/>
<xsd:enumeration value="Notified"/>
<xsd:enumeration value="ReCompleted"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PingType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="basic"/>
<xsd:enumeration value="complete"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Ping_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'ping' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element default="basic" name="PingMethod" type="gry1:PingType">
<xsd:annotation>
<xsd:documentation>The method to be used to ping the service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Ping_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getDemoCompanies' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
</xsd:element>
<xsd:element name="PingState" type="gry1:PingStateType">
<xsd:annotation>
<xsd:documentation>Use this element to determine what state the service is in.
The possible values are 'ServiceAvailable', 'ServiceNotAvailable'</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PingMessage" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Information message in English about the state of the service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Ping_Parameters" type="gry1:Ping_ParametersType"/>
<xsd:element name="Ping_Result" type="gry1:Ping_ResultType"/>
<xsd:complexType name="GetCompanyMatchIdentifiers_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchIdentifiers' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Specify a 'Country' parameter for an exact response on that country. No 'Country' parameter specified and all online countries and related identifiers are returned. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyMatchIdentifiers_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getCompanyMatchIdentifiers' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
</xsd:element>
<xsd:element name="CompanyMatchIdentifiers" type="gry1:ArrayOfCompanyMatchIdentifierType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCompanyMatchIdentifiers_Parameters" type="gry1:GetCompanyMatchIdentifiers_ParametersType"/>
<xsd:element name="GetCompanyMatchIdentifiers_Result" type="gry1:GetCompanyMatchIdentifiers_ResultType"/>
<xsd:simpleType name="PingStateType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ServiceAvailable"/>
<xsd:enumeration value="ServiceNotAvailable"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CheckOrders_ParametersType">
<xsd:annotation>
<xsd:documentation>All request parameters for the 'checkOrders' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="OrderReference" type="common:OrderReferenceType">
<xsd:annotation>
<xsd:documentation>Graydon's unique order reference, supplied when the order was orginally placed. Use when a single order is to be checked.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="ClientReference" type="gry1:ClientReferenceType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="OrderState" type="gry1:OrderStateType">
<xsd:annotation>
<xsd:documentation>Using this in conjunction with the 'DateFrom', 'DateTo' parameters is optional. Current date is assumed if not supplied.
This determines which state type i.e. 'Completed' the returned orders are in.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="DateFrom" type="xsd:date">
<xsd:annotation>
<xsd:documentation>
Use this in conjunction with the
'OrderState' and 'DateTo' parameters.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CheckOrders_ResultType">
<xsd:annotation>
<xsd:documentation>All response elements for the 'checkOrders' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
<xsd:element name="CheckOrders" type="gry1:ArrayOfOrderStatusType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="CheckOrders_Parameters" type="gry1:CheckOrders_ParametersType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
<xsd:element name="CheckOrders_Result" type="gry1:CheckOrders_ResultType"/>
<xsd:complexType name="CompanyIdentifierType">
<xsd:annotation>
<xsd:documentation>Indentifiers used for the subject company.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Identifier" type="common:CompanyIdType">
<xsd:annotation>
<xsd:documentation>Identifier for the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type" type="common:CompanyIdTypesType">
<xsd:annotation>
<xsd:documentation>Type of identifier for the subject company</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Description in english for the type of identifier for the subject company. This is not required for matching.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfCompanyIdentifierType">
<xsd:annotation>
<xsd:documentation>One or many Company Identifiers</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="CompanyIdentifier" type="gry1:CompanyIdentifierType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfOrderStatusType">
<xsd:annotation>
<xsd:documentation>One or more 'OrderStatus' elements</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="OrderStatus" type="gry1:OrderStatusType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetDemoCompanies_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getDemoCompanies' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Specify the 'Country' parameter to return the demostration companies for a single country. Omit this parameter and all countries and their respective demostration companies are returned.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetDemoCompanies_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getDemoCompanies' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType"/>
<xsd:element name="DemoCompanies" type="gry1:ArrayOfCountryAndCompanyType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetDemoCompanies_Parameters" type="gry1:GetDemoCompanies_ParametersType"/>
<xsd:element name="GetDemoCompanies_Result" type="gry1:GetDemoCompanies_ResultType"/>
<xsd:complexType name="ArrayOfCompanyType">
<xsd:annotation>
<xsd:documentation>A single or many 'Company' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Company" type="gry1:CompanyType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompanyMatchIdentifierType">
<xsd:annotation>
<xsd:documentation>Company match identifier contains elements for company identfier per country.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType">
</xsd:element>
<xsd:element name="CompanyIdentifier" type="gry1:CompanyIdentifierType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfCompanyMatchIdentifierType">
<xsd:annotation>
<xsd:documentation>One or many 'CompanyMatchIdentifier' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="CompanyMatchIdentifier" type="gry1:CompanyMatchIdentifierType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCompanyMatchesByIdentifier_Parameters" type="gry1:GetCompanyMatchesByIdentifier_ParametersType"/>
<xsd:element name="GetCompanyMatchesByIdentifier_Result" type="gry1:GetCompanyMatchIdentifiers_ResultType"/>
<xsd:complexType name="GetCompanyMatchMethods_ParametersType">
<xsd:annotation>
<xsd:documentation>All the request parameters for the 'getCompanyMatchMethods' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Authentication_Parameters" type="gry1:Authentication_ParametersType">
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Specify the 'Country' parameter and 'MatchMethods' for a single country will be in the response. No 'Country' parameter specified and 'MatchMethods' for every available online country will be returned.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCompanyMatchMethods_ResultType">
<xsd:annotation>
<xsd:documentation>All the response elements for the 'getCompanyMatchMethods' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType">
</xsd:element>
<xsd:element name="CompanyMatchMethods" type="gry1:ArrayOfCompanyMatchMethodType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCompanyMatchMethods_Parameters" type="gry1:GetCompanyMatchMethods_ParametersType"/>
<xsd:element name="GetCompanyMatchMethods_Result" type="gry1:GetCompanyMatchMethods_ResultType"/>
<xsd:complexType name="CompanyMatchedMethodType">
<xsd:annotation>
<xsd:documentation>All the available match methods per country.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Online country name.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MatchMethods" type="gry1:ArrayOfMatchMethodType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfCompanyMatchMethodType">
<xsd:annotation>
<xsd:documentation>A single or many 'CompanyMatchMethod' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="CompanyMatchMethod" type="gry1:CompanyMatchedMethodType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="MatchMethodType">
<xsd:annotation>
<xsd:documentation>Descriptive detail of the match method.
If more than one 'MatchMethod' is provided, then their order dictates the usage preference. </xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="BestMethod" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this element is 'true' then this 'MatchMethod' iteration is to be considered the best match method within its context.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MatchingMethod" type="gry1:MatchingMethodType">
<xsd:annotation>
<xsd:documentation>This is the matching method e.g. 'Keyword', 'Name' etc.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="WithCity" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If 'true' then the 'City' parameter may also be supplied for the match.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="WithPostCode" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If true then the 'PostCode' parameter may also be supplied for the match.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>A description in English detailing the match methods and any possible idiosyncrasies</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MaxLength" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfMatchMethodType">
<xsd:annotation>
<xsd:documentation>A single or more 'MatchMethod' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="MatchMethod" type="gry1:MatchMethodType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="MatchingMethodType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Identifier"/>
<xsd:enumeration value="Keyword"/>
<xsd:enumeration value="Name"/>
<xsd:enumeration value="PostCode"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FaultTypeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Expected"/>
<xsd:enumeration value="Unexpected"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="KeywordType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="0"/>
<xsd:maxLength value="30"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ArrayOfMimeTypeType">
<xsd:annotation>
<xsd:documentation>A single or many 'MimeType' elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="MimeType" type="common:MimeTypesType">
<xsd:annotation>
<xsd:documentation>The format of the report e.g. 'xml'. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="InternalIdentifierType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="0"/>
<xsd:maxLength value="80"/>
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportDeliveryType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="immediate"/>
<xsd:enumeration value="delayed"/>
<xsd:enumeration value="immediateWithDelayedUpdate">
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ProductTypeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Database"/>
<xsd:enumeration value="Investigation"/>
<xsd:enumeration value="Unknown"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="PartnerElementType">
<xsd:sequence>
<xsd:element name="Type" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This contains the type of partner element as defined by the partner</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Format" type="gry1:PartnerElementFormatType">
<xsd:annotation>
<xsd:documentation>This determines whether the 'Value' parmaeter contains 'Numeric' or 'String' formatted data.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Value" type="xsd:string">
<xsd:annotation>
<xsd:documentation>This is the value of the partner element</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfPartnerelementType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="PartnerElement" type="gry1:PartnerElementType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="PartnerElementFormatType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="String"/>
<xsd:enumeration value="Numeric"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="GetCountryStylesheet_ParametersType">
<xsd:sequence>
<xsd:element name="Authenication_Parameters" type="gry1:Authentication_ParametersType"/>
<xsd:element name="Country" type="common:CountryType">
<xsd:annotation>
<xsd:documentation>Specify the 'Country' parameter to return the available countries and products for a single country.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetCountryStylesheets_ResultType">
<xsd:sequence>
<xsd:element name="Service_Log" type="gry1:Service_LogType"/>
<xsd:element name="CountryStylesheets">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType">
</xsd:element>
<xsd:element name="ProductStylesheets" type="gry1:ArrayOfProductStylesheetType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetCountryStylesheet_Parameters" type="gry1:GetCountryStylesheet_ParametersType"/>
<xsd:element name="GetCountryStylesheets_Result" type="gry1:GetCountryStylesheets_ResultType"/>
<xsd:complexType name="ArrayOfAnyType">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CountryAndCompanyType">
<xsd:sequence>
<xsd:element name="Country" type="common:CountryType"/>
<xsd:element name="Companies" type="gry1:ArrayOfCompanyType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfCountryAndCompanyType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="CountryAndCompany" type="gry1:CountryAndCompanyType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProductStylesheetType">
<xsd:sequence>
<xsd:element name="Code" type="xsd:int"/>
<xsd:element name="Stylesheets" type="gry1:ArrayOfAnyType">
</xsd:element>
<xsd:element name="Description" type="xsd:string"/>
<xsd:element name="LastModified" type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfProductStylesheetType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ProductStylesheet" type="gry1:ProductStylesheetType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="getCompanyMatchesByIdentifier_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchesByIdentifier_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyReport_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyReport_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchesByKeyword_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchesByKeyword_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchesByPostCode_Request">
<wsdl:documentation>All the request parameters for the 'getCompanyMatchesByPostCode' operation.</wsdl:documentation>
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchesByPostCode_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchesByName_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchesByName_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatches_Response">
<wsdl:part name="Result" element="tns1:GetCompanyMatches_Result"/>
</wsdl:message>
<wsdl:message name="getCountryAvailability_Response">
<wsdl:part name="Result" element="tns1:GetCountryAvailability_Result"/>
</wsdl:message>
<wsdl:message name="getCompanyProducts_Response">
<wsdl:part name="Result" element="tns1:GetCompanyProducts_Result"/>
</wsdl:message>
<wsdl:message name="getCountryAvailability_Request">
<wsdl:part name="Parameters" element="tns1:GetCountryAvailability_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyReport_Response">
<wsdl:part name="Result" element="tns1:GetCompanyReport_Result"/>
</wsdl:message>
<wsdl:message name="getCompanyProducts_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyProducts_Parameters"/>
</wsdl:message>
<wsdl:message name="placeOrder_Request">
<wsdl:part name="Parameters" element="tns1:PlaceOrder_Parameters"/>
</wsdl:message>
<wsdl:message name="placeOrder_Response">
<wsdl:part name="Result" element="tns1:PlaceOrder_Result"/>
</wsdl:message>
<wsdl:message name="ping_Response">
<wsdl:part name="Result" element="tns1:Ping_Result"/>
</wsdl:message>
<wsdl:message name="ping_Request">
<wsdl:part name="Parameters" element="tns1:Ping_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchIdentifiers_Response">
<wsdl:part name="Result" element="tns1:GetCompanyMatchIdentifiers_Result">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getCompanyMatchIdentifiers_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchIdentifiers_Parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="graydonCompanyData_Fault">
<wsdl:part name="Fault" element="tns1:GraydonCompanyData_Fault"/>
</wsdl:message>
<wsdl:message name="checkOrders_Response">
<wsdl:part name="Result" element="tns1:CheckOrders_Result"/>
</wsdl:message>
<wsdl:message name="checkOrders_Request">
<wsdl:documentation/>
<wsdl:part name="Parameters" element="tns1:CheckOrders_Parameters"/>
</wsdl:message>
<wsdl:message name="getDemoCompanies_Response">
<wsdl:part name="Result" element="tns1:GetDemoCompanies_Result"/>
</wsdl:message>
<wsdl:message name="getDemoCompanies_Request">
<wsdl:part name="Parameters" element="tns1:GetDemoCompanies_Parameters"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchMethods_Response">
<wsdl:part name="Result" element="tns1:GetCompanyMatchMethods_Result"/>
</wsdl:message>
<wsdl:message name="getCompanyMatchMethods_Request">
<wsdl:part name="Parameters" element="tns1:GetCompanyMatchMethods_Parameters"/>
</wsdl:message>
<wsdl:message name="getCountryStylesheets_Request">
<wsdl:part name="Parameters" element="tns1:GetCountryStylesheet_Parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getCountryStylesheets_Response">
<wsdl:part name="Result" element="tns1:GetCountryStylesheets_Result">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="GraydonCompanyData_PortType">
<wsdl:operation name="getCompanyMatchesByIdentifier">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchesByIdentifier_Request"/>
<wsdl:output message="tns:getCompanyMatches_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByName">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchesByName_Request"/>
<wsdl:output message="tns:getCompanyMatches_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByKeyword">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchesByKeyword_Request"/>
<wsdl:output message="tns:getCompanyMatches_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyProducts">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyProducts_Request"/>
<wsdl:output message="tns:getCompanyProducts_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyReport">
<wsdl:documentation>Get the report for your subject company. Provide the 'OrderReference' parameter which was returned when the 'placeOrder' operation was performed.
You can only get a company report once the originating order's state is either 'Completed', 'CompletedwithUpdate' or 'Delivered'.
Determine the order's state using the 'checkOrders' operation.
The 'MimeType' parameter determines which of these are populated with the report 'ReportXML', 'ReportBinary' and 'ReportText'.
</wsdl:documentation>
<wsdl:input message="tns:getCompanyReport_Request"/>
<wsdl:output message="tns:getCompanyReport_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="placeOrder">
<wsdl:documentation>Place an order for a report on the subject company. Provide the 'CompanyProductIdentifier' parameter returned from the 'getCompanyProducts'.
The subject company should be have it's product availability checked prior to this operations use.
The response contains a unique 'OrderReference' is returned, to be later used to get the report.
It also the 'OrderState' within the 'OrderStatus' element, use this to determine if the 'getReport' operation can be performed for the order.</wsdl:documentation>
<wsdl:input message="tns:placeOrder_Request"/>
<wsdl:output message="tns:placeOrder_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCountryAvailability">
<wsdl:documentation>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 cotains the 'Country' and multiple 'Product' elements with the relevant details.</wsdl:documentation>
<wsdl:input message="tns:getCountryAvailability_Request"/>
<wsdl:output message="tns:getCountryAvailability_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByPostCode">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchesByPostCode_Request"/>
<wsdl:output message="tns:getCompanyMatches_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="ping">
<wsdl:documentation>This operation can be performed in using two methods "basic" or "complete", as specified in the "PingMethod" parameter for the operation.
The "basic" method is simply to confirm that the 'GraydonCompanyData' web service is available. This could be used to log supposed availability of the service on a periodic basis.
The "complete" method actually performs a check on backend servers and is therefore more comprehensive. You could use this before performing a periodic batch operation, to determine whether it should be run. </wsdl:documentation>
<wsdl:input message="tns:ping_Request"/>
<wsdl:output message="tns:ping_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchIdentifiers">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchIdentifiers_Request"/>
<wsdl:output message="tns:getCompanyMatchIdentifiers_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault">
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="checkOrders">
<wsdl:documentation>Check the status and detail of a single or all order history within a given period. The period can be specified using the 'DateFrom' 'DateTo' parameters, along with the type of order state you wish returned using the 'OrderState' parameter.
A single order can be checked using just the 'OrderReference' parameter.
The response will contains the 'OrdersStatus' element which in turn holds one ore more 'OrderStatus' elements. This will have all the information relating to the order including it's unique 'OrderReference' element.
This can be used to retrieve the related report if the order state is 'completed'.
The maximum number of 'OrderStatus' elements returned is 250.</wsdl:documentation>
<wsdl:input message="tns:checkOrders_Request"/>
<wsdl:output message="tns:checkOrders_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getDemoCompanies">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getDemoCompanies_Request"/>
<wsdl:output message="tns:getDemoCompanies_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault"/>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchMethods">
<wsdl:documentation>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.</wsdl:documentation>
<wsdl:input message="tns:getCompanyMatchMethods_Request"/>
<wsdl:output message="tns:getCompanyMatchMethods_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault">
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCountryStylesheets">
<wsdl:documentation>Get the available Graydon XSL stylesheets for a particular country.
The stylesheets can be used to transform Graydon XML into HTML and are useful for determining how the GraydonCompanySchema is structured.</wsdl:documentation>
<wsdl:input message="tns:getCountryStylesheets_Request"/>
<wsdl:output message="tns:getCountryStylesheets_Response"/>
<wsdl:fault name="fault" message="tns:graydonCompanyData_Fault">
</wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GraydonCompanyData_Binding" type="tns:GraydonCompanyData_PortType">
<soapbind:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getCompanyMatchesByIdentifier">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchesByIdentifier"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByName">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchesByName"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByKeyword">
<wsdl:documentation>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 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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchesByKeyword"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyProducts">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyProducts"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyReport">
<wsdl:documentation>Get the report for your subject company. Provide the 'OrderReference' parameter which was returned when the 'placeOrder' operation was performed.
You can only get a company report once the originating order's state is either 'Completed', 'CompletedwithUpdate' or 'Delivered'.
Determine the order's state using the 'checkOrders' operation.
The 'MimeType' parameter determines which of these are populated with the report 'ReportXML', 'ReportBinary' and 'ReportText'.
</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyReport"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="placeOrder">
<wsdl:documentation>Place an order for a report on the subject company. Provide the 'CompanyProductIdentifier' parameter returned from the 'getCompanyProducts'.
The subject company should be have it's product availability checked prior to this operations use.
The response contains a unique 'OrderReference' is returned, to be later used to get the report.
It also the 'OrderState' within the 'OrderStatus' element, use this to determine if the 'getReport' operation can be performed for the order.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/placeOrder"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCountryAvailability">
<wsdl:documentation>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 cotains the 'Country' and multiple 'Product' elements with the relevant details.
</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCountryAvailability"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchesByPostCode">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchesByPostCode"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="ping">
<wsdl:documentation>This operation can be performed in using two methods "basic" or "complete", as specified in the "PingMethod" parameter for the operation.
The "basic" method is simply to confirm that the 'GraydonCompanyData' web service is available. This could be used to log supposed availability of the service on a periodic basis.
The "complete" method actually performs a check on backend servers and is therefore more comprehensive. You could use this before performing a periodic batch operation, to determine whether it should be run. </wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/ping"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchIdentifiers">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchIdentifiers"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="checkOrders">
<wsdl:documentation>Check the status and detail of a single or all order history within a given period. The period can be specified using the 'DateFrom' 'DateTo' parameters, along with the type of order state you wish returned using the 'OrderState' parameter.
A single order can be checked using just the 'OrderReference' parameter.
The response will contains the 'OrdersStatus' element which in turn holds one ore more 'OrderStatus' elements. This will have all the information relating to the order including it's unique 'OrderReference' element.
This can be used to retrieve the related report if the order state is 'completed'.
The maximum number of 'OrderStatus' elements returned is 250.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/checkOrders"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDemoCompanies">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getDemoCompanies"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCompanyMatchMethods">
<wsdl:documentation>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.</wsdl:documentation>
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCompanyMatchMethods"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getCountryStylesheets">
<soapbind:operation soapAction="http://graydon.co.uk/CompanyData_web_service/getCountryStylesheets"/>
<wsdl:input>
<soapbind:body parts="Parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="Result" use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soapbind:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GraydonCompanyData">
<wsdl:documentation>Graydon Company Data Webservice. Provides access to millions of companies across many countries. </wsdl:documentation>
<wsdl:port name="SOAPPort" binding="tns:GraydonCompanyData_Binding">
<soapbind:address location="https://www.webservices.graydon.co.uk/CompanyData_webservice/services/SOAPPort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>