Done, rev 692569.
-Adrian
Adam Heath wrote:
[EMAIL PROTECTED] wrote:
Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=692448&r1=692447&r2=692448&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Fri Sep 5 07:08:18
2008
@@ -843,4 +843,66 @@
<description>A service designed to be automatically run by job
scheduler to create orders from subscriptions which need to be extended.
This is done by looking for all subscriptions which are active and where the automaticExtend flag is set to "Y"</description>
</service>
-</services>
+
+ <service name="createUpdateShippingAddress" engine="simple"
+ location="org/ofbiz/order/order/OrderServices.xml"
invoke="createUpdateShippingAddress" auth="true">
+ <description>Creates new shipping address and update existing
address</description>
+ <attribute name="productStoreId" mode="IN" type="String"
optional="true"/>
+ <attribute name="setDefaultShipping" mode="IN" type="String"
optional="true"/>
+ <attribute name="keepAddressBook" mode="IN" type="String"
optional="true"/>
+ <attribute name="partyId" mode="IN" type="String" optional="true"/>
+ <attribute name="userLogin" mode="IN" type="GenericValue"
optional="true"/>
+ <attribute name="shipToAttnName" mode="IN" type="String"
optional="true"/>
+ <attribute name="shipToToName" mode="IN" type="String"
optional="true"/>
+ <attribute name="shipToAddress1" mode="IN" type="String"
optional="false"/>
+ <attribute name="shipToAddress2" mode="IN" type="String"
optional="true"/>
+ <attribute name="shipToCity" mode="IN" type="String" optional="false"/>
+ <attribute name="shipToStateProvinceGeoId" mode="IN" type="String"
optional="false"/>
+ <attribute name="shipToPostalCode" mode="IN" type="String"
optional="false"/>
+ <attribute name="shipToCountryGeoId" mode="IN" type="String"
optional="false"/>
+ <attribute name="shipToContactMechId" mode="IN" type="String"
optional="true"/>
+ <attribute name="contactMechId" mode="OUT" type="String"
optional="false"/>
+ <attribute name="billToContactMechId" mode="IN" type="String"
optional="true"/>
+ </service>
+
+ <service name="createUpdateBillingAddress" engine="simple"
+ location="org/ofbiz/order/order/OrderServices.xml"
invoke="createUpdateBillingAddress" auth="true">
+ <description>Creates new billing address and update existing
address</description>
+ <attribute name="productStoreId" mode="IN" type="String"
optional="true"/>
+ <attribute name="setDefaultBilling" mode="IN" type="String"
optional="true"/>
+ <attribute name="keepAddressBook" mode="IN" type="String"
optional="true"/>
+ <attribute name="useShippingAddressForBilling" mode="IN" type="String"
optional="true"/>
+ <attribute name="partyId" mode="IN" type="String" optional="true"/>
+ <attribute name="userLogin" mode="IN" type="GenericValue"
optional="true"/>
+ <attribute name="billToAttnName" mode="IN" type="String"
optional="true"/>
+ <attribute name="billToName" mode="IN" type="String" optional="true"/>
+ <attribute name="billToAddress1" mode="IN" type="String"
optional="false"/>
+ <attribute name="billToAddress2" mode="IN" type="String"
optional="true"/>
+ <attribute name="billToCity" mode="IN" type="String" optional="false"/>
+ <attribute name="billToStateProvinceGeoId" mode="IN" type="String"
optional="false"/>
+ <attribute name="billToPostalCode" mode="IN" type="String"
optional="false"/>
+ <attribute name="billToCountryGeoId" mode="IN" type="String"
optional="false"/>
+ <attribute name="shipToContactMechId" mode="IN" type="String"
optional="true"/>
+ <attribute name="billToContactMechId" mode="IN" type="String"
optional="true"/>
+ <attribute name="contactMechId" mode="OUT" type="String"
optional="false"/>
+ </service>
+
+ <service name="createUpdateCreditCard" engine="simple" auth="true"
default-entity-name="CreditCard"
+ location="org/ofbiz/order/order/OrderServices.xml"
invoke="createUpdateCreditCard">
+ <description>Create/Update credit card</description>
+ <attribute name="expMonth" type="String" mode="IN" optional="false"/>
+ <attribute name="expYear" type="String" mode="IN" optional="false"/>
+ <attribute name="cardType" type="String" mode="IN" optional="false"/>
+ <attribute name="cardNumber" type="String" mode="IN" optional="false"/>
+ <attribute name="partyId" type="String" mode="IN" optional="true"/>
+ <attribute name="companyNameOnCard" type="String" mode="IN"
optional="true"/>
+ <attribute name="titleOnCard" type="String" mode="IN" optional="true"/>
+ <attribute name="firstNameOnCard" type="String" mode="IN"
optional="false"/>
+ <attribute name="middleNameOnCard" type="String" mode="IN"
optional="true"/>
+ <attribute name="lastNameOnCard" type="String" mode="IN"
optional="false"/>
+ <attribute name="suffixOnCard" type="String" mode="IN"
optional="true"/>
+ <attribute name="contactMechId" type="String" mode="IN"
optional="true"/>
+ <attribute name="paymentMethodId" type="String" mode="IN"
optional="true"/>
+ <attribute name="paymentMethodId" type="String" mode="OUT"
optional="false"/>
+ </service>
+
Please fix this broken commit; there is no trailing </services> tag!