<#-- 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. --> <#--Dispatcher Name: ${dispatcherName?default(uiLabelMap.CommonNA)} --> <#assign url='ServiceList'> <#assign popupUrl='serviceEcaDetail'> <#-- Selected Service is available --> <#if selectedServiceMap?exists> <#if showWsdl?exists && showWsdl = true>

${uiLabelMap.WebtoolsServiceWSDL} - ${uiLabelMap.WebtoolsService} ${selectedServiceMap.serviceName}


${uiLabelMap.CommonBack}
<#else>

${uiLabelMap.WebtoolsServiceName} ${selectedServiceMap.serviceName} ${uiLabelMap.WebtoolsEngineName} ${selectedServiceMap.engineName}
${uiLabelMap.CommonDescription} ${selectedServiceMap.description} ${uiLabelMap.WebtoolsInvoke} ${selectedServiceMap.invoke}
${uiLabelMap.WebtoolsExportable} ${selectedServiceMap.export}<#if selectedServiceMap.exportBool = "true"> (${uiLabelMap.WebtoolsShowShowWSDL}) ${uiLabelMap.WebtoolsLocation} ${selectedServiceMap.location}
${uiLabelMap.WebtoolsArtifactInfo} ${uiLabelMap.WebtoolsArtifactInfo} ${uiLabelMap.WebtoolsDefaultEntityName} ${selectedServiceMap.defaultEntityName}
  ${uiLabelMap.WebtoolsRequireNewTransaction} ${selectedServiceMap.requireNewTransaction}
  ${uiLabelMap.WebtoolsUseTransaction} ${selectedServiceMap.useTrans}
  ${uiLabelMap.WebtoolsMaxRetries} ${selectedServiceMap.maxRetry}

${uiLabelMap.SecurityGroups}

<#if selectedServiceMap.permissionGroups != 'NA'> <#list selectedServiceMap.permissionGroups as permGrp>
${uiLabelMap.WebtoolsNameOrRole} ${uiLabelMap.WebtoolsPermissionType} ${uiLabelMap.WebtoolsAction}
${permGrp.nameOrRole?default(uiLabelMap.CommonNA)} ${permGrp.permType?default(uiLabelMap.CommonNA)} ${permGrp.action?default(uiLabelMap.CommonNA)}
<#else>
${selectedServiceMap.permissionGroups}

${uiLabelMap.WebtoolsImplementedServices}

<#if selectedServiceMap.implServices == 'NA'> ${selectedServiceMap.implServices} <#elseif selectedServiceMap.implServices?has_content> <#list selectedServiceMap.implServices as implSrv> ${implSrv.getService()}
<#-- If service has ECA's --> <#if ecaMapList?exists && ecaMapList?has_content> <#-- add the javascript for modalpopup's -->

${uiLabelMap.WebtoolsServiceECA}

<#if ecaMapList.runOnError?exists> <#if ecaMapList.runOnFailure?exists> <#list ecaMapList as ecaMap> <#if ecaMap.runOnError?exists> <#if ecaMap.runOnFailure?exists> <#if ecaMap.actions?has_content> <#if ecaMap.conditions?has_content> <#if ecaMap.sets?has_content>
${uiLabelMap.WebtoolsEventName}${uiLabelMap.WebtoolsRunOnError} ${uiLabelMap.WebtoolsRunOnFailure} ${uiLabelMap.WebtoolsActions} ${uiLabelMap.WebtoolsConditions} ${uiLabelMap.WebtoolsSet}
${ecaMap.eventName?if_exists}${ecaMap.runOnError} ${ecaMap.runOnFailure} <#list ecaMap.actions as action>
${action.serviceName?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsSecasIgnoreError} ${action.ignoreError?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsSecasIgnoreFailure} ${action.ignoreFailure?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsSecasPersist} ${action.persist?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsSecasResultMapName} ${action.resultMapName?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsSecasResultToContext} ${action.resultToContext?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsSecasResultToResult} ${action.resultToResult?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsSecasServiceMode} ${action.serviceMode?default(uiLabelMap.CommonNA)}  
<#list ecaMap.conditions as condition>
${uiLabelMap.WebtoolsCompareType} ${condition.compareType?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsConditionService} <#if condition.conditionService?has_content> ${condition.conditionService?default(uiLabelMap.CommonNA)} <#else> ${condition.conditionService?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsFormat} ${condition.format?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsIsService} ${condition.isService?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsIsConstant} ${condition.isConstant?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsOperator} ${condition.operator?default(uiLabelMap.CommonNA)}
${uiLabelMap.WebtoolsLHSMapName} ${condition.lhsMapName?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsLHSValueName} ${condition.lhsValueName?default(uiLabelMap.CommonNA)}  
${uiLabelMap.WebtoolsRHSMapName} ${condition.rhsMapName?default(uiLabelMap.CommonNA)} ${uiLabelMap.WebtoolsRHSValueName} ${condition.rhsValueName?default(uiLabelMap.CommonNA)}  

<#list ecaMap.sets as set> <#if set.envName?has_content> <#if set.value?has_content> <#if set.format?has_content>
${uiLabelMap.WebtoolsFieldName} ${set.fieldName?default(uiLabelMap.CommonNA)}  
${uiLabelMap.WebtoolsEnvName} ${set.envName}  
${uiLabelMap.CommonValue} ${set.value}  
${uiLabelMap.WebtoolsFormat} ${set.format}  


<#-- End if service has ECA's --> <#list selectedServiceMap.allParamsList?if_exists as paramList>

${paramList.title}

<#if paramList.paramList?exists && paramList.paramList?has_content> <#-- --> <#list paramList.paramList as modelParam> <#-- -->
${uiLabelMap.WebtoolsParameterName} ${uiLabelMap.CommonDescription} ${uiLabelMap.WebtoolsOptional} ${uiLabelMap.CommonType}Default Value${uiLabelMap.WebtoolsMode} ${uiLabelMap.WebtoolsIsSetInternally} ${uiLabelMap.WebtoolsEntityName} ${uiLabelMap.WebtoolsFieldName}
${modelParam.name?if_exists} ${modelParam.description?if_exists} ${modelParam.optional?if_exists} ${modelParam.type?if_exists}[${modelParam.defaultValue?if_exists}]${modelParam.mode?if_exists} ${modelParam.internal?if_exists} <#if modelParam.entityName?exists> ${modelParam.entityName?if_exists} ${modelParam.fieldName?if_exists}
<#else>
${uiLabelMap.WebtoolsNoParametersDefined}
<#-- Show a little form for exportServiceEoModelBundle -->
Save eomodeld to Local Path:
<#-- No Service selected , we list all--> <#elseif servicesList?exists && servicesList?has_content> <#-- Show alphabetical index --> <#if serviceNamesAlphaList?exists && serviceNamesAlphaList?has_content>
<#assign isfirst=true> <#list serviceNamesAlphaList as alpha> ${alpha} <#assign isfirst=false> <#if dispArrList?exists && dispArrList?has_content>     
<#assign alt_row = false> <#list servicesList as service> class="alternate-row"> <#assign alt_row = !alt_row>
${uiLabelMap.WebtoolsServiceName} ${uiLabelMap.WebtoolsEngineName} ${uiLabelMap.WebtoolsDefaultEntityName} ${uiLabelMap.WebtoolsInvoke} ${uiLabelMap.WebtoolsLocation}
${service.serviceName} ${service.engineName} ${service.defaultEntityName} ${service.invoke} ${service.location}
<#else> ${uiLabelMap.WebtoolsNoServicesFound}. ${uiLabelMap.CommonListAll}