pullingshots / Shipment

Perl interface into various shipping web service API's - FedEx, UPS, Purolator, Temando, Canada Post
https://metacpan.org/pod/Shipment
19 stars 19 forks source link

wsdl2perl fails #13

Closed willt closed 12 years ago

willt commented 12 years ago

Really need basic tracking status so I was trying to generate the proper files to begin work. Unfortunately having an issue. I'm assuming the /loader/0x... stuff is refering the the fatpacked content. However none of the templates are fatpacked. Unfortunately it doesn't find the ones on the filesystem.

Any thoughts? Using perl 5.10.1 Also any plans to implement UPS Tracking ?

/root/Shipment/bin/wsdl2perl.pl -use_typemap -p Shipment::UPS::WSDL::Track -b /tmp/track/ Track.wsdl

found unrecognised attribute {http://www.ups.com/XMLSchema}usage (ignored) at /loader/0x10736c8/SOAP/WSDL/Base.pm line 136. Creating complexType class Shipment/UPS/WSDL/TrackTypes/ErrorDetailType.pm /loader/0x10736c8/SOAP/WSDL/Generator/Template/XSD\complexType.tt file error - complexType.tt: not found at /loader/0x10736c8/SOAP/WSDL/Base.pm line 64.

pullingshots commented 12 years ago

usage of the wsdl2perl.pl script in the Shipment distribution is not supported. You should install SOAP::WSDL locally and then run /usr/local/bin/wsdl2perl.pl