Skip to content

coffeedesk/dhl-track-and-trace-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHL Track and Trace Client

Generate PHP classes from WSDL

To generate PHP classes from DHL WSDL file we used wsdl2phpgenerator package: https://github.com/wsdl2phpgenerator/wsdl2phpgenerator

Code to generate classes:

<?php

require_once __DIR__ . '/vendor/autoload.php';

$generator = new Wsdl2PhpGenerator\Generator();
$generator->generate(
    new \Wsdl2PhpGenerator\Config([
        'inputFile' => 'https://ecom.dhl.com.pl/app/tntwebservice/securetntwebservice_v2.wsdl',
        'outputDir' => 'src/Model',
        'namespaceName' => 'DHLTrackAndTraceClient\Model',
    ])
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages