Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml Tue Dec 30 04:22:42 2008 @@ -92,7 +92,7 @@ --> <!-- save the created status in the history --> - <set-service-fields to-map-name="statusMap" service-name="createCustRequestStatus" map-name="newEntity"/> + <set-service-fields to-map="statusMap" service-name="createCustRequestStatus" map="newEntity"/> <call-service service-name="createCustRequestStatus" in-map-name="statusMap"/> <!-- This code is commented because the requester party is no more maintained in the CustRequestParty entity. @@ -120,7 +120,7 @@ </or> </condition> <then> - <set-service-fields service-name="createCustRequestItem" map-name="parameters" to-map-name="createItem"/> + <set-service-fields service-name="createCustRequestItem" map="parameters" to-map="createItem"/> <set field="createItem.custRequestId" from-field="newEntity.custRequestId"/> <call-service service-name="createCustRequestItem" in-map-name="createItem"/> </then> @@ -170,7 +170,7 @@ </else> </if-compare> <!-- save the changed status in the history --> - <set-service-fields to-map-name="statusMap" service-name="createCustRequestStatus" map-name="custRequest"/> + <set-service-fields to-map="statusMap" service-name="createCustRequestStatus" map="custRequest"/> <call-service service-name="createCustRequestStatus" in-map-name="statusMap"/> <if-not-empty field="isShowEvent"> <clear-field field="successMessage"/> @@ -356,7 +356,7 @@ <entity-one entity-name="CustRequestItem" value-field="custRequestItem" auto-field-map="true"/> <check-errors/> - <set-service-fields service-name="createCustRequestItem" to-map-name="createCustRequestItemInMap" map-name="custRequestItem"/> + <set-service-fields service-name="createCustRequestItem" to-map="createCustRequestItemInMap" map="custRequestItem"/> <set field="createCustRequestItemInMap.custRequestId" from-field="parameters.custRequestIdTo"/> <set field="createCustRequestItemInMap.custRequestItemSeqId" from-field="parameters.custRequestItemSeqId"/> <if-empty field="parameters.custRequestIdTo"> @@ -376,7 +376,7 @@ <get-related value-name="custRequestItem" relation-name="QuoteItem" list-name="quoteItems"/> <iterate list="quoteItems" entry="quoteItem"> <clear-field field="createQuoteItemInMap"/> - <set-service-fields service-name="createQuoteItem" to-map-name="createQuoteItemInMap" map-name="quoteItem"/> + <set-service-fields service-name="createQuoteItem" to-map="createQuoteItemInMap" map="quoteItem"/> <set field="createQuoteItemInMap.custRequestId" from-field="custRequestIdTo"/> <set field="createQuoteItemInMap.custRequestItemSeqId" from-field="custRequestItemSeqId"/> <clear-field field="createQuoteItemInMap.quoteItemSeqId"/> @@ -425,7 +425,7 @@ <add-error><fail-message message="Event Id: ${parameters.communicationEventId} not found"/></add-error> <return response-code="error"/> </if-empty> - <set-service-fields service-name="createCustRequest" map-name="parameters" to-map-name="custRequest"/> + <set-service-fields service-name="createCustRequest" map="parameters" to-map="custRequest"/> <if-empty field="custRequest.custRequestName"> <set field="custRequest.custRequestName" from-field="communicationEvent.subject"/> </if-empty> @@ -439,7 +439,7 @@ <call-service service-name="createCustRequest" in-map-name="custRequest"> <result-to-field result-name="custRequestId" field-name="parameters.custRequestId"/> </call-service> - <set-service-fields service-name="createCustRequestCommEvent" map-name="parameters" to-map-name="custRequestCommEvent"/> + <set-service-fields service-name="createCustRequestCommEvent" map="parameters" to-map="custRequestCommEvent"/> <call-service service-name="createCustRequestCommEvent" in-map-name="custRequestCommEvent"/> <if-empty field="parameters.content"> @@ -463,7 +463,7 @@ </iterate> <!-- update status from communication event --> - <set-service-fields service-name="setCommunicationEventStatus" map-name="parameters" to-map-name="updStat"/> + <set-service-fields service-name="setCommunicationEventStatus" map="parameters" to-map="updStat"/> <set field="updStat.statusId" value="COM_COMPLETE"/> <call-service service-name="setCommunicationEventStatus" in-map-name="updStat"/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml Tue Dec 30 04:22:42 2008 @@ -161,7 +161,7 @@ <if-compare field="quantityNotTransferred" value="0.0" operator="greater" type="Double"> <!-- we create a new requirement for the quantity not trasferred (because not available) --> <clear-field field="inputMap"/> - <set-service-fields service-name="createRequirement" map-name="requirement" to-map-name="inputMap"/> + <set-service-fields service-name="createRequirement" map="requirement" to-map="inputMap"/> <set field="inputMap.quantity" from-field="quantityNotTransferred"/> <call-service service-name="createRequirement" in-map-name="inputMap"/> <check-errors/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml Tue Dec 30 04:22:42 2008 @@ -149,7 +149,7 @@ <if-compare field="parameters.quantity" operator="equals" value="0" type="Double"> <!-- if we're setting quantity to 0.0 then remove the item --> - <set-service-fields service-name="removeShoppingListItem" map-name="parameters" to-map-name="removeParams"/> + <set-service-fields service-name="removeShoppingListItem" map="parameters" to-map="removeParams"/> <call-service service-name="removeShoppingListItem" in-map-name="removeParams"/> <else> <!-- otherwise, just update shopping list item in place --> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Tue Dec 30 04:22:42 2008 @@ -274,7 +274,7 @@ <entity-one entity-name="UserLogin" value-field="sysUserLogin"> <field-map field-name="userLoginId" value="system"/> </entity-one> - <set-service-fields service-name="createPartyRole" map-name="parameters" to-map-name="partyRole"/> + <set-service-fields service-name="createPartyRole" map="parameters" to-map="partyRole"/> <set field="partyRole.userLogin" from-field="sysUserLogin"/> <call-service service-name="createPartyRole" in-map-name="partyRole" include-user-login="false"/> @@ -303,7 +303,7 @@ <field-map field-name="communicationEventId" from-field="eventRole.communicationEventId"/> </entity-and> <if-empty field="roles"> - <set-service-fields service-name="deleteCommunicationEvent" map-name="parameters" to-map-name="inMapDel"/> + <set-service-fields service-name="deleteCommunicationEvent" map="parameters" to-map="inMapDel"/> <call-service service-name="deleteCommunicationEvent" in-map-name="inMapDel"/> </if-empty> </if-compare> @@ -357,7 +357,7 @@ </condition-list> </entity-condition> <iterate entry="communicationEvent" list="communicationEvents"> - <set-service-fields service-name="sendCommEventAsEmail" map-name="communicationEvent" to-map-name="inMap"/> + <set-service-fields service-name="sendCommEventAsEmail" map="communicationEvent" to-map="inMap"/> <call-service service-name="sendCommEventAsEmail" in-map-name="inMap" require-new-transaction="true"/> </iterate> </simple-method> @@ -388,7 +388,7 @@ <!-- create partyId if not provided --> <if-empty field="parameters.partyId"> - <set-service-fields service-name="createPerson" map-name="parameters" to-map-name="newParty"/> + <set-service-fields service-name="createPerson" map="parameters" to-map="newParty"/> <call-service service-name="createPerson" in-map-name="newParty"> <result-to-field result-name="partyId" field-name="parameters.partyId"/> </call-service> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml Tue Dec 30 04:22:42 2008 @@ -50,7 +50,7 @@ </iterate> <if-empty field="parameters.contactMechId"> - <set-service-fields service-name="createContactMech" map-name="parameters" to-map-name="createContactMechMap"/> + <set-service-fields service-name="createContactMech" map="parameters" to-map="createContactMechMap"/> <call-service service-name="createContactMech" in-map-name="createContactMechMap"> <result-to-field result-name="contactMechId" map-name="newValue"/> </call-service> @@ -90,7 +90,7 @@ <!-- If we already have a new contactMechId don't update ContactMech --> <if-empty field="parameters.newContactMechId"> - <set-service-fields service-name="updateContactMech" map-name="parameters" to-map-name="updateContactMechMap"/> + <set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/> <call-service service-name="updateContactMech" in-map-name="updateContactMechMap"> <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/> @@ -158,14 +158,14 @@ <set field="parameters.partyId" from-field="userLogin.partyId"/> </if-empty> - <set-service-fields service-name="createPostalAddress" map-name="parameters" to-map-name="createPostalAddressMap"/> + <set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/> <call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress"> <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/> <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/> </call-service> <check-errors/> - <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/> + <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="createPartyContactMechMap"/> <set field="createPartyContactMechMap.contactMechId" from-field="newPartyContactMech.contactMechId"/> <set field="createPartyContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/> @@ -182,13 +182,13 @@ <set field="parameters.partyId" from-field="userLogin.partyId"/> </if-empty> - <set-service-fields service-name="updatePostalAddress" map-name="parameters" to-map-name="updatePostalAddressMap"/> + <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/> <call-service in-map-name="updatePostalAddressMap" service-name="updatePostalAddress"> <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" map-name="newPartyContactMech" field-name="contactMechId" /> </call-service> - <set-service-fields service-name="updatePartyContactMech" map-name="parameters" to-map-name="updatePartyContactMechMap"/> + <set-service-fields service-name="updatePartyContactMech" map="parameters" to-map="updatePartyContactMechMap"/> <set field="updatePartyContactMechMap.newContactMechId" from-field="newPartyContactMech.contactMechId"/> <set field="updatePartyContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/> <log level="info" message="Copied id to updatePartyContactMechMap: ${updatePartyContactMechMap.newContactMechId}"/> @@ -205,13 +205,13 @@ </if-empty> <log level="info" message="Creating telecom number"/> - <set-service-fields service-name="createTelecomNumber" map-name="parameters" to-map-name="createTelecomNumberMap"/> + <set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/> <call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber"> <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/> <result-to-field result-name="contactMechId" map-name="newPartyContactMech"/> </call-service> - <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/> + <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="createPartyContactMechMap"/> <set field="createPartyContactMechMap.contactMechId" from-field="newPartyContactMech.contactMechId"/> <set field="createPartyContactMechMap.contactMechTypeId" value="TELECOM_NUMBER"/> <log level="info" message="Copied id to createPartyContactMechMap: ${createPartyContactMechMap.contactMechId}"/> @@ -229,13 +229,13 @@ <set field="parameters.partyId" from-field="userLogin.partyId"/> </if-empty> - <set-service-fields service-name="updateTelecomNumber" map-name="parameters" to-map-name="updateTelecomNumberMap"/> + <set-service-fields service-name="updateTelecomNumber" map="parameters" to-map="updateTelecomNumberMap"/> <call-service service-name="updateTelecomNumber" in-map-name="updateTelecomNumberMap"> <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" map-name="newPartyContactMech" field-name="contactMechId" /> </call-service> - <set-service-fields service-name="updatePartyContactMech" map-name="parameters" to-map-name="updatePartyContactMechMap"/> + <set-service-fields service-name="updatePartyContactMech" map="parameters" to-map="updatePartyContactMechMap"/> <set field="updatePartyContactMechMap.newContactMechId" from-field="newPartyContactMech.contactMechId"/> <set field="updatePartyContactMechMap.contactMechTypeId" value="TELECOM_NUMBER"/> <log level="info" message="Copied id to updatePartyContactMechMap: ${updatePartyContactMechMap.newContactMechId}"/> @@ -258,7 +258,7 @@ </if-validate-method> <check-errors/> - <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/> + <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="createPartyContactMechMap"/> <set field="createPartyContactMechMap.infoString" from-field="parameters.emailAddress"/> <set field="createPartyContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/> <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap"> @@ -278,7 +278,7 @@ </if-validate-method> <check-errors/> - <set-service-fields service-name="updatePartyContactMech" map-name="parameters" to-map-name="updatePartyContactMechMap"/> + <set-service-fields service-name="updatePartyContactMech" map="parameters" to-map="updatePartyContactMechMap"/> <set field="updatePartyContactMechMap.infoString" from-field="parameters.emailAddress"/> <set field="updatePartyContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/> <call-service service-name="updatePartyContactMech" in-map-name="updatePartyContactMechMap"> @@ -333,7 +333,7 @@ </or> </condition> <then> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="parameters" to-map="serviceContext"/> <set field="serviceContext.partyId" from-field="userLogin.partyId"/> <if-compare field="parameters.setShippingPurpose" operator="equals" value="Y"> <entity-and entity-name="PartyContactMechPurpose" list="pcmpList" filter-by-date="true"> @@ -342,14 +342,14 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list entry="pcmp" list="pcmpList"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> </if-not-empty> <set field="serviceContext.contactMechPurposeTypeId" value="SHIPPING_LOCATION"/> <call-service service-name="createPartyContactMechPurpose" in-map-name="serviceContext"/> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultShipAddr" from-field="parameters.contactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -361,13 +361,13 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list entry="pcmp" list="pcmpList"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> </if-not-empty> <set field="serviceContext.contactMechPurposeTypeId" value="BILLING_LOCATION"/> <call-service service-name="createPartyContactMechPurpose" in-map-name="serviceContext"/> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultBillAddr" from-field="parameters.contactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -395,7 +395,7 @@ <result-to-result result-name="contactMechId"/> </call-service> <else> - <set-service-fields service-name="updatePostalAddress" map-name="parameters" to-map-name="updatePostalAddressMap"/> + <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/> <call-service service-name="updatePostalAddress" in-map-name="updatePostalAddressMap"> <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" field-name="parameters.newContactMechId"/> @@ -403,7 +403,7 @@ </call-service> <if-compare-field field="parameters.contactMechId" operator="not-equals" to-field="parameters.newContactMechId"> - <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/> + <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="createPartyContactMechMap"/> <set field="createPartyContactMechMap.contactMechId" from-field="parameters.newContactMechId"/> <set field="createPartyContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/> <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap" break-on-error="true"> @@ -438,7 +438,7 @@ </entity-and> <!-- If purpose is not exists then create --> <if-empty field="pcmpShipList"> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="parameters" to-map="serviceContext"/> <set field="serviceContext.partyId" from-field="userLogin.partyId"/> <entity-and entity-name="PartyContactMechPurpose" list="pcmpList" filter-by-date="true"> @@ -447,7 +447,7 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list list="pcmpList" entry="pcmp"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> </if-not-empty> @@ -457,7 +457,7 @@ <clear-field field="serviceContext"/> </if-empty> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultShipAddr" from-field="parameters.contactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -470,7 +470,7 @@ </entity-and> <!-- If purpose is not exists then create --> <if-empty field="pcmpBillList"> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="parameters" to-map="serviceContext"/> <set field="serviceContext.partyId" from-field="userLogin.partyId"/> <entity-and entity-name="PartyContactMechPurpose" list="pcmpList" filter-by-date="true"> @@ -479,14 +479,14 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list list="pcmpList" entry="pcmp"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> </if-not-empty> <set field="serviceContext.contactMechPurposeTypeId" value="BILLING_LOCATION"/> <call-service service-name="createPartyContactMechPurpose" in-map-name="serviceContext"/> </if-empty> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultBillAddr" from-field="parameters.contactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -496,11 +496,11 @@ </simple-method> <simple-method method-name="updateContactMechAndPurposes" short-description="Update postal address, telecom number and purposes"> - <set-service-fields service-name="updatePostalAddressAndPurposes" map-name="parameters" to-map-name="updatePostalAddressAndPurposesCtx"/> + <set-service-fields service-name="updatePostalAddressAndPurposes" map="parameters" to-map="updatePostalAddressAndPurposesCtx"/> <call-service service-name="updatePostalAddressAndPurposes" in-map-name="updatePostalAddressAndPurposesCtx"/> <if-not-empty field="parameters.phoneContactMechId"> - <set-service-fields service-name="updatePartyTelecomNumber" map-name="parameters" to-map-name="updatePartyTelecomNumberCtx"/> + <set-service-fields service-name="updatePartyTelecomNumber" map="parameters" to-map="updatePartyTelecomNumberCtx"/> <set field="updatePartyTelecomNumberCtx.contactMechId" from-field="parameters.phoneContactMechId"/> <call-service service-name="updatePartyTelecomNumber" in-map-name="updatePartyTelecomNumberCtx"> <result-to-field result-name="contactMechId" field-name="parameters.contactMechId"/> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml Tue Dec 30 04:22:42 2008 @@ -254,8 +254,8 @@ <!-- now that everything is validated & setup, check to see if there are errors, then call the services --> <check-errors/> - <set-service-fields map-name="personContext" service-name="createPersonAndUserLogin" to-map-name="personUserLoginContext"/> - <set-service-fields map-name="newUserLogin" service-name="createPersonAndUserLogin" to-map-name="personUserLoginContext"/> + <set-service-fields map="personContext" service-name="createPersonAndUserLogin" to-map="personUserLoginContext"/> + <set-service-fields map="newUserLogin" service-name="createPersonAndUserLogin" to-map="personUserLoginContext"/> <set field="personUserLoginContext.currentPasswordVerify" from-field="newUserLogin.currentPassword" /> <!-- the above copy is okay since we checked already that they are the same --> <call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext"> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml Tue Dec 30 04:22:42 2008 @@ -312,7 +312,7 @@ <set from-field="parameters._uploadedFile_contentType" field="extenLookup.mimeTypeId"/> <find-by-and entity-name="FileExtension" map-name="extenLookup" list-name="extensions"/> <first-from-list entry="extension" list="extensions"/> - <set-service-fields service-name="createDataResource" map-name="parameters" to-map-name="dataResource"/> + <set-service-fields service-name="createDataResource" map="parameters" to-map="dataResource"/> <!-- create the data resource object --> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> <set from-field="parameters._uploadedFile_contentType" field="dataResource.mimeTypeId"/> @@ -321,14 +321,14 @@ <result-to-field result-name="dataResourceId" field-name="dataResourceId"/> </call-service> - <set-service-fields service-name="updateDataResource" map-name="dataResource" to-map-name="dataResource"/> + <set-service-fields service-name="updateDataResource" map="dataResource" to-map="dataResource"/> <set from-field="dataResourceId" field="dataResource.dataResourceId"/> <call-service service-name="updateDataResource" in-map-name="dataResource" break-on-error="false" /> <set from-field="dataResource.dataResourceId" field="lookup.dataResourceId"/> <find-by-primary-key use-cache="true" entity-name="DataResource" value-field="dataResourceMap" map="lookup"/> </if-not-empty> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="createContentMap"/> + <set-service-fields service-name="createContent" map="parameters" to-map="createContentMap"/> <if-not-empty field="parameters._uploadedFile_fileName"> <set from-field="dataResourceId" field="createContentMap.dataResourceId"/> </if-not-empty> @@ -338,7 +338,7 @@ <!-- create the content role --> <if-not-empty field="parameters.partyId"> <now-timestamp-to-env env-name="nowTimestamp"/> - <set-service-fields service-name="createContentRole" map-name="parameters" to-map-name="contentRole"/> + <set-service-fields service-name="createContentRole" map="parameters" to-map="contentRole"/> <set from-field="contentId" field="contentRole.contentId"/> <set from-field="parameters.partyId" field="contentRole.partyId"/> <set from-field="nowTimestamp" field="contentRole.fromDate"/> @@ -349,13 +349,13 @@ <set-pk-fields value-field="partyRole" map="contentRole"/> <find-by-and entity-name="PartyRole" map-name="partyRole" list-name="pRoles"/> <if-empty field="pRoles"> - <set-service-fields service-name="createPartyRole" map-name="contentRole" to-map-name="partyRole"/> + <set-service-fields service-name="createPartyRole" map="contentRole" to-map="partyRole"/> <call-service service-name="createPartyRole" in-map-name="partyRole" break-on-error="false" /> </if-empty> </if-not-empty> <if-not-empty field="parameters._uploadedFile_fileName"> <!-- store the file --> - <set-service-fields service-name="createAnonFile" map-name="dataResourceMap" to-map-name="fileCtx"/> + <set-service-fields service-name="createAnonFile" map="dataResourceMap" to-map="fileCtx"/> <set from-field="parameters.uploadedFile" field="fileCtx.binData"/> <set from-field="dataResourceMap" field="fileCtx.dataResource"/> <call-service service-name="createAnonFile" in-map-name="fileCtx" include-user-login="true"/> @@ -390,7 +390,7 @@ <set from-field="parameters.contentId" field="lookupParam.contentId"/> <find-by-primary-key use-cache="true" entity-name="Content" value-field="content" map="lookupParam"/> <if-not-empty field="content.dataResourceId"> - <set-service-fields service-name="updateDataResource" map-name="parameters" to-map-name="dataResource"/> + <set-service-fields service-name="updateDataResource" map="parameters" to-map="dataResource"/> <set from-field="content.dataResourceId" field="dataResource.dataResourceId"/> <call-service service-name="updateDataResource" in-map-name="dataResource" break-on-error="false" /> <set from-field="content.dataResourceId" field="lookup.dataResourceId"/> @@ -402,7 +402,7 @@ <set from-field="parameters._uploadedFile_contentType" field="extenLookup.mimeTypeId"/> <find-by-and entity-name="FileExtension" map-name="extenLookup" list-name="extensions"/> <first-from-list entry="extension" list="extensions"/> - <set-service-fields service-name="createDataResource" map-name="parameters" to-map-name="dataResource"/> + <set-service-fields service-name="createDataResource" map="parameters" to-map="dataResource"/> <!-- create the data resource object --> <!-- create the data resource object --> <set from-field="parameters._uploadedFile_fileName" field="dataResource.dataResourceName"/> @@ -415,7 +415,7 @@ <if-not-empty field="extension"> <set value="${uploadPath}/${dataResourceId}.${extension.fileExtensionId}" field="dataResource.objectInfo"/> </if-not-empty> - <set-service-fields service-name="updateDataResource" map-name="dataResource" to-map-name="dataResource"/> + <set-service-fields service-name="updateDataResource" map="dataResource" to-map="dataResource"/> <set from-field="dataResourceId" field="dataResource.dataResourceId"/> <call-service service-name="updateDataResource" in-map-name="dataResource" break-on-error="false" /> <set from-field="dataResource.dataResourceId" field="lookup.dataResourceId"/> @@ -423,13 +423,13 @@ </else> </if-not-empty> </if-not-empty> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContentMap"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContentMap"/> <if-not-empty field="dataResourceId"> <set from-field="dataResourceId" field="updateContentMap.dataResourceId" /> </if-not-empty> <call-service service-name="updateContent" in-map-name="updateContentMap" break-on-error="false" /> <if-not-empty field="parameters._uploadedFile_fileName"> - <set-service-fields service-name="createAnonFile" map-name="dataResourceMap" to-map-name="fileCtx"/> + <set-service-fields service-name="createAnonFile" map="dataResourceMap" to-map="fileCtx"/> <set from-field="parameters.uploadedFile" field="fileCtx.binData"/> <set from-field="dataResourceMap" field="fileCtx.dataResource"/> <call-service service-name="createAnonFile" in-map-name="fileCtx" include-user-login="true"/> @@ -927,7 +927,7 @@ processor-name="person" in-map-name="parameters" out-map-name="personMap"/> <check-errors/> <set field="partyId" from-field="parameters.partyId"/> - <set-service-fields service-name="createPerson" map-name="personMap" to-map-name="personContext"/> + <set-service-fields service-name="createPerson" map="personMap" to-map="personContext"/> <if-empty field="partyId"> <call-service service-name="createPerson" in-map-name="personContext"> <result-to-field result-name="partyId" field-name="partyId"/> @@ -944,13 +944,13 @@ <simple-method method-name="createUpdateTelecomNumber" short-description="Create and update phone number" login-required="false"> <if-empty field="parameters.contactMechId"> - <set-service-fields service-name="createPartyTelecomNumber" map-name="parameters" to-map-name="phoneContext"/> + <set-service-fields service-name="createPartyTelecomNumber" map="parameters" to-map="phoneContext"/> <call-service service-name="createPartyTelecomNumber" in-map-name="phoneContext"> <result-to-field result-name="contactMechId" field-name="contactMechId"/> </call-service> <log level="info" message="Phone Contact created phoneContactMechId is ${contactMechId}"/> <else> - <set-service-fields service-name="createPartyTelecomNumber" map-name="parameters" to-map-name="phoneContext"/> + <set-service-fields service-name="createPartyTelecomNumber" map="parameters" to-map="phoneContext"/> <call-service service-name="updatePartyTelecomNumber" in-map-name="phoneContext"> <result-to-field result-name="contactMechId" field-name="contactMechId"/> </call-service> @@ -962,14 +962,14 @@ <simple-method method-name="createUpdateEmailAddress" short-description="Create and update email address" login-required="false"> <if-empty field="parameters.contactMechId"> - <set-service-fields service-name="createPartyEmailAddress" map-name="parameters" to-map-name="emailAddressContext"/> + <set-service-fields service-name="createPartyEmailAddress" map="parameters" to-map="emailAddressContext"/> <set field="emailAddressContext.partyId" from-field="userLogin.partyId"/> <call-service service-name="createPartyEmailAddress" in-map-name="emailAddressContext"> <result-to-field result-name="contactMechId" field-name="contactMechId"/> </call-service> <log level="info" message="Email Contact Created emailContactMechId is ${contactMechId}"></log> <else> - <set-service-fields service-name="updatePartyEmailAddress" map-name="parameters" to-map-name="emailAddressContext"/> + <set-service-fields service-name="updatePartyEmailAddress" map="parameters" to-map="emailAddressContext"/> <call-service service-name="updatePartyEmailAddress" in-map-name="emailAddressContext"> <result-to-field result-name="contactMechId" field-name="contactMechId"/> </call-service> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml Tue Dec 30 04:22:42 2008 @@ -89,7 +89,7 @@ <field field-name="formInput" type="java.util.Map"/> </call-class-method> - <set-service-fields service-name="createPartyContent" map-name="formInput.formInput" to-map-name="partyContentMap"/> + <set-service-fields service-name="createPartyContent" map="formInput.formInput" to-map="partyContentMap"/> <set field="partyContentMap._uploadedFile_fileName" from-field="formInput.imageFileName"/> <set field="partyContentMap.uploadedFile" from-field="byteWrap"/> <set field="partyContentMap._uploadedFile_contentType" from-field="formInput.formInput.mimeTypeId"/> @@ -115,7 +115,7 @@ > <field field-name="formInput" type="java.util.Map"/> </call-class-method > - <set-service-fields service-name="updatePartyContent" map-name="formInput.formInput" to-map-name="partyContentMap"/> + <set-service-fields service-name="updatePartyContent" map="formInput.formInput" to-map="partyContentMap"/> <set field="partyContentMap._uploadedFile_fileName" from-field="formInput.imageFileName"/> <set field="partyContentMap.uploadedFile" from-field="byteWrap"/> <set field="partyContentMap._uploadedFile_contentType" from-field="formInput.formInput.mimeTypeId"/> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml Tue Dec 30 04:22:42 2008 @@ -148,7 +148,7 @@ <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/> </call-class-method> <!-- first try with just updating without changing the telecom number --> - <set-service-fields service-name="updatePartyTelecomNumber" map-name="telecomNumber" to-map-name="serviceCtx"/> + <set-service-fields service-name="updatePartyTelecomNumber" map="telecomNumber" to-map="serviceCtx"/> <set field="serviceCtx.partyId" from-field="partyId"/> <entity-one entity-name="UserLogin" value-field="userLogin"> @@ -217,7 +217,7 @@ <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/> </call-class-method> <!-- first try with just updating without changing the postal address --> - <set-service-fields service-name="updatePartyPostalAddress" map-name="postalAddress" to-map-name="serviceCtx"/> + <set-service-fields service-name="updatePartyPostalAddress" map="postalAddress" to-map="serviceCtx"/> <set field="serviceCtx.partyId" from-field="partyId"/> <entity-one entity-name="UserLogin" value-field="userLogin"> @@ -288,7 +288,7 @@ <filter-list-by-date list-name="paymentMethodAndCreditCards"/> <first-from-list list="paymentMethodAndCreditCards" entry="paymentMethodAndCreditCard"/> <!-- first try with just updating without changing the credit card information --> - <set-service-fields service-name="updateCreditCard" map-name="paymentMethodAndCreditCard" to-map-name="serviceCtx"/> + <set-service-fields service-name="updateCreditCard" map="paymentMethodAndCreditCard" to-map="serviceCtx"/> <entity-one entity-name="UserLogin" value-field="userLogin"> <field-map field-name="userLoginId" value="system"/> @@ -351,7 +351,7 @@ <field field-name="partyId" type="java.lang.String"/> <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/> </call-class-method> - <set-service-fields service-name="updatePassword" map-name="partyUserLogin" to-map-name="serviceCtx"/> + <set-service-fields service-name="updatePassword" map="partyUserLogin" to-map="serviceCtx"/> <!-- old details: userLoginId = DemoCustomer, password = ofbiz --> <set field="serviceCtx.newPassword" value="ofbiz-demo"/> <set field="serviceCtx.newPasswordVerify" value="ofbiz-demo"/> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml Tue Dec 30 04:22:42 2008 @@ -396,7 +396,7 @@ <!--send New User Email Notification--> <set field="emailContext.partyId" from-field="partyId"/> <set field="emailContext.emailType" value="PARTY_REGIS_CONFIRM"/> - <set-service-fields service-name="sendCreatePartyEmailNotification" map-name="emailContext" to-map-name="serviceInMap"/> + <set-service-fields service-name="sendCreatePartyEmailNotification" map="emailContext" to-map="serviceInMap"/> <call-service service-name="sendCreatePartyEmailNotification" in-map-name="serviceInMap"/> </simple-method> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml Tue Dec 30 04:22:42 2008 @@ -184,7 +184,7 @@ </simple-method> <simple-method method-name="checkImageUrlForAllCategories" short-description="Check for image url exists or not for All categories" login-required="false"> <!-- Get all the categories from top category --> - <set-service-fields to-map-name="categoryFindContext" service-name="getAllCategories" map-name="parameters"/> + <set-service-fields to-map="categoryFindContext" service-name="getAllCategories" map="parameters"/> <call-service service-name="getAllCategories" in-map-name="categoryFindContext"> <result-to-field result-name="categories" field-name="categories"/> </call-service> @@ -205,7 +205,7 @@ <simple-method method-name="checkImageUrlForCategoryAndProduct" short-description="Check for image url exists or not for category and product " login-required="false"> <!--set from-field="parameters.categoryId" field="productCategoryContext.categoryId"/ --> - <set-service-fields to-map-name="productCategoryContext" service-name="getProductCategoryMembers" map-name="parameters"/> + <set-service-fields to-map="productCategoryContext" service-name="getProductCategoryMembers" map="parameters"/> <call-service service-name="getProductCategoryMembers" in-map-name="productCategoryContext" > <result-to-field result-name="categoryMembers" field-name="categoryMembers"/> <result-to-field result-name="category" field-name="category"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryContentServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryContentServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryContentServices.xml Tue Dec 30 04:22:42 2008 @@ -33,7 +33,7 @@ <create-value value-field="newEntity"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> <field-to-result map-name="newEntity" field="contentId"/> @@ -47,7 +47,7 @@ <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> <store-value value-name="lookedUpValue"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> </simple-method> <simple-method method-name="removeCategoryContent" short-description="Remove Content From Category"> @@ -57,17 +57,17 @@ <remove-value value-name="lookedUpValue"/> </simple-method> <simple-method method-name="createSimpleTextContentForCategory" short-description="Create Simple Text Content For Product Category"> - <set-service-fields service-name="createCategoryContent" map-name="parameters" to-map-name="createCategoryContentMap"/> - <set-service-fields service-name="createSimpleTextContent" map-name="parameters" to-map-name="createSimpleTextMap"/> + <set-service-fields service-name="createCategoryContent" map="parameters" to-map="createCategoryContentMap"/> + <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleTextMap"/> <call-service service-name="createSimpleTextContent" in-map-name="createSimpleTextMap"> <result-to-field result-name="contentId" map-name="createCategoryContentMap" /> </call-service> <call-service service-name="createCategoryContent" in-map-name="createCategoryContentMap"/> </simple-method> <simple-method method-name="updateSimpleTextContentForCategory" short-description="Update Simple Text Content For Product Category"> - <set-service-fields service-name="updateCategoryContent" map-name="parameters" to-map-name="updateCategoryContent"/> + <set-service-fields service-name="updateCategoryContent" map="parameters" to-map="updateCategoryContent"/> <call-service service-name="updateCategoryContent" in-map-name="updateCategoryContent"/> - <set-service-fields service-name="updateSimpleTextContent" map-name="parameters" to-map-name="updateSimpleText"/> + <set-service-fields service-name="updateSimpleTextContent" map="parameters" to-map="updateSimpleText"/> <call-service service-name="updateSimpleTextContent" in-map-name="updateSimpleText"/> </simple-method> </simple-methods> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml Tue Dec 30 04:22:42 2008 @@ -491,7 +491,7 @@ </if-empty> <!-- create Product --> - <set-service-fields service-name="createProduct" map-name="parameters" to-map-name="callCreateProductMap"/> + <set-service-fields service-name="createProduct" map="parameters" to-map="callCreateProductMap"/> <if-empty field="callCreateProductMap.productTypeId"> <set field="callCreateProductMap.productTypeId" value="FINISHED_GOOD"/> </if-empty> @@ -776,7 +776,7 @@ <!-- a service verion of checkCategoryRelatedPermission, only with purchase/viewAllowPermReqd taken into account --> <simple-method method-name="checkCategoryPermissionWithViewPurchaseAllow" short-description="Check Product Category Permission With View and Purchase Allow"> - <set-service-fields service-name="productCategoryGenericPermission" map-name="parameters" to-map-name="productCategoryGenericPermissionMap"/> + <set-service-fields service-name="productCategoryGenericPermission" map="parameters" to-map="productCategoryGenericPermissionMap"/> <call-service service-name="productCategoryGenericPermission" in-map-name="productCategoryGenericPermissionMap"> <results-to-map map-name="genericResult"/> </call-service> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml Tue Dec 30 04:22:42 2008 @@ -33,7 +33,7 @@ <create-value value-field="newEntity"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> <field-to-result map-name="newEntity" field="contentId"/> @@ -47,7 +47,7 @@ <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> <store-value value-name="lookedUpValue"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> </simple-method> <simple-method method-name="removeProductConfigItemContent" short-description="Remove Content From ProductConfigItem"> @@ -59,17 +59,17 @@ <!-- Specialized --> <simple-method method-name="createSimpleTextContentForProductConfigItem" short-description="Create Simple Text Content For Product"> - <set-service-fields service-name="createProductConfigItemContent" map-name="parameters" to-map-name="createProductConfigItemContent"/> - <set-service-fields service-name="createSimpleTextContent" map-name="parameters" to-map-name="createSimpleText"/> + <set-service-fields service-name="createProductConfigItemContent" map="parameters" to-map="createProductConfigItemContent"/> + <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleText"/> <call-service service-name="createSimpleTextContent" in-map-name="createSimpleText" break-on-error="true" > <result-to-field result-name="contentId" map-name="createProductConfigItemContent" /> </call-service> <call-service service-name="createProductConfigItemContent" in-map-name="createProductConfigItemContent"/> </simple-method> <simple-method method-name="updateSimpleTextContentForProductConfigItem" short-description="Update Simple Text Content For Product"> - <set-service-fields service-name="updateProductConfigItemContent" map-name="parameters" to-map-name="updateProductConfigItemContent"/> + <set-service-fields service-name="updateProductConfigItemContent" map="parameters" to-map="updateProductConfigItemContent"/> <call-service service-name="updateProductConfigItemContent" in-map-name="updateProductConfigItemContent"/> - <set-service-fields service-name="updateSimpleTextContent" map-name="parameters" to-map-name="updateSimpleText"/> + <set-service-fields service-name="updateSimpleTextContent" map="parameters" to-map="updateSimpleText"/> <call-service service-name="updateSimpleTextContent" in-map-name="updateSimpleText"/> </simple-method> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml Tue Dec 30 04:22:42 2008 @@ -177,7 +177,7 @@ </simple-method> <simple-method method-name="getTaskCost" short-description="Gets the production run task's costs"> <!-- First of all, the estimated task time is computed --> - <set-service-fields service-name="getEstimatedTaskTime" map-name="parameters" to-map-name="inputMap"/> + <set-service-fields service-name="getEstimatedTaskTime" map="parameters" to-map="inputMap"/> <set from-field="parameters.workEffortId" field="inputMap.taskId"/> <call-service service-name="getEstimatedTaskTime" in-map-name="inputMap"> <result-to-field result-name="estimatedTaskTime"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml Tue Dec 30 04:22:42 2008 @@ -121,7 +121,7 @@ </entity-and> <iterate entry="productFeature" list="productFeatures"> - <set-service-fields service-name="applyFeatureToProduct" map-name="parameters" to-map-name="applyFeatureContext"/> + <set-service-fields service-name="applyFeatureToProduct" map="parameters" to-map="applyFeatureContext"/> <set field="applyFeatureContext.productFeatureId" from-field="productFeature.productFeatureId"/> <if-empty field="applyFeatureContext.sequenceNum"> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml Tue Dec 30 04:22:42 2008 @@ -42,7 +42,7 @@ <iterate list="orderItemList" entry="orderItem"> <if-not-empty field="orderItem.productId"> <clear-field field="callSvcMap"/> - <set-service-fields to-map-name="callSvcMap" service-name="issueImmediatelyFulfilledOrderItem" map-name="orderItem"/> + <set-service-fields to-map="callSvcMap" service-name="issueImmediatelyFulfilledOrderItem" map="orderItem"/> <set field="callSvcMap.orderHeader" from-field="orderHeader" /> <set field="callSvcMap.orderItem" from-field="orderItem" /> <set field="callSvcMap.productStore" from-field="productStore" /> @@ -197,7 +197,7 @@ <if-compare value="INV_AVAILABLE" operator="equals" field="inventoryItem.statusId"> <!-- change status on inventoryItem --> <set field="inventoryItem.statusId" value="INV_DELIVERED" /> - <set-service-fields service-name="updateInventoryItem" map-name="inventoryItem" to-map-name="inventoryItemMap"/> + <set-service-fields service-name="updateInventoryItem" map="inventoryItem" to-map="inventoryItemMap"/> <call-service service-name="updateInventoryItem" in-map-name="inventoryItemMap"/> <!-- create ItemIssuance record --> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml Tue Dec 30 04:22:42 2008 @@ -299,7 +299,7 @@ <set field="createDetailMap.availableToPromiseDiff" value="-1" type="Double"/> <call-service service-name="createInventoryItemDetail" in-map-name="createDetailMap"/> </if-compare> - <set-service-fields map-name="parameters" to-map-name="cancelOrderItemShipGrpInvResMap" service-name="cancelOrderItemShipGrpInvRes"/> + <set-service-fields map="parameters" to-map="cancelOrderItemShipGrpInvResMap" service-name="cancelOrderItemShipGrpInvRes"/> <set field="cancelOrderItemShipGrpInvResMap.cancelQuantity" from-field="parameters.quantity"/> <!-- Step 1 cancel our reservation, we'll later reserve Inventory we want--> <call-service service-name="cancelOrderItemShipGrpInvRes" in-map-name="cancelOrderItemShipGrpInvResMap"/> @@ -329,7 +329,7 @@ <find-by-and map-name="inventoryReservationLookUp" list-name="invReservations" entity-name="OrderItemShipGrpInvRes"/> <first-from-list entry="inventoryItemReservation" list="invReservations"/> <if-not-empty field="inventoryItemReservation"> - <set-service-fields map-name="inventoryItemReservation" to-map-name="cancelOrderItemShipGrpInvResMap" service-name="cancelOrderItemShipGrpInvRes"/> + <set-service-fields map="inventoryItemReservation" to-map="cancelOrderItemShipGrpInvResMap" service-name="cancelOrderItemShipGrpInvRes"/> <call-service service-name="cancelOrderItemShipGrpInvRes" in-map-name="cancelOrderItemShipGrpInvResMap"/> <!-- Hold our inventoryItem --> <refresh-value value-name="inventoryItem"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Tue Dec 30 04:22:42 2008 @@ -514,12 +514,12 @@ <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="createPhysicalInventoryAndVariance" short-description="Create a PhysicalInventory and an InventoryItemVariance"> - <set-service-fields service-name="createPhysicalInventory" map-name="parameters" to-map-name="createPhysicalInventoryMap"/> + <set-service-fields service-name="createPhysicalInventory" map="parameters" to-map="createPhysicalInventoryMap"/> <call-service service-name="createPhysicalInventory" in-map-name="createPhysicalInventoryMap"> <result-to-field result-name="physicalInventoryId" field-name="physicalInventoryId" map-name="parameters"/> <result-to-result result-name="physicalInventoryId" service-result-name="physicalInventoryId"/> </call-service> - <set-service-fields service-name="createInventoryItemVariance" map-name="parameters" to-map-name="createInventoryItemVarianceMap"/> + <set-service-fields service-name="createInventoryItemVariance" map="parameters" to-map="createInventoryItemVarianceMap"/> <call-service service-name="createInventoryItemVariance" in-map-name="createInventoryItemVarianceMap"/> </simple-method> @@ -793,7 +793,7 @@ <!-- FIRST, cancel all the reservations --> <iterate list="allReservations" entry="oisgir"> - <set-service-fields service-name="cancelOrderItemShipGrpInvRes" to-map-name="cancelOisgirMap" map-name="oisgir"/> + <set-service-fields service-name="cancelOrderItemShipGrpInvRes" to-map="cancelOisgirMap" map="oisgir"/> <call-service service-name="cancelOrderItemShipGrpInvRes" in-map-name="cancelOisgirMap"/> </iterate> @@ -806,7 +806,7 @@ <log level="verbose" message="Adding ${oisgir.orderId} to touchedOrderIdMap"/> </if-compare> </if-not-empty> - <set-service-fields service-name="reserveProductInventory" to-map-name="resMap" map-name="oisgir"/> + <set-service-fields service-name="reserveProductInventory" to-map="resMap" map="oisgir"/> <set field="resMap.productId" from-field="inventoryItem.productId"/> <!-- require inventory is N because it had to be N to begin with to have a negative ATP --> <set field="resMap.requireInventory" value="N"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml Tue Dec 30 04:22:42 2008 @@ -393,7 +393,7 @@ <set from-field="parameters.targetLocationSeqId" field="targetInventoryItem.locationSeqId"/> <!-- now that targetInventoryItem is populated with quantities, etc, call createInventoryItem service --> <clear-field field="createNonOisgirTargetDetailMap"/> - <set-service-fields map-name="targetInventoryItem" service-name="createInventoryItem" to-map-name="createInventoryItemMap"/> + <set-service-fields map="targetInventoryItem" service-name="createInventoryItem" to-map="createInventoryItemMap"/> <call-service service-name="createInventoryItem" in-map-name="createInventoryItemMap"> <result-to-field result-name="inventoryItemId" field-name="createNonOisgirTargetDetailMap.inventoryItemId"/> </call-service> @@ -462,7 +462,7 @@ <make-value entity-name="InventoryItem" map-name="inventoryItem" value-field="targetInventoryItem"/> <set from-field="parameters.targetLocationSeqId" field="targetInventoryItem.locationSeqId"/> <!-- now that targetInventoryItem is populated with initial values, call createInventoryItem service --> - <set-service-fields map-name="targetInventoryItem" service-name="createInventoryItem" to-map-name="createInventoryItemMap"/> + <set-service-fields map="targetInventoryItem" service-name="createInventoryItem" to-map="createInventoryItemMap"/> <call-service service-name="createInventoryItem" in-map-name="createInventoryItemMap"> <result-to-field result-name="inventoryItemId" map-name="targetInventoryItem"/> </call-service> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/olap/ProductDimensionServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/olap/ProductDimensionServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/olap/ProductDimensionServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/olap/ProductDimensionServices.xml Tue Dec 30 04:22:42 2008 @@ -37,12 +37,12 @@ </simple-method> <simple-method method-name="loadProductInProductDimension" short-description=""> - <set-service-fields service-name="prepareProductDimensionData" map-name="parameters" to-map-name="inMap"/> + <set-service-fields service-name="prepareProductDimensionData" map="parameters" to-map="inMap"/> <call-service service-name="prepareProductDimensionData" in-map-name="inMap"> <result-to-field result-name="productDimension"/> </call-service> <clear-field field="inMap"/> - <set-service-fields service-name="storeGenericDimension" map-name="parameters" to-map-name="inMap"/> + <set-service-fields service-name="storeGenericDimension" map="parameters" to-map="inMap"/> <set field="inMap.naturalKeyFields[]" value="productId"/> <set field="inMap.dimensionValue" from-field="productDimension"/> <call-service service-name="storeGenericDimension" in-map-name="inMap"/> @@ -50,7 +50,7 @@ <simple-method method-name="loadAllProductsInProductDimension" short-description=""> <entity-condition entity-name="Product" list="products"/> <iterate list="products" entry="product"> - <set-service-fields service-name="loadProductInProductDimension" map-name="parameters" to-map-name="inMap"/> + <set-service-fields service-name="loadProductInProductDimension" map="parameters" to-map="inMap"/> <set field="inMap.productId" from-field="product.productId"/> <call-service service-name="loadProductInProductDimension" in-map-name="inMap"/> <clear-field field="inMap"/> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml Tue Dec 30 04:22:42 2008 @@ -33,7 +33,7 @@ <create-value value-field="newEntity"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> <field-to-result map-name="newEntity" field="contentId"/> @@ -47,7 +47,7 @@ <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> <store-value value-name="lookedUpValue"/> - <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/> + <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/> <call-service service-name="updateContent" in-map-name="updateContent"/> </simple-method> <simple-method method-name="removeProductContent" short-description="Remove Content From Product"> @@ -59,23 +59,23 @@ <!-- Specialized --> <simple-method method-name="createEmailContentForProduct" short-description="Create Email Content For Product"> - <set-service-fields service-name="createProductContent" map-name="parameters" to-map-name="createProductContent"/> - <set-service-fields service-name="createEmailContent" map-name="parameters" to-map-name="createEmail"/> + <set-service-fields service-name="createProductContent" map="parameters" to-map="createProductContent"/> + <set-service-fields service-name="createEmailContent" map="parameters" to-map="createEmail"/> <call-service service-name="createEmailContent" in-map-name="createEmail" break-on-error="true" > <result-to-field result-name="contentId" map-name="createProductContent" /> </call-service> <call-service service-name="createProductContent" in-map-name="createProductContent"/> </simple-method> <simple-method method-name="updateEmailContentForProduct" short-description="Update Email Content For Product"> - <set-service-fields service-name="updateProductContent" map-name="parameters" to-map-name="updateProductContent"/> + <set-service-fields service-name="updateProductContent" map="parameters" to-map="updateProductContent"/> <call-service service-name="updateProductContent" in-map-name="updateProductContent"/> - <set-service-fields service-name="updateEmailContent" map-name="parameters" to-map-name="updateEmail"/> + <set-service-fields service-name="updateEmailContent" map="parameters" to-map="updateEmail"/> <call-service service-name="updateEmailContent" in-map-name="updateEmail"/> </simple-method> <simple-method method-name="createDownloadContentForProduct" short-description="Create Download Content For Product"> - <set-service-fields service-name="createProductContent" map-name="parameters" to-map-name="createProductContent"/> - <set-service-fields service-name="persistContentAndAssoc" map-name="parameters" to-map-name="persistContentAndAssoc"/> + <set-service-fields service-name="createProductContent" map="parameters" to-map="createProductContent"/> + <set-service-fields service-name="persistContentAndAssoc" map="parameters" to-map="persistContentAndAssoc"/> <set field="persistContentAndAssoc.contentTypeId" value="DOCUMENT"/> <set field="persistContentAndAssoc.dataResourceTypeId" value="IMAGE_OBJECT"/> <call-service service-name="persistContentAndAssoc" in-map-name="persistContentAndAssoc" break-on-error="true" > @@ -84,28 +84,28 @@ <call-service service-name="createProductContent" in-map-name="createProductContent"/> </simple-method> <simple-method method-name="updateDownloadContentForProduct" short-description="Update Email Content For Product"> - <set-service-fields service-name="updateProductContent" map-name="parameters" to-map-name="updateProductContent"/> + <set-service-fields service-name="updateProductContent" map="parameters" to-map="updateProductContent"/> <call-service service-name="updateProductContent" in-map-name="updateProductContent"/> - <set-service-fields service-name="updateDownloadContent" map-name="parameters" to-map-name="updateDownload"/> + <set-service-fields service-name="updateDownloadContent" map="parameters" to-map="updateDownload"/> <call-service service-name="updateDownloadContent" in-map-name="updateDownload"/> </simple-method> <simple-method method-name="createSimpleTextContentForProduct" short-description="Create Simple Text Content For Product"> - <set-service-fields service-name="createProductContent" map-name="parameters" to-map-name="createProductContentMap"/> - <set-service-fields service-name="createSimpleTextContent" map-name="parameters" to-map-name="createSimpleTextMap"/> + <set-service-fields service-name="createProductContent" map="parameters" to-map="createProductContentMap"/> + <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleTextMap"/> <call-service service-name="createSimpleTextContent" in-map-name="createSimpleTextMap"> <result-to-field result-name="contentId" map-name="createProductContentMap"/> </call-service> <call-service service-name="createProductContent" in-map-name="createProductContentMap"/> </simple-method> <simple-method method-name="updateSimpleTextContentForProduct" short-description="Update Simple Text Content For Product"> - <set-service-fields service-name="updateProductContent" map-name="parameters" to-map-name="updateProductContent"/> + <set-service-fields service-name="updateProductContent" map="parameters" to-map="updateProductContent"/> <call-service service-name="updateProductContent" in-map-name="updateProductContent"/> - <set-service-fields service-name="updateSimpleTextContent" map-name="parameters" to-map-name="updateSimpleText"/> + <set-service-fields service-name="updateSimpleTextContent" map="parameters" to-map="updateSimpleText"/> <call-service service-name="updateSimpleTextContent" in-map-name="updateSimpleText"/> </simple-method> <simple-method method-name="createSimpleTextContentForAlternateLocale" short-description="Create Simple Text Content For Alternate Locale"> - <set-service-fields service-name="createSimpleTextContent" map-name="parameters" to-map-name="createSimpleTextMap"/> + <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleTextMap"/> <call-service service-name="createSimpleTextContent" in-map-name="createSimpleTextMap"> <result-to-field result-name="contentId" field-name="createContentAssocMap.contentIdTo"/> </call-service> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml Tue Dec 30 04:22:42 2008 @@ -28,7 +28,7 @@ <log level="info" message="contactMechId is ${parameters.contactMechId}"/> <if-empty field="parameters.contactMechId"> - <set-service-fields service-name="createContactMech" map-name="parameters" to-map-name="createContactMechMap"/> + <set-service-fields service-name="createContactMech" map="parameters" to-map="createContactMechMap"/> <set field="createContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId" /> <call-service service-name="createContactMech" in-map-name="createContactMechMap"> <default-message>Contact Mechanism successfully created.</default-message> @@ -72,7 +72,7 @@ <log message="parameters: ${parameters}" level="info"/> <!-- If we already have a new contactMechId don't update ContactMech --> <if-empty field="parameters.newContactMechId"> - <set-service-fields service-name="updateContactMech" map-name="parameters" to-map-name="updateContactMechMap"/> + <set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/> <set field="updateContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId" /> <call-service service-name="updateContactMech" in-map-name="updateContactMechMap"> <default-message>Contact Mechanism successfully updated.</default-message> @@ -145,7 +145,7 @@ <check-permission permission="FACILITY" action="_CREATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> <check-errors/> - <set-service-fields service-name="createPostalAddress" map-name="parameters" to-map-name="createPostalAddressMap"/> + <set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/> <call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress"> <default-message>Postal Address successfully created</default-message> @@ -155,7 +155,7 @@ <check-errors/> <set field="createFacilityContactMechMap.contactMechId" from-field="newFacilityContactMech.contactMechId"/> - <set-service-fields service-name="createFacilityContactMech" map-name="parameters" to-map-name="createFacilityContactMechMap"/> + <set-service-fields service-name="createFacilityContactMech" map="parameters" to-map="createFacilityContactMechMap"/> <call-service service-name="createFacilityContactMech" in-map-name="createFacilityContactMechMap" break-on-error="true"> <default-message>Facility Contact Mechanism successfully created</default-message> @@ -170,13 +170,13 @@ <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> <check-errors/> - <set-service-fields service-name="updatePostalAddress" map-name="parameters" to-map-name="updatePostalAddressMap"/> + <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/> <call-service in-map-name="updatePostalAddressMap" service-name="updatePostalAddress"> <default-message>Postal Address successfully updated</default-message> <result-to-field result-name="contactMechId" map-name="newFacilityContactMech" field-name="contactMechId" /> </call-service> - <set-service-fields service-name="updateFacilityContactMech" map-name="parameters" to-map-name="updateFacilityContactMechMap"/> + <set-service-fields service-name="updateFacilityContactMech" map="parameters" to-map="updateFacilityContactMechMap"/> <set field="updateFacilityContactMechMap.newContactMechId" from-field="newFacilityContactMech.contactMechId"/> <set field="updateFacilityContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/> @@ -193,14 +193,14 @@ <check-errors/> <log level="info" message="Creating telecom number"/> - <set-service-fields service-name="createTelecomNumber" map-name="parameters" to-map-name="createTelecomNumberMap"/> + <set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/> <call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber"> <default-message>Telecom number successfully created</default-message> <result-to-field result-name="contactMechId" map-name="newFacilityContactMech"/> </call-service> - <set-service-fields service-name="createFacilityContactMech" map-name="parameters" to-map-name="createFacilityContactMechMap"/> + <set-service-fields service-name="createFacilityContactMech" map="parameters" to-map="createFacilityContactMechMap"/> <set field="createFacilityContactMechMap.contactMechId" from-field="newFacilityContactMech.contactMechId"/> <log level="info" message="Copied id to createFacilityContactMechMap: ${createFacilityContactMechMap.contactMechId}"/> @@ -217,13 +217,13 @@ <check-permission permission="FACILITY" action="_UPDATE"><fail-message message="You do not have permission to perform this operation for this facility."/></check-permission> <check-errors/> - <set-service-fields service-name="updateTelecomNumber" map-name="parameters" to-map-name="updateTelecomNumberMap"/> + <set-service-fields service-name="updateTelecomNumber" map="parameters" to-map="updateTelecomNumberMap"/> <call-service service-name="updateTelecomNumber" in-map-name="updateTelecomNumberMap"> <default-message>Telecom Number successfully updated</default-message> <result-to-field result-name="contactMechId" map-name="newFacilityContactMech" field-name="contactMechId" /> </call-service> - <set-service-fields service-name="updateFacilityContactMech" map-name="parameters" to-map-name="updateFacilityContactMechMap"/> + <set-service-fields service-name="updateFacilityContactMech" map="parameters" to-map="updateFacilityContactMechMap"/> <set field="updateFacilityContactMechMap.newContactMechId" from-field="newFacilityContactMech.contactMechId"/> <set field="updateFacilityContactMechMap.contactMechTypeId" value="TELECOM_NUMBER"/> @@ -247,7 +247,7 @@ </if-validate-method> <check-errors/> - <set-service-fields service-name="createFacilityContactMech" map-name="parameters" to-map-name="createFacilityContactMechMap"/> + <set-service-fields service-name="createFacilityContactMech" map="parameters" to-map="createFacilityContactMechMap"/> <set field="createFacilityContactMechMap.infoString" from-field="parameters.emailAddress"/> <set field="createFacilityContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/> <call-service service-name="createFacilityContactMech" in-map-name="createFacilityContactMechMap"> @@ -267,7 +267,7 @@ </if-validate-method> <check-errors/> - <set-service-fields service-name="updateFacilityContactMech" map-name="parameters" to-map-name="updateFacilityContactMechMap"/> + <set-service-fields service-name="updateFacilityContactMech" map="parameters" to-map="updateFacilityContactMechMap"/> <set field="updateFacilityContactMechMap.infoString" from-field="parameters.emailAddress"/> <set field="updateFacilityContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS" /> <call-service service-name="updateFacilityContactMech" in-map-name="updateFacilityContactMechMap"> |
Free forum by Nabble | Edit this page |