git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
108 lines
6.7 KiB
XML
108 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
|
|
<description>Common Application Components Shipment Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<!-- USPS Webtools API Services -->
|
|
<service name="uspsRateInquire" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsRateInquire" auth="false">
|
|
<implements service="calcShipmentEstimateInterface"/>
|
|
</service>
|
|
<service name="uspsInternationalRateInquire" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsInternationalRateInquire" auth="false">
|
|
<implements service="calcShipmentEstimateInterface"/>
|
|
</service>
|
|
|
|
<service name="uspsTrackConfirm" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsTrackConfirm">
|
|
<attribute name="trackingId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="trackingSummary" type="String" mode="OUT" optional="false"/>
|
|
<attribute name="trackingDetailList" type="List" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="uspsAddressValidation" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsAddressValidation">
|
|
<attribute name="firmName" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="address1" type="String" mode="INOUT" optional="false"/>
|
|
<attribute name="address2" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="city" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="state" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="zip5" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="zip4" type="String" mode="INOUT" optional="true"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="returnText" type="String" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="uspsCityStateLookup" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsCityStateLookup">
|
|
<attribute name="zip5" type="String" mode="IN" optional="false"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="city" type="String" mode="OUT" optional="false"/>
|
|
<attribute name="state" type="String" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="uspsPriorityMailStandard" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsPriorityMailStandard">
|
|
<attribute name="originZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="destinationZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="days" type="String" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="uspsPackageServicesStandard" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsPackageServicesStandard">
|
|
<attribute name="originZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="destinationZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="days" type="String" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="uspsDomesticRate" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsDomesticRate">
|
|
<attribute name="service" type="String" mode="IN" optional="false"/>
|
|
<attribute name="originZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="destinationZip" type="String" mode="IN" optional="false"/>
|
|
<attribute name="pounds" type="String" mode="IN" optional="false"/>
|
|
<attribute name="ounces" type="String" mode="IN" optional="false"/>
|
|
<attribute name="container" type="String" mode="IN" optional="true"/>
|
|
<attribute name="size" type="String" mode="IN" optional="true"/>
|
|
<attribute name="machinable" type="String" mode="IN" optional="true"/>
|
|
<attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/>
|
|
<attribute name="configProps" type="String" mode="IN" optional="false"/>
|
|
<attribute name="zone" type="String" mode="OUT" optional="false"/>
|
|
<attribute name="postage" type="String" mode="OUT" optional="false"/>
|
|
<attribute name="restrictionCodes" type="String" mode="OUT" optional="true"/>
|
|
<attribute name="restrictionDesc" type="String" mode="OUT" optional="true"/>
|
|
</service>
|
|
<service name="uspsUpdateShipmentRateInfo" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsUpdateShipmentRateInfo">
|
|
<auto-attributes entity-name="ShipmentRouteSegment" include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="uspsDeliveryConfirmation" engine="java"
|
|
location="org.apache.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsDeliveryConfirmation">
|
|
<auto-attributes entity-name="ShipmentRouteSegment" include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
</services>
|