<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; 'https://e-station.cargonet.software/dpd-eprintwebservice/eprintwebservice.asmx?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; 'https://e-station.cargonet.software/dpd-eprintwebservice/eprintwebservice.asmx?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; \Scraper\ScraperDPD\ClassMap::get(),
);
/**
 * Samples for Is ServiceType
 */
$is = new \Scraper\ScraperDPD\ServiceType\Is($options);
$is-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for isAlive operation/method
 */
if ($is-&gt;isAlive(new \Scraper\ScraperDPD\StructType\IsAlive()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Sample call for IsPickableOnDate operation/method
 */
if ($is-&gt;IsPickableOnDate(new \Scraper\ScraperDPD\StructType\IsPickableOnDate()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Sample call for IsDeliverableOnDate operation/method
 */
if ($is-&gt;IsDeliverableOnDate(new \Scraper\ScraperDPD\StructType\IsDeliverableOnDate()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Sample call for IsCustomerBlocked operation/method
 */
if ($is-&gt;IsCustomerBlocked(new \Scraper\ScraperDPD\StructType\IsCustomerBlocked()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Samples for Set ServiceType
 */
$set = new \Scraper\ScraperDPD\ServiceType\Set($options);
$set-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for setAlive operation/method
 */
if ($set-&gt;setAlive(new \Scraper\ScraperDPD\StructType\SetAlive()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Samples for Verify ServiceType
 */
$verify = new \Scraper\ScraperDPD\ServiceType\Verify($options);
$verify-&gt;setSoapHeaderVerifyUserCredentials(new \Scraper\ScraperDPD\StructType\VerifyUserCredentials());
$verify-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for VerifyConfiguration operation/method
 */
if ($verify-&gt;VerifyConfiguration(new \Scraper\ScraperDPD\StructType\VerifyConfiguration()) !== false) {
    print_r($verify-&gt;getResult());
} else {
    print_r($verify-&gt;getLastError());
}
/**
 * Sample call for VerifyClient operation/method
 */
if ($verify-&gt;VerifyClient(new \Scraper\ScraperDPD\StructType\VerifyClient()) !== false) {
    print_r($verify-&gt;getResult());
} else {
    print_r($verify-&gt;getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \Scraper\ScraperDPD\ServiceType\Create($options);
$create-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for CreateShipment operation/method
 */
if ($create-&gt;CreateShipment(new \Scraper\ScraperDPD\StructType\CreateShipment()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateShipmentBc operation/method
 */
if ($create-&gt;CreateShipmentBc(new \Scraper\ScraperDPD\StructType\CreateShipmentBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateShipmentWithLabels operation/method
 */
if ($create-&gt;CreateShipmentWithLabels(new \Scraper\ScraperDPD\StructType\CreateShipmentWithLabels()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateShipmentWithLabelsBc operation/method
 */
if ($create-&gt;CreateShipmentWithLabelsBc(new \Scraper\ScraperDPD\StructType\CreateShipmentWithLabelsBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateMultiShipment operation/method
 */
if ($create-&gt;CreateMultiShipment(new \Scraper\ScraperDPD\StructType\CreateMultiShipment()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateMultiShipmentBc operation/method
 */
if ($create-&gt;CreateMultiShipmentBc(new \Scraper\ScraperDPD\StructType\CreateMultiShipmentBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateReverseInverseShipment operation/method
 */
if ($create-&gt;CreateReverseInverseShipment(new \Scraper\ScraperDPD\StructType\CreateReverseInverseShipment()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateReverseInverseShipmentBc operation/method
 */
if ($create-&gt;CreateReverseInverseShipmentBc(new \Scraper\ScraperDPD\StructType\CreateReverseInverseShipmentBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateReverseInverseShipmentWithLabels operation/method
 */
if ($create-&gt;CreateReverseInverseShipmentWithLabels(new \Scraper\ScraperDPD\StructType\CreateReverseInverseShipmentWithLabels()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateReverseInverseShipmentWithLabelsBc operation/method
 */
if ($create-&gt;CreateReverseInverseShipmentWithLabelsBc(new \Scraper\ScraperDPD\StructType\CreateReverseInverseShipmentWithLabelsBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateCollectionRequest operation/method
 */
if ($create-&gt;CreateCollectionRequest(new \Scraper\ScraperDPD\StructType\CreateCollectionRequest()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreateCollectionRequestBc operation/method
 */
if ($create-&gt;CreateCollectionRequestBc(new \Scraper\ScraperDPD\StructType\CreateCollectionRequestBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreatePickupAtCustomer operation/method
 */
if ($create-&gt;CreatePickupAtCustomer(new \Scraper\ScraperDPD\StructType\CreatePickupAtCustomer()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for CreatePickupAtCustomerBc operation/method
 */
if ($create-&gt;CreatePickupAtCustomerBc(new \Scraper\ScraperDPD\StructType\CreatePickupAtCustomerBc()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \Scraper\ScraperDPD\ServiceType\Get($options);
$get-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for GetServiceNoticeAnswers operation/method
 */
if ($get-&gt;GetServiceNoticeAnswers(new \Scraper\ScraperDPD\StructType\GetServiceNoticeAnswers()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetServiceNotices operation/method
 */
if ($get-&gt;GetServiceNotices(new \Scraper\ScraperDPD\StructType\GetServiceNotices()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetAllServiceNotices operation/method
 */
if ($get-&gt;GetAllServiceNotices(new \Scraper\ScraperDPD\StructType\GetAllServiceNotices()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetBic3 operation/method
 */
if ($get-&gt;GetBic3(new \Scraper\ScraperDPD\StructType\GetBic3()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetBic3Routing operation/method
 */
if ($get-&gt;GetBic3Routing(new \Scraper\ScraperDPD\StructType\GetBic3Routing()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetGeoRouting operation/method
 */
if ($get-&gt;GetGeoRouting(new \Scraper\ScraperDPD\StructType\GetGeoRouting()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetGeoRoutingReverse operation/method
 */
if ($get-&gt;GetGeoRoutingReverse(new \Scraper\ScraperDPD\StructType\GetGeoRoutingReverse()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRetourShipmentData operation/method
 */
if ($get-&gt;GetRetourShipmentData(new \Scraper\ScraperDPD\StructType\GetRetourShipmentData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRetourShipmentDataBc operation/method
 */
if ($get-&gt;GetRetourShipmentDataBc(new \Scraper\ScraperDPD\StructType\GetRetourShipmentDataBc()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetLabel operation/method
 */
if ($get-&gt;GetLabel(new \Scraper\ScraperDPD\StructType\GetLabel()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetLabelBc operation/method
 */
if ($get-&gt;GetLabelBc(new \Scraper\ScraperDPD\StructType\GetLabelBc()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetLabelData operation/method
 */
if ($get-&gt;GetLabelData(new \Scraper\ScraperDPD\StructType\GetLabelData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetSecureData operation/method
 */
if ($get-&gt;GetSecureData(new \Scraper\ScraperDPD\StructType\GetSecureData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRetourLabel operation/method
 */
if ($get-&gt;GetRetourLabel(new \Scraper\ScraperDPD\StructType\GetRetourLabel()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRetourLabelBc operation/method
 */
if ($get-&gt;GetRetourLabelBc(new \Scraper\ScraperDPD\StructType\GetRetourLabelBc()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetShipment operation/method
 */
if ($get-&gt;GetShipment(new \Scraper\ScraperDPD\StructType\GetShipment()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetShipmentBc operation/method
 */
if ($get-&gt;GetShipmentBc(new \Scraper\ScraperDPD\StructType\GetShipmentBc()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetShipmentWcs operation/method
 */
if ($get-&gt;GetShipmentWcs(new \Scraper\ScraperDPD\StructType\GetShipmentWcs()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetShipmentBcMulti operation/method
 */
if ($get-&gt;GetShipmentBcMulti(new \Scraper\ScraperDPD\StructType\GetShipmentBcMulti()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetReverseOnDemandMode operation/method
 */
if ($get-&gt;GetReverseOnDemandMode(new \Scraper\ScraperDPD\StructType\GetReverseOnDemandMode()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetLastNumber operation/method
 */
if ($get-&gt;GetLastNumber(new \Scraper\ScraperDPD\StructType\GetLastNumber()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetNationalTransitTime operation/method
 */
if ($get-&gt;GetNationalTransitTime(new \Scraper\ScraperDPD\StructType\GetNationalTransitTime()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRdvShipmentData operation/method
 */
if ($get-&gt;GetRdvShipmentData(new \Scraper\ScraperDPD\StructType\GetRdvShipmentData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetSafePlaceData operation/method
 */
if ($get-&gt;GetSafePlaceData(new \Scraper\ScraperDPD\StructType\GetSafePlaceData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetCustomerAddress operation/method
 */
if ($get-&gt;GetCustomerAddress(new \Scraper\ScraperDPD\StructType\GetCustomerAddress()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetNumberRange operation/method
 */
if ($get-&gt;GetNumberRange(new \Scraper\ScraperDPD\StructType\GetNumberRange()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetNumberRangeBc operation/method
 */
if ($get-&gt;GetNumberRangeBc(new \Scraper\ScraperDPD\StructType\GetNumberRangeBc()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetCustomerProfile operation/method
 */
if ($get-&gt;GetCustomerProfile(new \Scraper\ScraperDPD\StructType\GetCustomerProfile()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetProperties operation/method
 */
if ($get-&gt;GetProperties(new \Scraper\ScraperDPD\StructType\GetProperties()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetOptionValue operation/method
 */
if ($get-&gt;GetOptionValue(new \Scraper\ScraperDPD\StructType\GetOptionValue()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetOptionValues operation/method
 */
if ($get-&gt;GetOptionValues(new \Scraper\ScraperDPD\StructType\GetOptionValues()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetShipping operation/method
 */
if ($get-&gt;GetShipping(new \Scraper\ScraperDPD\StructType\GetShipping()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getInfo operation/method
 */
if ($get-&gt;getInfo(new \Scraper\ScraperDPD\StructType\GetInfo()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Update ServiceType
 */
$update = new \Scraper\ScraperDPD\ServiceType\Update($options);
$update-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for UpdateServiceNotice operation/method
 */
if ($update-&gt;UpdateServiceNotice(new \Scraper\ScraperDPD\StructType\UpdateServiceNotice()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateRdvShipmentDataForShop operation/method
 */
if ($update-&gt;UpdateRdvShipmentDataForShop(new \Scraper\ScraperDPD\StructType\UpdateRdvShipmentDataForShop()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateRdvShipmentDataForAgencyPickup operation/method
 */
if ($update-&gt;UpdateRdvShipmentDataForAgencyPickup(new \Scraper\ScraperDPD\StructType\UpdateRdvShipmentDataForAgencyPickup()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateRdvShipmentData operation/method
 */
if ($update-&gt;UpdateRdvShipmentData(new \Scraper\ScraperDPD\StructType\UpdateRdvShipmentData()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateRdvShipmentDataForPredict operation/method
 */
if ($update-&gt;UpdateRdvShipmentDataForPredict(new \Scraper\ScraperDPD\StructType\UpdateRdvShipmentDataForPredict()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateRdvShipmentDataForSafePlace operation/method
 */
if ($update-&gt;UpdateRdvShipmentDataForSafePlace(new \Scraper\ScraperDPD\StructType\UpdateRdvShipmentDataForSafePlace()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Samples for Cancel ServiceType
 */
$cancel = new \Scraper\ScraperDPD\ServiceType\Cancel($options);
$cancel-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for CancelServiceNotice operation/method
 */
if ($cancel-&gt;CancelServiceNotice(new \Scraper\ScraperDPD\StructType\CancelServiceNotice()) !== false) {
    print_r($cancel-&gt;getResult());
} else {
    print_r($cancel-&gt;getLastError());
}
/**
 * Samples for Terminate ServiceType
 */
$terminate = new \Scraper\ScraperDPD\ServiceType\Terminate($options);
$terminate-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for TerminateCollectionRequest operation/method
 */
if ($terminate-&gt;TerminateCollectionRequest(new \Scraper\ScraperDPD\StructType\TerminateCollectionRequest()) !== false) {
    print_r($terminate-&gt;getResult());
} else {
    print_r($terminate-&gt;getLastError());
}
/**
 * Sample call for TerminateCollectionRequestBc operation/method
 */
if ($terminate-&gt;TerminateCollectionRequestBc(new \Scraper\ScraperDPD\StructType\TerminateCollectionRequestBc()) !== false) {
    print_r($terminate-&gt;getResult());
} else {
    print_r($terminate-&gt;getLastError());
}
/**
 * Sample call for TerminateNumberRange operation/method
 */
if ($terminate-&gt;TerminateNumberRange(new \Scraper\ScraperDPD\StructType\TerminateNumberRange()) !== false) {
    print_r($terminate-&gt;getResult());
} else {
    print_r($terminate-&gt;getLastError());
}
/**
 * Sample call for TerminateNumberRangeBc operation/method
 */
if ($terminate-&gt;TerminateNumberRangeBc(new \Scraper\ScraperDPD\StructType\TerminateNumberRangeBc()) !== false) {
    print_r($terminate-&gt;getResult());
} else {
    print_r($terminate-&gt;getLastError());
}
/**
 * Sample call for TerminateShipment operation/method
 */
if ($terminate-&gt;TerminateShipment(new \Scraper\ScraperDPD\StructType\TerminateShipment()) !== false) {
    print_r($terminate-&gt;getResult());
} else {
    print_r($terminate-&gt;getLastError());
}
/**
 * Samples for Put ServiceType
 */
$put = new \Scraper\ScraperDPD\ServiceType\Put($options);
$put-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for PutProperties operation/method
 */
if ($put-&gt;PutProperties(new \Scraper\ScraperDPD\StructType\PutProperties()) !== false) {
    print_r($put-&gt;getResult());
} else {
    print_r($put-&gt;getLastError());
}
/**
 * Samples for Send ServiceType
 */
$send = new \Scraper\ScraperDPD\ServiceType\Send($options);
$send-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for SendCNOTData operation/method
 */
if ($send-&gt;SendCNOTData(new \Scraper\ScraperDPD\StructType\SendCNOTData()) !== false) {
    print_r($send-&gt;getResult());
} else {
    print_r($send-&gt;getLastError());
}
/**
 * Samples for Check ServiceType
 */
$check = new \Scraper\ScraperDPD\ServiceType\Check($options);
$check-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for CheckIfReverseInverseShipmentExists operation/method
 */
if ($check-&gt;CheckIfReverseInverseShipmentExists(new \Scraper\ScraperDPD\StructType\CheckIfReverseInverseShipmentExists()) !== false) {
    print_r($check-&gt;getResult());
} else {
    print_r($check-&gt;getLastError());
}
/**
 * Sample call for CheckIfReverseInverseShipmentExistsBcId operation/method
 */
if ($check-&gt;CheckIfReverseInverseShipmentExistsBcId(new \Scraper\ScraperDPD\StructType\CheckIfReverseInverseShipmentExistsBcId()) !== false) {
    print_r($check-&gt;getResult());
} else {
    print_r($check-&gt;getLastError());
}
/**
 * Samples for Run ServiceType
 */
$run = new \Scraper\ScraperDPD\ServiceType\Run($options);
$run-&gt;setSoapHeaderUserCredentials(new \Scraper\ScraperDPD\StructType\UserCredentials());
/**
 * Sample call for runAction operation/method
 */
if ($run-&gt;runAction(new \Scraper\ScraperDPD\StructType\RunAction()) !== false) {
    print_r($run-&gt;getResult());
} else {
    print_r($run-&gt;getLastError());
}
</pre></body></html>