95 lines
5.1 KiB
XML
95 lines
5.1 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>OFBiz Geo Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<service name="createCountryTeleCode" engine="entity-auto" invoke="create" default-entity-name="CountryTeleCode" auth="true">
|
|
<description>Create a Country Tele Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCountryTeleCode" engine="entity-auto" invoke="update" default-entity-name="CountryTeleCode" auth="true">
|
|
<description>Update a Country Tele Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteCountryTeleCode" engine="entity-auto" invoke="delete" default-entity-name="CountryTeleCode" auth="true">
|
|
<description>Delete a Country Tele Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="createCountryCapital" engine="entity-auto" invoke="create" default-entity-name="CountryCapital" auth="true">
|
|
<description>Create a Country Capital</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCountryCapital" engine="entity-auto" invoke="update" default-entity-name="CountryCapital" auth="true">
|
|
<description>Update a Country Capital</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteCountryCapital" engine="entity-auto" invoke="delete" default-entity-name="CountryCapital" auth="true">
|
|
<description>Delete a Country Capital</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="createCountryCode" engine="entity-auto" invoke="create" default-entity-name="CountryCode" auth="true">
|
|
<description>Create a Country Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCountryCode" engine="entity-auto" invoke="update" default-entity-name="CountryCode" auth="true">
|
|
<description>Update a Country Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteCountryCode" engine="entity-auto" invoke="delete" default-entity-name="CountryCode" auth="true">
|
|
<description>Delete a Country Code</description>
|
|
<auto-attributes include="pk" mode="IN"/>
|
|
</service>
|
|
|
|
<service name="createCountryAddressFormat" engine="entity-auto" invoke="create" default-entity-name="CountryAddressFormat" auth="true">
|
|
<description>Create a Country Address Format</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="updateCountryAddressFormat" engine="entity-auto" invoke="update" default-entity-name="CountryAddressFormat" auth="true">
|
|
<description>Update a Country Address Format</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteCountryAddressFormat" engine="entity-auto" invoke="delete" default-entity-name="CountryAddressFormat" auth="true">
|
|
<description>Delete a Country Address Format</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<service name="getDistanceBetweenGeoPoints" engine="java" location="org.apache.ofbiz.common.geo.GeoServices" auth="false" invoke="getDistanceBetweenGeoPoints">
|
|
<attribute name="fromLatitude" mode="IN" type="Double"/>
|
|
<attribute name="fromLongitude" mode="IN" type="Double"/>
|
|
<attribute name="toLatitude" mode="IN" type="Double"/>
|
|
<attribute name="toLongitude" mode="IN" type="Double"/>
|
|
<attribute name="distance" mode="OUT" type="Double"/>
|
|
</service>
|
|
</services>
|