Skip to content

Project to generate a shipment request to DHL and get the airwaybill number and labels. Build with C++, XML & POCO libraries.

Notifications You must be signed in to change notification settings

VicPeralta/DHLGuias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHL Guias

This an interface to DHL's web services to generate a shipment request and its shipping label.

Development

This program is written in C++ using Visual Studio 2019

It performs this operation:

  • Open an XML file with the information of the shipment request, it must contain all the information required by the Server:

    • Billing
    • Consignee
    • Shipment Details
    • Shipper
    • Required label format (PDF, ZPL)
  • Connect to DHL Web server and POST the shipment request

  • Receive and parse the response

  • If the response is successful decode the label format and write it to a file

  • Keep a record of request-airway bill number

Prerequisites

Usage

dhlguias.exe [server] [xml file] [output directory]
Example:
dhlguias.exe http://xmlpitest-ea.dhl.com/XMLShippingServlet c:\data\requestPdf.xml c:\data\airwaybills

Sample captures

alt text alt text

Authors

About

Project to generate a shipment request to DHL and get the airwaybill number and labels. Build with C++, XML & POCO libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published