zhangchi / javaapiups Goto Github PK
View Code? Open in Web Editor NEWThis project forked from therealmarcuschiu/javaapiups
Java Example for calling UPS's shipping APIs
This project forked from therealmarcuschiu/javaapiups
Java Example for calling UPS's shipping APIs
1. you will need to sign-up for UPS and to get 4 credentials in order to use their APIs - username - password - access key - account number (also known as shipping number) 2. create own personal build.properties to place your 4 credentials - first find your computer username via command "whoami" - then create a file under the same directory as build.properties with name $(whoami)_build.properties - in that file paste the following and fill in the blanks accesskey=gibberish username=gibberish password=gibberish accountnumber=gibberish 2. UPS has given you 3 things: - build.xml - build.properties - and the .xsd files located in /src/main/resources/xsd 2. we will need a couple jar files - jaxb-core-$(version).jar - jaxb-impl-$(version).jar - jaxb-jxc-$(version).jar - jaxb-xjc-$(version).jar - I have placed them in /jars/jaxb - Also make sure the build.properties have "jaxb.home=jars/jaxb" like so - to get those jar files you could uncomment the dependencies within the pom.xml - then execute "mvn clean install" on terminal - go to ~/.m2/repository folder and locate those jars and copy them into /jars/jaxb 3. run Apache Ant on the build.xml ~> ant This will create the UPS java classes used to run the JaxbShipConfirmClient.java these java classes will be placed in /src/main/java/com/ups/xolt/codesamples as specified in the build.properties
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.