<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
/**
 * This file aims to show you how to use this generated package.
 * In addition, the goal is to show which methods are available and the first needed parameter(s)
 * You have to use an associative array such as:
 * - the key must be a constant beginning with WSDL_ from AbstractSoapClientBase class (each generated ServiceType class extends this class)
 * - the value must be the corresponding key value (each option matches a {@link http://www.php.net/manual/en/soapclient.soapclient.php} option)
 * $options = array(
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL =&gt; 'http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE =&gt; true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN =&gt; 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD =&gt; 'you_secret_password',
 * );
 * etc...
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL =&gt; 'http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for List ServiceType
 */
$list = new \ServiceType\_List($options);
/**
 * Sample call for ListOfContinentsByName operation/method
 */
if ($list-&gt;ListOfContinentsByName(new \StructType\ListOfContinentsByName()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfContinentsByCode operation/method
 */
if ($list-&gt;ListOfContinentsByCode(new \StructType\ListOfContinentsByCode()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfCurrenciesByName operation/method
 */
if ($list-&gt;ListOfCurrenciesByName(new \StructType\ListOfCurrenciesByName()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfCurrenciesByCode operation/method
 */
if ($list-&gt;ListOfCurrenciesByCode(new \StructType\ListOfCurrenciesByCode()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfCountryNamesByCode operation/method
 */
if ($list-&gt;ListOfCountryNamesByCode(new \StructType\ListOfCountryNamesByCode()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfCountryNamesByName operation/method
 */
if ($list-&gt;ListOfCountryNamesByName(new \StructType\ListOfCountryNamesByName()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfCountryNamesGroupedByContinent operation/method
 */
if ($list-&gt;ListOfCountryNamesGroupedByContinent(new \StructType\ListOfCountryNamesGroupedByContinent()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfLanguagesByName operation/method
 */
if ($list-&gt;ListOfLanguagesByName(new \StructType\ListOfLanguagesByName()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Sample call for ListOfLanguagesByCode operation/method
 */
if ($list-&gt;ListOfLanguagesByCode(new \StructType\ListOfLanguagesByCode()) !== false) {
    print_r($list-&gt;getResult());
} else {
    print_r($list-&gt;getLastError());
}
/**
 * Samples for Currency ServiceType
 */
$currency = new \ServiceType\Currency($options);
/**
 * Sample call for CurrencyName operation/method
 */
if ($currency-&gt;CurrencyName(new \StructType\CurrencyName()) !== false) {
    print_r($currency-&gt;getResult());
} else {
    print_r($currency-&gt;getLastError());
}
/**
 * Samples for Country ServiceType
 */
$country = new \ServiceType\Country($options);
/**
 * Sample call for CountryName operation/method
 */
if ($country-&gt;CountryName(new \StructType\CountryName()) !== false) {
    print_r($country-&gt;getResult());
} else {
    print_r($country-&gt;getLastError());
}
/**
 * Sample call for CountryISOCode operation/method
 */
if ($country-&gt;CountryISOCode(new \StructType\CountryISOCode()) !== false) {
    print_r($country-&gt;getResult());
} else {
    print_r($country-&gt;getLastError());
}
/**
 * Sample call for CountryCurrency operation/method
 */
if ($country-&gt;CountryCurrency(new \StructType\CountryCurrency()) !== false) {
    print_r($country-&gt;getResult());
} else {
    print_r($country-&gt;getLastError());
}
/**
 * Sample call for CountryFlag operation/method
 */
if ($country-&gt;CountryFlag(new \StructType\CountryFlag()) !== false) {
    print_r($country-&gt;getResult());
} else {
    print_r($country-&gt;getLastError());
}
/**
 * Sample call for CountryIntPhoneCode operation/method
 */
if ($country-&gt;CountryIntPhoneCode(new \StructType\CountryIntPhoneCode()) !== false) {
    print_r($country-&gt;getResult());
} else {
    print_r($country-&gt;getLastError());
}
/**
 * Samples for Capital ServiceType
 */
$capital = new \ServiceType\Capital($options);
/**
 * Sample call for CapitalCity operation/method
 */
if ($capital-&gt;CapitalCity(new \StructType\CapitalCity()) !== false) {
    print_r($capital-&gt;getResult());
} else {
    print_r($capital-&gt;getLastError());
}
/**
 * Samples for Full ServiceType
 */
$full = new \ServiceType\Full($options);
/**
 * Sample call for FullCountryInfo operation/method
 */
if ($full-&gt;FullCountryInfo(new \StructType\FullCountryInfo()) !== false) {
    print_r($full-&gt;getResult());
} else {
    print_r($full-&gt;getLastError());
}
/**
 * Sample call for FullCountryInfoAllCountries operation/method
 */
if ($full-&gt;FullCountryInfoAllCountries(new \StructType\FullCountryInfoAllCountries()) !== false) {
    print_r($full-&gt;getResult());
} else {
    print_r($full-&gt;getLastError());
}
/**
 * Samples for Countries ServiceType
 */
$countries = new \ServiceType\Countries($options);
/**
 * Sample call for CountriesUsingCurrency operation/method
 */
if ($countries-&gt;CountriesUsingCurrency(new \StructType\CountriesUsingCurrency()) !== false) {
    print_r($countries-&gt;getResult());
} else {
    print_r($countries-&gt;getLastError());
}
/**
 * Samples for Language ServiceType
 */
$language = new \ServiceType\Language($options);
/**
 * Sample call for LanguageName operation/method
 */
if ($language-&gt;LanguageName(new \StructType\LanguageName()) !== false) {
    print_r($language-&gt;getResult());
} else {
    print_r($language-&gt;getLastError());
}
/**
 * Sample call for LanguageISOCode operation/method
 */
if ($language-&gt;LanguageISOCode(new \StructType\LanguageISOCode()) !== false) {
    print_r($language-&gt;getResult());
} else {
    print_r($language-&gt;getLastError());
}
</pre></body></html>