Install UPS Shipping
You can install UPS Shipping and then implement it within an app to add several features, including shipment rating, shipment processing, tracking number generation, UPS label printing, and shipment tracking.
Prerequisites:
-
Mobile Enterprise Platform 9.0 Service Pack 3 or later is installed.
-
Mobile Enterprise Platform administrative permissions.
-
UPS account with access to the Shipping API.
To install UPS Shipping on an on-premise Mobile Enterprise Platform instance, complete the following steps.
-
On the server where Mobile Enterprise Platform is installed, in the Mobile Enterprise Platform instance folder, create a new folder with the name CustomConnectors.
-
Extract the contents of the UPSConnector.zip file to the CustomConnectors folder.
-
For every file extracted and moved to the CustomConnectors folder, view the file properties and verify that every file is not blocked.Step InformationNote:If any file is blocked, the Tools Connector will not function.
-
In a web browser, log in to Platform Manager and go to Develop > Connectors.
-
Under Connectors, select UPS Web Service Connector.Step InformationNote:If you do not see this option, log out of Mobile Enterprise Platform, log on again, and open the Connectors page again.
-
Under Choose an Environment, select the environment where you want to install the connector.
-
Under Registered Functions, select Register New Function(s).Expected ResultThe following functions are registered.
Function name Description ProcessShipment Calls UPS web services to process a UPS shipment. -
On the server, in the CustomConnectors folder, open the DSI.Connector.UPS.ini file for editing.
-
For the LogLevel setting, edit the levels to match following values.
-
CRITICAL = 1
-
EXCEPTION = 2
-
ERROR = 3
-
WARNING = 4
-
INFO = 5
-
DEBUG = 6
-
-
For the LogSize setting, enter the desired size for the generated log file, in bytes. The default value is 1000000, or 1 MB.
-
For the LogRetention setting, enter the number of days to retain log data.
-
For the LogTransaction setting, enter true if you want to log the UPS request or response documents.
-
For every Mobile Enterprise Platform environment that will be used with the UPS shipping solution, complete the following substeps.
-
For the LabelFilePath setting, enter the network or server path of the folder where you want to retain the UPS label data.Step InformationTip:We recommend saving UPS label data in a folder within the CustomConnectors folder, such as CustomConnectors > UPSLabels.
-
For the UPSProductionOrTest setting, enter either test or production to determine whether the connector points to the UPS test system or the UPS production system.
-
-
Extract the contents of the DSI.Connector.Tool.zip file to the CustomConnectors folder.
-
For every file extracted and moved to the CustomConnectors folder, view the file properties and verify that every file is not blocked.Step InformationNote:If any file is blocked, the Tools Connector will not function.
-
In a web browser, log in to Platform Manager and go to Develop > Connectors.
-
Under Connectors, select Custom Tool APIs Service Connector.Step InformationNote:If you do not see this option, log out of Mobile Enterprise Platform, log on again, and open the Connectors page again.
-
Under Choose an Environment, select the environment where you want to install the connector.
-
Under Registered Functions, select Register New Function(s).Expected ResultThe following functions are registered.
Function name Description FileToBase64String Converts a file to base 64 string. PrintGIFLabel Prints GIF label. Prints a GIF file to a network printer. PrintZebraLabel Prints a ZPL label to an IP-based printer. You must specify the printer IP address and port. PrintZPLLabel Prints a ZPL file to a network printer. SavetoFile Saves base 64 string data as a text file. You must specify the file path and file name. -
Go to Develop > Configuration Elements and configure the user-level configuration elements that were installed with the Tools Connector. Refer to UPS Shipping configuration elements.
Loading...
There was a problem loading this topic