The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

genEBayApiData.pl

This is a script used to auto-generate the call and datatype classes for the eBay Perl SDK. It is user interactive; to see usage, just execute the script with no arguments. Also, referecne README for more information.

usage()

main()

determineOutputDir()

Arguments: 01 [S] Scalar string representing the root output directory for generated code. If the argument value is not defined a special logic is used to determine root output directory.

Returns: Scalar string representing the root output directory for generated code.

Description: The following logic is used to determine root output directory:

          1. If 'outputDir' argument is defined - use it.
          2. If 'eBay/API/XML' path exists for current working directory
             use parent directory of 'eBay' directory as root output directory
             If there more than one 'eBay/API/XML' then use the deepest one
          3. Otherwise use the current directory as root output directory.           
Notes:

logStep()

getInputDocumentType()

processTypes()

processComplexTypes()

findApiCalls()

instantiateRequestResponseClassGenerator()

instantiateComplexTypeClassGenerator()

processSimpleTypes()

instantiateSimpleTypeClassGenerator()

readWsdlFromFile()

readWsdlFromUrl()

writeStringToFile()

getRhXmlSimple()

parseXML()