Example for AddressCleansing Activity
<Activity Name="AddressCleansing"> <Action>AddressCleansing</Action> <Description lang="en">Cleanse or fill the address attributes by either Geocoding or reverse-geocoding</Description> <Parameter name="eventState" direction="in" type="string" eval="constant">ADDRCLEANSING</Parameter> <Parameter direction="in" eval="xpath" type="string" name="MasterCatalog" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActionHeader/MasterCatalog/RevisionID/BaseName/text()">inDoc</Parameter> <Parameter direction="in" name="InDocument" type="document" eval="variable">inDoc</Parameter> <Parameter direction="in" name="InRecordList" type="recordlist" eval="variable">workRecordList</Parameter> <!-- MODE: FORWARD - Address to Point/LatLng --> <Parameter direction="in" name="Mode" type="string" eval="constant">FORWARD</Parameter> <!-- Parameter direction="in" name="AsynProcessIndicator" type="boolean" eval="constant">true/Parameter--> <!-- Parameter direction="in" name="VersionPolicy" type="string" eval="constant">CORRECT/Parameter--> <!-- Reject or accept invalid initial input data, if it fails to Geocode/cleanse to correct address. Defaults to true i.e. reject --> <Parameter direction="in" name="RejectInvalid" type="boolean" eval="constant">true</Parameter> <Parameter direction="out" name="OutDocument" type="document" eval="variable">workDoc</Parameter> <Parameter direction="out" name="OutRecordList" type="recordlist" eval="variable">workRecordList</Parameter> <Parameter direction="out" name="OutRecordList2" type="recordlist" eval="variable">rejectRecordList</Parameter> </Activity>
Copyright © Cloud Software Group, Inc. All rights reserved.