Initial Commit

This commit is contained in:
andres.albarran 2025-11-20 22:17:54 +01:00
parent 822fa941cc
commit 785a24ade1
16 changed files with 1500 additions and 0 deletions

17
.gitignore vendored
View File

@ -2,3 +2,20 @@
# Project-level settings
/.tgitconfig
# Archivos temporales
*.tmp
*.bak
*.swp
*.log
# Archivos de integración continua
/.settings/
/.project
/.classpath
/.factorypath
# Carpetas
.data/
.git/
System/

0
LICENSE Normal file
View File

View File

@ -0,0 +1,51 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<jws:workspace xmlns:jws="http://xmlns.oracle.com/ide/project">
<value n="appTemplateId" v="sbApplicationTemplate"/>
<hash n="component-versions">
<value n="oracle.adf.share.dt.migration.jps.JaznCredStoreMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.adf.share.dt.migration.wsm.PolicyAttachmentMigratorHelper" v="12.1.2.0.0"/>
<value n="oracle.adfdt.controller.adfc.source.migration.SavePointDataSourceForWLSMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdtinternal.model.ide.security.extension.AdfSecurityMigrator" v="11.1.1.1.0.13"/>
<value n="oracle.ide.model.Project" v="11.1.1.1.0;14.1.2.0.0"/>
<value n="oracle.jbo.dt.jdevx.deployment.JbdProjectMigrator" v="11.1.2.0.0"/>
<value n="oracle.jdeveloper.maven.migrator.POMNodeMigrator" v="12.2.1.0.0"/>
<value n="oracle.jdevimpl.appresources.ApplicationSrcDirMigrator" v="11.1.2.0.0"/>
<value n="oracle.jdevimpl.deploy.migrators.JeeDeploymentMigrator" v="12.1.2.0.0"/>
<value n="oracle.jdevimpl.xml.oc4j.jps.JpsConfigMigratorHelper" v="12.1.4.0.0"/>
<value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.mds.internal.dt.deploy.base.MarMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.mds.internal.dt.ide.migrator.MDSConfigMigratorHelper" v="11.1.1.0.5313"/>
<value n="oracle.webcenter.internal.dt.migration.WebCenterWorkspaceMigrator" v="12.2.1.0.0.150729.2101"/>
</hash>
<list n="contentSets">
<string v="oracle.mds.internal.dt.ide.appresources.MDSAppResourceCSProvider/MDSAppContentSet"/>
<string v="oracle.jdeveloper.model.PathsConfiguration/ApplicationSrcContentSet"/>
<string v="oracle.jdeveloper.model.PathsConfiguration/ADFContentSet"/>
<string v="oracle.jdeveloper.model.PathsConfiguration/ApplicationBuildToolContentSet"/>
<string v="oracle.jdeveloper.model.PathsConfiguration/ResourceBundlesContentSet"/>
</list>
<list n="listOfChildren">
<hash><url n="URL" path="BanescoCommonArtifacts/BanescoCommonArtifacts.jpr"/></hash>
<hash><url n="URL" path="MessageEnrichUtilMgmtSvc/MessageEnrichUtilMgmtSvc.jpr"/></hash>
<hash><url n="URL" path="ProtocoloVBMgmtSvc/ProtocoloVBMgmtSvc.jpr"/></hash>
</list>
<hash n="oracle.jdeveloper.deploy.dt.DeploymentProfiles">
<hash n="profileDefinitions">
<hash n="MessageEnrichUtilMgmtSvc">
<value n="profileClass" v="SbAppDeployProfile"/>
<value n="profileName" v="MessageEnrichUtilMgmtSvc"/>
</hash>
</hash>
<list n="profileList">
<string v="MessageEnrichUtilMgmtSvc"/>
</list>
</hash>
<hash n="oracle.jdeveloper.maven.compiler.MavenConfiguration">
<hash n="oracle.jdeveloper.maven.compiler.MavenConfiguration">
<url n="pomfileURL" path="pom.xml"/>
</hash>
</hash>
<hash n="oracle.sb.tooling.ide.core.internal.application.SbApplication">
<value n="configContextSessionName" v="OSB-IDE_build_1763672899478"/>
</hash>
</jws:workspace>

View File

@ -0,0 +1,197 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
<hash n="component-versions">
<value n="oracle.adfdt.controller.adfc.source.migration.AdfControllerSchemaMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdt.controller.common.migrator.ProjectMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdt.controller.jsf2.diagram.migrate.JsfNodeMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.adfdt.controller.migrate.TrinidadDatabindingsProjectMigrator" v="11.1.2.0.0"/>
<value n="oracle.adfdtinternal.dvt.datapresdt.migration.DVTDataMapMigrator" v="11.1.1.1.0.3"/>
<value n="oracle.adfdtinternal.dvt.datapresdt.migration.DVTWebAppConfigurationMigrator" v="12.1.3.0.0"/>
<value n="oracle.adfdtinternal.model.ide.migration.ProjectMigrator" v="11.1.1.1.0.11.1.1"/>
<value n="oracle.adfdtinternal.model.ide.placeholderdc.migrator.PlaceholderProjectMigrator" v="12.1.4.0.0"/>
<value n="oracle.adfdtinternal.model.ide.security.wizard.FormPageMigrator" v="11.1.1.0.0"/>
<value n="oracle.adfdtinternal.model.ide.security.wizard.JpsFilterMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdtinternal.model.ide.xmled.migration.ADFNodeMigrator" v="11.1.1.1.0.5"/>
<value n="oracle.adfdtinternal.model.ide.xmled.migration.PageDefinitionParameterValueMigrator" v="11.1.1.1.0.5"/>
<value n="oracle.adfdtinternal.model.ide.xmled.migration.RestDataControlMigrator" v="12.1.4.0.0"/>
<value n="oracle.adfdtinternal.model.ide.xmled.migration.WebXmlMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper" v="11.1.1.1.0.3"/>
<value n="oracle.adfdtinternal.view.rich.binding.migration.JarResourceMigrator" v="11.1.1.1.0"/>
<value n="oracle.adfdtinternal.view.rich.migration.ComponentIdNodeMigratorHelper" v="11.1.1.1.0.01"/>
<value n="oracle.adfdtinternal.view.rich.migration.FacesLibraryVersionMigrator" v="11.1.1.1.0.1"/>
<value n="oracle.ide.model.Project" v="14.1.2.0.0"/>
<value n="oracle.ide.model.ResourcePathsMigrator" v="11.1.1.1.0"/>
<value n="oracle.ideimpl.model.TechnologyScopeUpdateMigrator" v="11.1.2.0.0.6"/>
<value n="oracle.jbo.dt.jdevx.deployment.JbdProjectMigrator" v="11.1.2.0.0"/>
<value n="oracle.jbo.dt.jdevx.ui.appnav.APAdfConfigMigrator" v="11.1.2.0.0"/>
<value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="11.1.1.0.1.5"/>
<value n="oracle.jbo.dt.migrate.ResourceBundlePathMigrator" v="11.1.1.0.1.5"/>
<value n="oracle.jbo.dt.migration.ServiceInterfaceMigrator" v="11.1.1.1.0"/>
<value n="oracle.jdeveloper.dbmodeler.Migration" v="12.1.1.0.0"/>
<value n="oracle.jdeveloper.ejb.EjbMigrator" v="11.1.1.1.0"/>
<value n="oracle.jdeveloper.library.ProjectLibraryMigrator" v="11.1.1.1.0"/>
<value n="oracle.jdeveloper.maven.migrator.POMNodeMigrator" v="12.2.1.0.0"/>
<value n="oracle.jdeveloper.model.OutputDirectoryMigrator" v="11.1.1.1.0"/>
<value n="oracle.jdevimpl.deploy.jps.JpsDataMigrator" v="11.1.1.1.0"/>
<value n="oracle.jdevimpl.deploy.migrators.DeploymentMigrator" v="12.1.2.0.1"/>
<value n="oracle.jdevimpl.jsp.JspMigrator" v="11.1.1"/>
<value n="oracle.jdevimpl.offlinedb.migration.OfflineDBProjectMigrator" v="12.1.1.0.0"/>
<value n="oracle.jdevimpl.offlinedb.migration.SXMLOfflineDBProjectMigrator" v="12.1.4.0.0"/>
<value n="oracle.jdevimpl.resourcebundle.XliffAddin$XliffMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.jdevimpl.webapp.facelets.libraries.FaceletsLibraryMigrator" v="12.2.1.0.0"/>
<value n="oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMigrator" v="12.1.4.0.0"/>
<value n="oracle.jdevimpl.webapp.jsp.taglibraries.trinidad.migration.TrinidadLibraryVersionMigrator" v="11.1.1.1.0.1"/>
<value n="oracle.jdevimpl.webapp.WebAppContentSetNodeMigratorHelper" v="11.1.1"/>
<value n="oracle.jdevimpl.webapp.WebAppProjectNodeMigratorHelper" v="12.2.1.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestAppClassMigrator" v="12.1.3.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestJerseyLibMigrator" v="12.1.3.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestLibraryMigrator" v="12.1.1.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestOwsmPolicyMigrator" v="12.1.3.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestPathMigrator" v="11.1.2.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestWebAppMigrator" v="12.1.3.0.0"/>
<value n="oracle.jdevimpl.webservices.rest.migration.RestWeblogicWebAppMigrator" v="12.1.3.0.0"/>
<value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.jdevimpl.xml.wl.WeblogicMigratorHelper" v="11.1.1.1.0"/>
<value n="oracle.modeler.bmmigrate.management.Migration" v="11.1.1.1.0"/>
<value n="oracle.sb.tooling.ide.libs.SbProjectMigrator" v="12.1.4.0.0"/>
<value n="oracle.tip.tools.ide.fabric.addin.SCAProjectMigrator" v="11.1.1.1.0.13"/>
<value n="oracle.tip.tools.ide.workflow.addin.BPMRulesOnlyMigrator" v="12.2.1.5.0.0"/>
<value n="oracle.tip.tools.ide.workflow.addin.TaskFormMigratorAddin" v="12.1.3.0.0"/>
<value n="oracle.toplink.workbench.addin.migration.PersistenceProjectMigrator" v="11.1.1.1.0"/>
<value n="oracle.toplink.workbench.addin.migration.TopLinkProjectMigrator" v="11.1.1.1.0"/>
</hash>
<list n="contentSets">
<string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
<string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
<string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
<string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
<string v="oracle.mds.internal.dt.ide.MDSLibraryCustCSProvider/mdsContentSet"/>
<string v="oracle.mds.internal.dt.ide.MDSADFLibVirtualNodeCSProvider/mdsLibVirtualNodeContentSet"/>
<string v="oracle.tip.tools.ide.fabric.addin.SCAContentSetProvider/sca-content"/>
<string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
<string v="oracle.toplink.workbench.addin/toplinkContentSet"/>
<string v="oracle.adfdtinternal.model.ide.settings.ADFMSettings/adfmContentSet"/>
<string v="oracle.sb.tooling.ide.core.projects.SbProjectSettings/sbContentSet"/>
<string v="oracle.tip.tools.ide.ess.addin.ESSContentSetProvider/ess-content"/>
</list>
<value n="defaultPackage" v="messageenrichutilmgmtsvc"/>
<hash n="oracle.adfdtinternal.model.ide.settings.ADFMSettings">
<hash n="adfmContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/adfmsrc/"/>
</list>
</hash>
</hash>
<hash n="oracle.bm.commonIde.data.project.ModelerProjectSettings">
<hash n="modelersContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/model/"/>
</list>
</hash>
</hash>
<hash n="oracle.ide.model.ResourcePaths">
<hash n="resourcesContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/"/>
</list>
</hash>
</hash>
<hash n="oracle.ide.model.TechnologyScopeConfiguration">
<list n="technologyScope">
<string v="ServiceBusTechnology"/>
<string v="WSDL"/>
<string v="WSPolicy"/>
<string v="XML"/>
</list>
</hash>
<hash n="oracle.jdeveloper.compiler.OjcConfiguration">
<value n="webIANAEncoding" v="UTF-8"/>
</hash>
<hash n="oracle.jdeveloper.deploy.dt.DeploymentProfiles">
<hash n="profileDefinitions">
<hash n="Project1">
<value n="profileClass" v="SbProjectDeployProfile"/>
<value n="profileName" v="Project1"/>
</hash>
</hash>
<list n="profileList">
<string v="Project1"/>
</list>
</hash>
<hash n="oracle.jdeveloper.maven.compiler.MavenConfiguration">
<url n="pomfileURL" path="pom.xml"/>
</hash>
<hash n="oracle.jdeveloper.model.J2eeSettings">
<value n="j2eeWebAppName" v="MessageEnrichUtilMgmtSvc-MessageEnrichUtilMgmtSvc-webapp"/>
<value n="j2eeWebContextRoot" v="MessageEnrichUtilMgmtSvc-MessageEnrichUtilMgmtSvc-context-root"/>
<hash n="webContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/public_html/"/>
</list>
</hash>
</hash>
<hash n="oracle.jdeveloper.model.PathsConfiguration">
<hash n="javaContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/src/"/>
</list>
</hash>
</hash>
<hash n="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings">
<hash n="offlineDBContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/database/"/>
</list>
</hash>
</hash>
<hash n="oracle.jdeveloper.runner.RunConfigurations">
<hash n="runConfigurationDefinitions">
<hash n="Default">
<value n="custom" v="false"/>
<value n="name" v="Default"/>
<hash n="oracle.jdevimpl.runner.debug.DebugConfiguration">
<value n="promptForRemoteDebugging" v="false"/>
<value n="remoteProtocol" v="SOACommon"/>
</hash>
<url n="targetURL" path="servicebus.sboverview"/>
</hash>
</hash>
</hash>
<hash n="oracle.jdevimpl.config.JProjectPaths">
<url n="outputDirectory" path=".data/contentsets/classes/"/>
</hash>
<hash n="oracle.mds.internal.dt.ide.MDSLibraryCustCSProvider">
<hash n="mdsContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/libraryCustomizations/"/>
</list>
</hash>
</hash>
<hash n="oracle.sb.tooling.ide.core.projects.SbProjectSettings">
<hash n="sbContentSet">
<list n="pattern-filters">
<string v="-.data"/>
<string v="-.settings"/>
<string v="+**"/>
</list>
<list n="url-path">
<url path="."/>
</list>
</hash>
</hash>
<hash n="oracle.toplink.workbench.addin">
<hash n="toplinkContentSet">
<list n="pattern-filters"/>
<list n="url-path">
<url path=".data/contentsets/toplink/"/>
</list>
</hash>
</hash>
</jpr:project>

View File

@ -0,0 +1,307 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:pipelineEntry xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:coreEntry>
<con:description>This proxy implements utility for readDVMs</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="MessageEnrichUtilMgmtSvc/wsdl/MessageEnrichUtilMgmtSvc"/>
<con:binding>
<con:name>MessageEnrichUtilMgmtSvcSOAP</con:name>
<con:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con:namespace>
</con:binding>
</con:binding>
<oper:operations xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations">
<oper:monitoring enabled="true" level="service" aggregationInterval="10"/>
</oper:operations>
<con:xqConfiguration>
<con:snippetVersion>1.0</con:snippetVersion>
</con:xqConfiguration>
</con:coreEntry>
<con:router>
<con:pipeline type="request" name="request-N3f579cff.1940610f.0.156b2d8b244.N7f9e">
<con:stage name="BackupRequest" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7f04" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context/>
<con:actions>
<con1:assign varName="backupBodyME">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7f03</con2:id>
<con1:expr>
<con2:xqueryText>$body</con2:xqueryText>
</con1:expr>
</con1:assign>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline type="response" name="response-N3f579cff.1940610f.0.156b2d8b244.N7f9d"/>
<con:pipeline type="request" name="request-N3f579cff.1940610f.0.156b2d8b244.N7ed1">
<con:stage name="ValidationApplicationRequest" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7e68" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:userNsDecl prefix="mes" namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc"/>
</con:context>
<con:actions>
<con1:validate>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7e67</con2:id>
<con1:schema ref="BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc"/>
<con1:schemaElement xmlns:mes="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc">mes:readDVM_Rq</con1:schemaElement>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./mes:readDVM_Rq</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
<con:stage name="InitResponse" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7d8c" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:assign varName="response">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7d8b</con2:id>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="MessageEnrichUtilMgmtSvc/operations/readDVM/xq/MessageEnrichUtilMgmtSvc_readDVM_InitResponse"/>
<con2:param name="readDVM_Rq1">
<con2:path>$body/mes:readDVM_Rq</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:assign>
<con1:assign varName="output">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7d8a</con2:id>
<con1:expr>
<con2:xqueryText>'&lt;responses>'</con2:xqueryText>
</con1:expr>
</con1:assign>
</con:actions>
</con:stage>
<con:stage name="ExecuteDVM" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7cce" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:ifThenElse>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7ccd</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N7ccc">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:compExpr operator="=">
<con2:leftPath>$response/mes:Execute</con2:leftPath>
<con2:rightPath>'true'</con2:rightPath>
</con2:compExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:foreach>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7ccb</con2:id>
<con1:variable>body</con1:variable>
<con1:expression>
<con2:xpathText>./mes:readDVM_Rq/mes:Inputs/mes:Input</con2:xpathText>
</con1:expression>
<con1:index-variable>index</con1:index-variable>
<con1:total-variable>count</con1:total-variable>
<con1:actions>
<con1:replace varName="DVMRq">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cca</con2:id>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="BanescoCommonArtifacts/xq/dvm/DVMLookupRequest"/>
<con2:param name="inputValue">
<con2:path>$body/mes:readDVM_Rq/mes:Inputs/mes:Input[xs:int($index)]/mes:Value/text()</con2:path>
</con2:param>
<con2:param name="outputField">
<con2:path>string-join($body/mes:readDVM_Rq/mes:Inputs/mes:Input[xs:int($index)]/mes:Attributes/mes:Attribute/mes:Name, ",")</con2:path>
</con2:param>
<con2:param name="dvmName">
<con2:path>$body/mes:readDVM_Rq/mes:NameDVM/text()</con2:path>
</con2:param>
<con2:param name="inputField">
<con2:path>$body/mes:readDVM_Rq/mes:Inputs/mes:Input[xs:int($index)]/mes:Field/text()</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
<con1:ifThenElse>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc9</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N7cc8">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:boolExpr operator="or">
<con2:compExpr operator="=">
<con2:leftPath>$body/mes:readDVM_Rq/mes:NameDVM</con2:leftPath>
<con2:rightPath>"DVM_VB_PROTOCOL"</con2:rightPath>
</con2:compExpr>
<con2:compExpr operator="=">
<con2:leftPath>$body/mes:readDVM_Rq/mes:NameDVM</con2:leftPath>
<con2:rightPath>"DVM_CUSTOMER_TYPE"</con2:rightPath>
</con2:compExpr>
</con2:boolExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:wsCallout>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc7</con2:id>
<con1:service xsi:type="ref:BusinessServiceRef" ref="BanescoCommonArtifacts/business/ListValueManagementServiceBz" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con1:operation>transform</con1:operation>
<con1:request>
<con1:body>DVMRq</con1:body>
</con1:request>
<con1:response>
<con1:body>DVMRs</con1:body>
</con1:response>
<con1:requestTransform/>
<con1:responseTransform>
<con1:replace varName="DVMRs">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc6</con2:id>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="BanescoCommonArtifacts/xq/dvm/DVMTransformResponseToValue"/>
<con2:param name="listValueMgmtSvcRs1">
<con2:path>$DVMRs</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con1:responseTransform>
</con1:wsCallout>
</con1:actions>
</con1:case>
<con1:default>
<con1:wsCallout>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc5</con2:id>
<con1:service xsi:type="ref:BusinessServiceRef" ref="BanescoCommonArtifacts/business/ListValueManagementServiceBz" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con1:operation>translate</con1:operation>
<con1:request>
<con1:body>DVMRq</con1:body>
</con1:request>
<con1:response>
<con1:body>DVMRs</con1:body>
</con1:response>
<con1:requestTransform/>
<con1:responseTransform>
<con1:replace varName="DVMRs">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc4</con2:id>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="BanescoCommonArtifacts/xq/dvm/DVMLookupResponseToValue"/>
<con2:param name="listValueMgmtServRs">
<con2:path>$DVMRs</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
<con1:replace varName="DVMRs">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc3</con2:id>
<con1:expr>
<con2:xqueryText>concat("&lt;response>", $DVMRs, "&lt;/response>")</con2:xqueryText>
</con1:expr>
</con1:replace>
</con1:responseTransform>
</con1:wsCallout>
</con1:default>
</con1:ifThenElse>
<con1:replace varName="output">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7cc2</con2:id>
<con1:expr>
<con2:xqueryText>concat($output, fn-bea:serialize($DVMRs))</con2:xqueryText>
</con1:expr>
</con1:replace>
</con1:actions>
</con1:foreach>
</con1:actions>
</con1:case>
</con1:ifThenElse>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline type="response" name="response-N3f579cff.1940610f.0.156b2d8b244.N7ed0">
<con:stage name="ProcessResponseDVM" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7c4e" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:replace varName="output" contents-only="false">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7c4d</con2:id>
<con1:expr>
<con2:xqueryText>fn-bea:inlinedXML(concat($output, "&lt;/responses>"))</con2:xqueryText>
</con1:expr>
</con1:replace>
<con1:ifThenElse>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7c4c</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N7c4b">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:compExpr operator=">">
<con2:leftPath>count($output/response)</con2:leftPath>
<con2:rightPath>0</con2:rightPath>
</con2:compExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:replace varName="response">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7c4a</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="MessageEnrichUtilMgmtSvc/operations/readDVM/xq/MessageEnrichUtilMgmtSvc_readDVM_Response"/>
<con2:param name="anyType1">
<con2:path>$output</con2:path>
</con2:param>
<con2:param name="DVMName">
<con2:path>$backupBodyME/mes:readDVM_Rq/mes:NameDVM/text()</con2:path>
</con2:param>
<con2:param name="readDVM_Rs1">
<con2:path>$response</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con1:actions>
</con1:case>
</con1:ifThenElse>
</con:actions>
</con:stage>
<con:stage name="TransformationToApplication" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7be4" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:replace varName="body" contents-only="true">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7be3</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>$response</con2:xqueryText>
</con1:expr>
</con1:replace>
</con:actions>
</con:stage>
<con:stage name="ValidationApplicationResponse" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7b7c" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:userNsDecl prefix="mes" namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc"/>
</con:context>
<con:actions>
<con1:validate>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7b7b</con2:id>
<con1:schema ref="BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc"/>
<con1:schemaElement xmlns:mes="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc">mes:readDVM_Rs</con1:schemaElement>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./mes:readDVM_Rs</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
</con:pipeline>
<con:flow>
<con:pipeline-node name="InitPipeline">
<con:request>request-N3f579cff.1940610f.0.156b2d8b244.N7f9e</con:request>
<con:response>response-N3f579cff.1940610f.0.156b2d8b244.N7f9d</con:response>
</con:pipeline-node>
<con:pipeline-node name="ReadDVPipeline">
<con:request>request-N3f579cff.1940610f.0.156b2d8b244.N7ed1</con:request>
<con:response>response-N3f579cff.1940610f.0.156b2d8b244.N7ed0</con:response>
</con:pipeline-node>
</con:flow>
</con:router>
</con:pipelineEntry>

View File

@ -0,0 +1,94 @@
xquery version "1.0";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns0 = "http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc";
(:: import schema at "../../../../BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc.xsd" ::)
declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr";
declare namespace xf = "http://tempuri.org/MessageEnrichUtilMgmtSvc/operations/readDVM/xq/MessageEnrichUtilMgmtSvc_readDVM_InitResponse/";
declare variable $DVM_VB_NAME as xs:string := "DVM_VB_PROTOCOL";
declare function xf:BuildResponseBody($request as element(ns0:readDVM_Rq)) as element(*) {
<response>
{
if (data($request/ns0:NameDVM) = $DVM_VB_NAME) then (
<body>
<ns0:Outputs>
<ns0:Output>
<ns0:Attributes>
<ns0:Attribute>
<ns0:Name>INDLINEA</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:LineId)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>CRITREV</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:ReverseId)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>INDCONT</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:ResumeId)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>NUMREG</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:NetworkTrnInfo/ns1:RegisterNumber)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>TIPOPER</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:NetworkTrnInfo/ns1:OperationType)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>TIPTRN</ns0:Name>
<ns0:Value>{data($request/ns0:MsgRqHdr/ns1:NetworkTrnInfo/ns1:TransactionType)}</ns0:Value>
</ns0:Attribute>
</ns0:Attributes>
</ns0:Output>
</ns0:Outputs>
<ns0:Execute>
{
if (exists($request/ns0:MsgRqHdr/ns1:ApplicantData/ns1:Application) and $request/ns0:MsgRqHdr/ns1:ApplicantData/ns1:Application != '')
then ('true')
else ('false')
}
</ns0:Execute>
</body>
)
else (
<body>
<ns0:Outputs>
{
let $Inputs := $request/ns0:Inputs return
for $Input in $Inputs/ns0:Input return
<ns0:Output>
{
let $Attributes := $Input/ns0:Attributes return
<ns0:Attributes>
{
for $Attribute in $Attributes/ns0:Attribute return
<ns0:Attribute>
<ns0:Name>{ data($Attribute/ns0:Name) }</ns0:Name>
<ns0:Value></ns0:Value>
</ns0:Attribute>
}
</ns0:Attributes>
}
</ns0:Output>
}
</ns0:Outputs>
<ns0:Execute>true</ns0:Execute>
</body>
)
}
</response>
};
declare function xf:MessageEnrichUtilMgmtSvc_readDVM_InitResponse($readDVM_Rq1 as element(ns0:readDVM_Rq))
as element(ns0:readDVM_Rs) {
<ns0:readDVM_Rs>{xf:BuildResponseBody($readDVM_Rq1)/body/*}</ns0:readDVM_Rs>
};
declare variable $readDVM_Rq1 as element(ns0:readDVM_Rq) external;
xf:MessageEnrichUtilMgmtSvc_readDVM_InitResponse($readDVM_Rq1)

View File

@ -0,0 +1,134 @@
xquery version "1.0";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns0 = "http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc";
(:: import schema at "../../../../BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc.xsd" ::)
declare namespace xf = "http://tempuri.org/MessageEnrichUtilMgmtSvc/operations/readDVM/xq/MessageEnrichUtilMgmtSvc_readDVM_Response/";
declare namespace lvs = "http://www.banesco.com/ServicesPortfolio/ListValueManagementService";
declare variable $DVM_VB_NAME as xs:string := "DVM_VB_PROTOCOL";
declare function xf:BuildResponseBody($response as element(ns0:readDVM_Rs), $outputDVM as element(*), $DVMName as xs:string) as element(*) {
<response>
{
if ($DVMName = $DVM_VB_NAME) then (
<body>
<ns0:Outputs>
<ns0:Output>
<ns0:Attributes>
<ns0:Attribute>
<ns0:Name>INDLINEA</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='INDLINEA']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>CRITREV</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='CRITREV']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>INDCONT</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='INDCONT']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>NUMREG</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='NUMREG']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>TIPOPER</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='TIPOPER']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
<ns0:Attribute>
<ns0:Name>TIPTRN</ns0:Name>
<ns0:Value>{data($outputDVM/response[1]/lvs:BlocksData[./lvs:columnName='TIPTRN']/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
</ns0:Attributes>
</ns0:Output>
</ns0:Outputs>
<ns0:Execute>true</ns0:Execute>
</body>
)
else (
if ($DVMName = "DVM_CUSTOMER_TYPE") then (
<body>
{
let $Outputs := $response/ns0:Outputs
return
<ns0:Outputs>
{
for $Output at $index in $Outputs/ns0:Output
return
<ns0:Output>
{
let $Attributes := $Output/ns0:Attributes
return
<ns0:Attributes>
{
for $Attribute in $Attributes/ns0:Attribute
return
<ns0:Attribute>
<ns0:Name>{ data($Attribute/ns0:Name) }</ns0:Name>
<ns0:Value>{ data($outputDVM/response/lvs:BlocksData/lvs:columnValue)}</ns0:Value>
</ns0:Attribute>
}
</ns0:Attributes>
}
</ns0:Output>
}
</ns0:Outputs>
}
<ns0:Execute>true</ns0:Execute>
</body>
)
else (
<body>
{
let $Outputs := $response/ns0:Outputs
return
<ns0:Outputs>
{
for $Output at $index in $Outputs/ns0:Output
return
<ns0:Output>
{
let $Attributes := $Output/ns0:Attributes
return
<ns0:Attributes>
{
for $Attribute in $Attributes/ns0:Attribute
return
<ns0:Attribute>
<ns0:Name>{ data($Attribute/ns0:Name) }</ns0:Name>
<ns0:Value>{ data($outputDVM/response[$index]) }</ns0:Value>
</ns0:Attribute>
}
</ns0:Attributes>
}
</ns0:Output>
}
</ns0:Outputs>
}
<ns0:Execute>true</ns0:Execute>
</body>
)
)
}
</response>
};
declare function xf:MessageEnrichUtilMgmtSvc_readDVM_Response($readDVM_Rs1 as element(ns0:readDVM_Rs),
$anyType1 as element(*),
$DVMName as xs:string)
as element(ns0:readDVM_Rs) {
<ns0:readDVM_Rs>{xf:BuildResponseBody($readDVM_Rs1, $anyType1, $DVMName)/body/*}</ns0:readDVM_Rs>
};
declare variable $readDVM_Rs1 as element(ns0:readDVM_Rs) external;
declare variable $anyType1 as element(*) external;
declare variable $DVMName as xs:string external;
xf:MessageEnrichUtilMgmtSvc_readDVM_Response($readDVM_Rs1,
$anyType1,
$DVMName)

View File

@ -0,0 +1,433 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:pipelineEntry xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con1="http://www.bea.com/wli/sb/stages/config" xmlns:con2="http://www.bea.com/wli/sb/stages/transform/config">
<con:coreEntry>
<con:description>This proxy implements utility for readProtocolsVB</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="MessageEnrichUtilMgmtSvc/wsdl/MessageEnrichUtilMgmtSvc"/>
<con:binding>
<con:name>MessageEnrichUtilMgmtSvcSOAP</con:name>
<con:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con:namespace>
</con:binding>
</con:binding>
<oper:operations xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations">
<oper:monitoring enabled="true" level="service" aggregationInterval="10"/>
</oper:operations>
<con:xqConfiguration>
<con:snippetVersion>1.0</con:snippetVersion>
</con:xqConfiguration>
</con:coreEntry>
<con:router>
<con:pipeline type="response" name="response-N3f579cff.1940610f.0.156b2d8b244.N7b15"/>
<con:pipeline type="request" name="request-N3f579cff.1940610f.0.156b2d8b244.N7a49">
<con:stage name="ValidationApplicationRequest" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N797e" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:validate xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N797d</con2:id>
<con1:schema ref="BanescoCommonArtifacts/xsd/canonical/Entitys/MsgRqHdr"/>
<con1:schemaType xmlns:msg="http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr">msg:MsgRqHdr</con1:schemaType>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./mes:readProtocoloVB_Rq/mes:MsgRqHdr</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
<con:stage name="InitResponse" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7917" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:replace varName="response" xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7916</con2:id>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="MessageEnrichUtilMgmtSvc/operations/readProtocoloVB/xq/MessageEnrichUtilMgmtSvc_readProtocoloVB_InitResponse"/>
<con2:param name="readProtocoloVB_Rq1">
<con2:path>$body/mes:readProtocoloVB_Rq</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con:actions>
</con:stage>
<con:stage name="ExecuteVBProtocol" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N786d" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:userNsDecl namespace="http://xmlns.banesco.com/UtilityService/ProtocoloVBMgmtSvc" prefix="prot"/>
<con2:userNsDecl namespace="http://xmlns.banesco.com/EnterpriseObjects/Status" prefix="stat"/>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
<con2:varNsDecl namespace="http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr" prefix="msg"/>
<con2:varNsDecl namespace="http://Obi_Wan/EjecutaTRX" prefix="ejec"/>
</con:context>
<con:actions>
<con1:ifThenElse xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N786c</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N786b">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:boolExpr operator="and">
<con2:unaryExpr>
<con2:path>exists($body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:VBProtocol/msg:TransactionInd)</con2:path>
</con2:unaryExpr>
<con2:unaryExpr>
<con2:path>exists($body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:VBProtocol/msg:VBProtocolInd)</con2:path>
</con2:unaryExpr>
<con2:compExpr operator="=">
<con2:leftPath>$body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:VBProtocol/msg:VBProtocolInd</con2:leftPath>
<con2:rightPath>"true"</con2:rightPath>
</con2:compExpr>
</con2:boolExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con3:ifThenElse>
<con2:id>_ActionId-a87051d.N35cd1dac.4.164431c4eea.N8000</con2:id>
<con3:case>
<con3:condition>
<con2:xqueryConditionExpr>
<con2:unaryExpr>
<con2:path>$body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:NetworkTrnInfo/msg:TransactionType = "1" and
$body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:VBProtocol/msg:VBProtocolInd = "true"</con2:path>
</con2:unaryExpr>
</con2:xqueryConditionExpr>
</con3:condition>
<con3:actions>
<con3:wsCallout>
<con2:id>_ActionId-a87051d.N35cd1dac.5.16443214d7f.N8000</con2:id>
<con3:service ref="ProtocoloVBMgmtSvc/proxy/ProtocoloVBMgmtSvc" xsi:type="ref:ProxyRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con3:operation>requestReverseHeaderProtocoloVB</con3:operation>
<con3:request>
<con3:body wrapped="false">VBProtocolRq</con3:body>
<con3:header/>
</con3:request>
<con3:response>
<con3:body wrapped="false">VBProtocolRs</con3:body>
<con3:header/>
</con3:response>
<con3:requestTransform>
<con3:assign varName="transactional2">
<con2:id>_ActionId-a87051d.N35cd1dac.6.164432557da.N8000</con2:id>
<con3:expr>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">"true"</con:xqueryText>
</con3:expr>
</con3:assign>
<con3:assign varName="VBProtocolRq">
<con2:id>_ActionId-a87051d.N35cd1dac.7.1644326dd35.N8000</con2:id>
<con3:expr>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">&lt;prot:requestRevHdrProtocoloVBRq>{$body/mes:readProtocoloVB_Rq/ejec:EjecutaTRX}&lt;/prot:requestRevHdrProtocoloVBRq></con:xqueryText>
</con3:expr>
</con3:assign>
</con3:requestTransform>
<con3:responseTransform/>
</con3:wsCallout>
</con3:actions>
</con3:case>
<con3:default>
<con1:ifThenElse>
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N8000</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N7869">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:compExpr operator="=">
<con2:leftPath>$body/mes:readProtocoloVB_Rq/mes:MsgRqHdr/msg:VBProtocol/msg:TransactionInd</con2:leftPath>
<con2:rightPath>"true"</con2:rightPath>
</con2:compExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:wsCallout>
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7fff</con2:id>
<con1:service ref="ProtocoloVBMgmtSvc/proxy/ProtocoloVBMgmtSvc" xsi:type="ref:ProxyRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con1:operation>requestTransactionHeaderProtocoloVB</con1:operation>
<con1:request>
<con1:body wrapped="false">VBProtocolRq</con1:body>
<con3:header/>
</con1:request>
<con1:response>
<con1:body wrapped="false">VBProtocolRs</con1:body>
<con3:header/>
</con1:response>
<con1:requestTransform>
<con1:assign varName="transactional">
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7ffe</con2:id>
<con1:expr>
<con2:xqueryText>"true"</con2:xqueryText>
</con1:expr>
</con1:assign>
<con1:assign varName="VBProtocolRq">
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7ffd</con2:id>
<con1:expr>
<con2:xqueryText>&lt;prot:requestTrxHdrProtocoloVBRq>{$body/mes:readProtocoloVB_Rq/ejec:EjecutaTRX}&lt;/prot:requestTrxHdrProtocoloVBRq></con2:xqueryText>
</con1:expr>
</con1:assign>
</con1:requestTransform>
<con1:responseTransform/>
</con1:wsCallout>
</con1:actions>
</con1:case>
<con1:default>
<con1:wsCallout>
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7ffc</con2:id>
<con1:service ref="ProtocoloVBMgmtSvc/proxy/ProtocoloVBMgmtSvc" xsi:type="ref:ProxyRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con1:operation>requestConsultHeaderProtocoloVB</con1:operation>
<con1:request>
<con1:body wrapped="false">VBProtocolRq</con1:body>
<con3:header/>
</con1:request>
<con1:response>
<con1:body wrapped="false">VBProtocolRs</con1:body>
<con3:header/>
</con1:response>
<con1:requestTransform>
<con1:assign varName="transactional">
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7ffb</con2:id>
<con1:expr>
<con2:xqueryText>"false"</con2:xqueryText>
</con1:expr>
</con1:assign>
<con1:assign varName="VBProtocolRq">
<con2:id>_ActionId-a87051d.N35cd1dac.d.164467d102e.N7ffa</con2:id>
<con1:expr>
<con2:xqueryText>&lt;prot:requestCsHdrProtocoloVBRq>{$body/mes:readProtocoloVB_Rq/ejec:EjecutaTRX}&lt;/prot:requestCsHdrProtocoloVBRq></con2:xqueryText>
</con1:expr>
</con1:assign>
</con1:requestTransform>
<con1:responseTransform/>
</con1:wsCallout>
</con1:default>
</con1:ifThenElse>
</con3:default>
</con3:ifThenElse>
</con1:actions>
</con1:case>
</con1:ifThenElse>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline type="response" name="response-N3f579cff.1940610f.0.156b2d8b244.N7a48">
<con:stage name="ProcessResponseVBProtocol" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N77b2" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:userNsDecl namespace="http://xmlns.banesco.com/UtilityService/ProtocoloVBMgmtSvc" prefix="prot"/>
<con2:userNsDecl namespace="http://xmlns.banesco.com/EnterpriseObjects/Status" prefix="stat"/>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
<con2:varNsDecl namespace="http://Obi_Wan/EjecutaTRX" prefix="ejec"/>
</con:context>
<con:actions>
<con1:ifThenElse xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77b1</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N77b0">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:unaryExpr>
<con2:path>exists($VBProtocolRs)</con2:path>
</con2:unaryExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:replace varName="response" contents-only="true">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77af</con2:id>
<con1:location>
<con2:xpathText>./mes:MsgRsHdr</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>$VBProtocolRs/prot:MsgRsHdr/*</con2:xqueryText>
</con1:expr>
</con1:replace>
<con1:replace varName="response" contents-only="true">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77ae</con2:id>
<con1:location>
<con2:xpathText>./mes:Status</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>$VBProtocolRs/prot:Status/*</con2:xqueryText>
</con1:expr>
</con1:replace>
<con1:ifThenElse>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77ad</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N77ac">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:compExpr operator="=">
<con2:leftPath>$response/mes:Status/stat:StatusCode</con2:leftPath>
<con2:rightPath>"OK"</con2:rightPath>
</con2:compExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:replace varName="response" contents-only="true">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77ab</con2:id>
<con1:location>
<con2:xpathText>./ejec:EjecutaTRX/ejec:in_agencia</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>data($VBProtocolRs/ejec:EjecutaTRX/ejec:in_agencia)</con2:xqueryText>
</con1:expr>
</con1:replace>
<con3:replace varName="response" contents-only="true">
<con2:id>_ActionId-a845012.25481f6.1.15c216533c2.N8000</con2:id>
<con3:location>
<con:xpathText xmlns:con="http://www.bea.com/wli/sb/stages/config">./ejec:EjecutaTRX/ejec:in_cajero</con:xpathText>
</con3:location>
<con3:expr>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">data($VBProtocolRs/ejec:EjecutaTRX/ejec:in_cajero)</con:xqueryText>
</con3:expr>
</con3:replace>
<con1:replace varName="response" contents-only="true">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77aa</con2:id>
<con1:location>
<con2:xpathText>./ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CODSUP</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>data($VBProtocolRs/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX[1]/@CODSUP)</con2:xqueryText>
</con1:expr>
</con1:replace>
<con1:ifThenElse>
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77a9</con2:id>
<con1:case id="_BranchId-N3f579cff.1940610f.0.156b2d8b244.N77a8">
<con1:condition>
<con2:xqueryConditionExpr>
<con2:compExpr operator="=">
<con2:leftPath>$transactional</con2:leftPath>
<con2:rightPath>"true"</con2:rightPath>
</con2:compExpr>
</con2:xqueryConditionExpr>
</con1:condition>
<con1:actions>
<con1:replace contents-only="true" varName="response">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N77a7</con2:id>
<con1:location>
<con2:xpathText>./ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>data($VBProtocolRs/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN)</con2:xqueryText>
</con1:expr>
</con1:replace>
</con1:actions>
</con1:case>
</con1:ifThenElse>
<con3:ifThenElse>
<con2:id>_ActionId-a87051d.N35cd1dac.9.16446074f8a.N8000</con2:id>
<con3:case>
<con3:condition>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">$transactional2 = "true"</con:xqueryText>
</con3:condition>
<con3:actions>
<con3:replace varName="response" contents-only="true">
<con2:id>_ActionId-a87051d.N35cd1dac.a.1644608623c.N8000</con2:id>
<con3:location>
<con:xpathText xmlns:con="http://www.bea.com/wli/sb/stages/config">./ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN</con:xpathText>
</con3:location>
<con3:expr>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">data($VBProtocolRs/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN)</con:xqueryText>
</con3:expr>
</con3:replace>
<con3:replace varName="response" contents-only="true">
<con2:id>_ActionId-a87051d.N35cd1dac.b.1644608d71e.N8000</con2:id>
<con3:location>
<con:xpathText xmlns:con="http://www.bea.com/wli/sb/stages/config">./ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@TIPTRN</con:xpathText>
</con3:location>
<con3:expr>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">data($VBProtocolRs/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@TIPTRN)</con:xqueryText>
</con3:expr>
</con3:replace>
</con3:actions>
</con3:case>
</con3:ifThenElse>
</con1:actions>
</con1:case>
</con1:ifThenElse>
</con1:actions>
</con1:case>
</con1:ifThenElse>
</con:actions>
</con:stage>
<con:stage id="_StageId-a7c0466.5cb62c62.0.157f94936c1.N7f4b" name="VerifyResponseIntegrity">
<con:comment>Verify the fields that must be returned mandatory and which are optional.</con:comment>
<con:context>
<con1:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con2:ifThenElse>
<con1:id>_ActionId-a7c0466.5cb62c62.0.157f94936c1.N7ede</con1:id>
<con2:case id="_BranchId-a7c0466.5cb62c62.0.157f94936c1.N7edd">
<con2:condition>
<con1:xqueryConditionExpr>
<con1:compExpr operator="=">
<con1:leftPath>data($response/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN)</con1:leftPath>
<con1:rightPath>""</con1:rightPath>
</con1:compExpr>
</con1:xqueryConditionExpr>
</con2:condition>
<con2:actions>
<con2:replace varName="response" contents-only="true">
<con1:id>_ActionId-a7c0466.5cb62c62.0.157f94936c1.N7ea9</con1:id>
<con2:location>
<con1:xpathText>./ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CONTRN</con1:xpathText>
</con2:location>
<con2:expr>
<con1:xqueryText>0</con1:xqueryText>
</con2:expr>
</con2:replace>
</con2:actions>
</con2:case>
</con2:ifThenElse>
</con:actions>
</con:stage>
<con:stage name="TransformationToApplication" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7741" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context/>
<con:actions>
<con1:replace varName="body" contents-only="true" xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7740</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>$response</con2:xqueryText>
</con1:expr>
</con1:replace>
</con:actions>
</con:stage>
<con:stage name="ValidationApplicationResponse" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N76da" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context>
<con2:varNsDecl namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" prefix="mes"/>
</con:context>
<con:actions>
<con1:validate xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N76d9</con2:id>
<con1:schema ref="BanescoCommonArtifacts/xsd/canonical/Entitys/Status"/>
<con1:schemaType xmlns:stat="http://xmlns.banesco.com/EnterpriseObjects/Status">stat:Status</con1:schemaType>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./mes:readProtocoloVB_Rs/mes:Status</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline type="request" name="request-N3f579cff.1940610f.0.156b2d8b244.N7b16">
<con:stage name="BackupRequest" id="_StageId-N3f579cff.1940610f.0.156b2d8b244.N7a7c" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations" xmlns:env="http://www.bea.com/wli/config/env" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con:context/>
<con:actions>
<con1:assign varName="backupBodyME" xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config">
<con2:id>_ActionId-N3f579cff.1940610f.0.156b2d8b244.N7a7b</con2:id>
<con1:expr>
<con2:xqueryText>$body</con2:xqueryText>
</con1:expr>
</con1:assign>
</con:actions>
</con:stage>
</con:pipeline>
<con:flow>
<con:pipeline-node name="PipelinePairNode1">
<con:request>request-N3f579cff.1940610f.0.156b2d8b244.N7b16</con:request>
<con:response>response-N3f579cff.1940610f.0.156b2d8b244.N7b15</con:response>
</con:pipeline-node>
<con:pipeline-node name="ReadProtocolVBPipeline">
<con:request>request-N3f579cff.1940610f.0.156b2d8b244.N7a49</con:request>
<con:response>response-N3f579cff.1940610f.0.156b2d8b244.N7a48</con:response>
</con:pipeline-node>
</con:flow>
</con:router>
</con:pipelineEntry>

View File

@ -0,0 +1,33 @@
xquery version "1.0";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns0 = "http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc";
(:: import schema at "../../../../BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc.xsd" ::)
declare namespace ns2 = "http://Obi_Wan/EjecutaTRX";
declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr";
declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Status";
declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr";
declare namespace xf = "http://tempuri.org/MessageEnrichUtilMgmtSvc/operations/readProtocoloVB/xq/MessageEnrichUtilMgmtSvc_readProtocoloVB_InitResponse/";
declare function xf:MessageEnrichUtilMgmtSvc_readProtocoloVB_InitResponse($readProtocoloVB_Rq1 as element(ns0:readProtocoloVB_Rq))
as element(ns0:readProtocoloVB_Rs) {
<ns0:readProtocoloVB_Rs>
<ns0:MsgRsHdr>
{
for $RequestId in $readProtocoloVB_Rq1/ns0:MsgRqHdr/ns3:RequestId
return
<ns1:RequestId>{ data($RequestId) }</ns1:RequestId>
}
</ns0:MsgRsHdr>
<ns0:Status>
<ns4:StatusCode>OK</ns4:StatusCode>
</ns0:Status>
<ns2:EjecutaTRX>{ $readProtocoloVB_Rq1/ns2:EjecutaTRX/@* , $readProtocoloVB_Rq1/ns2:EjecutaTRX/node() }</ns2:EjecutaTRX>
</ns0:readProtocoloVB_Rs>
};
declare variable $readProtocoloVB_Rq1 as element(ns0:readProtocoloVB_Rq) external;
xf:MessageEnrichUtilMgmtSvc_readProtocoloVB_InitResponse($readProtocoloVB_Rq1)

View File

@ -0,0 +1,25 @@
xquery version "1.0";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns0 = "http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc";
(:: import schema at "../../../../BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc.xsd" ::)
declare namespace ns2 = "http://Obi_Wan/EjecutaTRX";
declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr";
declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/Status";
declare namespace xf = "http://tempuri.org/MessageEnrichUtilMgmtSvc/operations/readProtocoloVB/xq/MessageEnrichUtilMgmtSvc_readProtocoloVB_Response/";
declare function xf:MessageEnrichUtilMgmtSvc_readProtocoloVB_Response($readProtocoloVB_Rs1 as element(ns0:readProtocoloVB_Rs),
$VBProtocolRs as element(*))
as element(ns0:readProtocoloVB_Rs) {
<ns0:readProtocoloVB_Rs>
<ns2:EjecutaTRX>{ $readProtocoloVB_Rs1/ns2:EjecutaTRX/@* , $readProtocoloVB_Rs1/ns2:EjecutaTRX/node() }</ns2:EjecutaTRX>
</ns0:readProtocoloVB_Rs>
};
declare variable $readProtocoloVB_Rs1 as element(ns0:readProtocoloVB_Rs) external;
declare variable $VBProtocolRs as element(*) external;
xf:MessageEnrichUtilMgmtSvc_readProtocoloVB_Response($readProtocoloVB_Rs1,
$VBProtocolRs)

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.oracle.servicebus</groupId>
<artifactId>sbar-project-common</artifactId>
<version>12.2.1-5-0</version>
</parent>
<groupId>MessageEnrichUtilMgmtSvc</groupId>
<artifactId>MessageEnrichUtilMgmtSvc</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>sbar</packaging>
<description/>
</project>

View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:pipelineEntry xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:coreEntry>
<con:description>This pipeline implements utility functions for message enrichment for DVM and VB</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="MessageEnrichUtilMgmtSvc/wsdl/MessageEnrichUtilMgmtSvc"/>
<con:binding>
<con:name>MessageEnrichUtilMgmtSvcSOAP</con:name>
<con:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con:namespace>
</con:binding>
</con:binding>
<oper:operations xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations">
<oper:monitoring enabled="true" level="service" aggregationInterval="10"/>
</oper:operations>
<con:xqConfiguration>
<con:snippetVersion>1.0</con:snippetVersion>
</con:xqConfiguration>
</con:coreEntry>
<con:router>
<con:shared-variables>
<con:variable>backupHeaderME</con:variable>
<con:variable>backupBodyME</con:variable>
</con:shared-variables>
<con:template-overrides>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7c93">
<con1:dynamic-route xmlns:con1="http://www.bea.com/wli/sb/stages/routing/config">
<con1:service>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config"><![CDATA[<ctx:route>
<ctx:pipeline>{fn:concat("MessageEnrichUtilMgmtSvc/operations/",$operation,"/proxy/MessageEnrichUtilMgmtSvc_",$operation)}</ctx:pipeline>
<ctx:operation>{data($operation)}</ctx:operation>
</ctx:route>]]></con2:xqueryText>
</con1:service>
</con1:dynamic-route>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccd">
<con1:rename xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con1:namespace>
</con1:rename>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccc">
<con1:rename xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con1:namespace>
</con1:rename>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e49">
<con1:assign varName="backupHeaderME" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config"/>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e48">
<con1:assign varName="backupBodyME" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config"/>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cd0">
<con1:log xmlns:con1="http://www.bea.com/wli/sb/stages/logging/config">
<con1:logLevel>info</con1:logLevel>
<con1:expr>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config">fn:concat('[',fn:current-dateTime(),'][MessageID : ',$messageID,'][Global Error Handler][',fn:tokenize($inbound/@name,'\$')[last()],'/',$operation,'- message : ',$message,' - fault: ',fn-bea:serialize($fault),' - body : ',fn-bea:serialize($backupBodyME/*),'][Global Error Handler]')</con2:xqueryText>
</con1:expr>
</con1:log>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccf">
<con1:alert xmlns:con1="http://www.bea.com/wli/sb/stages/alert/config">
<con1:payload>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config">fn:concat('[',fn:current-dateTime(),'][MessageID : ',$messageID,'][Global Error Handler][',fn:tokenize($inbound/@name,'\$')[last()],'/',$operation,'- message : ',$message,' - fault: ',fn-bea:serialize($fault),' - body : ',fn-bea:serialize($backupBodyME/*),'][Global Error Handler]')</con2:xqueryText>
</con1:payload>
</con1:alert>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cce">
<con1:replace xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:expr>
<con2:xqueryTransform xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con2:resource ref="BanescoCommonArtifacts/xq/errorHandler/ProxyErrorHandler"/>
<con2:param name="inbound">
<con2:path>$inbound</con2:path>
</con2:param>
<con2:param name="fault">
<con2:path>$fault</con2:path>
</con2:param>
<con2:param name="backupBody">
<con2:path>$backupBodyME</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con:action-override>
</con:template-overrides>
</con:router>
<con:template ref="BanescoCommonArtifacts/common/templates/pipeline/canonicalServices/TemplatePipelineCanonicalApp"/>
</con:pipelineEntry>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<ser:proxyServiceEntry xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:con="http://www.bea.com/wli/sb/services/security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oper="http://xmlns.oracle.com/servicebus/proxy/operations" xmlns:tran="http://www.bea.com/wli/sb/transports">
<ser:coreEntry isAutoPublish="false">
<ser:security>
<con:inboundWss processWssHeader="true"/>
</ser:security>
<ser:binding type="SOAP" xsi:type="con:SoapBindingType" isSoap12="false" xmlns:con="http://www.bea.com/wli/sb/services/bindings/config">
<con:wsdl ref="MessageEnrichUtilMgmtSvc/wsdl/MessageEnrichUtilMgmtSvc"/>
<con:binding>
<con:name>MessageEnrichUtilMgmtSvcSOAP</con:name>
<con:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con:namespace>
</con:binding>
<con:selector type="SOAP body"/>
</ser:binding>
<oper:operations enabled="true">
<oper:monitoring enabled="true" aggregationInterval="10"/>
</oper:operations>
<ser:ws-policy>
<ser:binding-mode>no-policies</ser:binding-mode>
</ser:ws-policy>
<ser:invoke ref="MessageEnrichUtilMgmtSvc/proxy/MessageEnrichUtilMgmtSvc" xsi:type="con:PipelineRef" xmlns:con="http://www.bea.com/wli/sb/pipeline/config"/>
<ser:xqConfiguration>
<ser:snippetVersion>1.0</ser:snippetVersion>
</ser:xqConfiguration>
</ser:coreEntry>
<ser:endpointConfig>
<tran:provider-id>local</tran:provider-id>
<tran:inbound>true</tran:inbound>
<tran:inbound-properties/>
</ser:endpointConfig>
</ser:proxyServiceEntry>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://xmlns.oracle.com/sca/1.0" xmlns:ui="http://xmlns.oracle.com/soa/designer/" name="MessageEnrichUtilMgmtSvc" label="MessageEnrichUtilMgmtSvc" ui:displayName="MessageEnrichUtilMgmtSvc"/>

View File

@ -0,0 +1,50 @@
<wsdl:definitions name="MessageEnrichUtilMgmtSvc" targetNamespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc" schemaLocation="../../BanescoCommonArtifacts/xsd/utilities/MessageEnrichUtilMgmtSvc.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="readDVM_Rq">
<wsdl:part element="tns:readDVM_Rq" name="parameters"/>
</wsdl:message>
<wsdl:message name="readDVM_Rs">
<wsdl:part element="tns:readDVM_Rs" name="parameters"/>
</wsdl:message>
<wsdl:message name="readProtocoloVB_Rq">
<wsdl:part name="parameters" element="tns:readProtocoloVB_Rq"/>
</wsdl:message>
<wsdl:message name="readProtocoloVB_Rs">
<wsdl:part name="parameters" element="tns:readProtocoloVB_Rs"/>
</wsdl:message>
<wsdl:portType name="MessageEnrichUtilMgmtSvc">
<wsdl:operation name="readDVM">
<wsdl:input message="tns:readDVM_Rq"/>
<wsdl:output message="tns:readDVM_Rs"/>
</wsdl:operation>
<wsdl:operation name="readProtocoloVB">
<wsdl:input message="tns:readProtocoloVB_Rq"/>
<wsdl:output message="tns:readProtocoloVB_Rs"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MessageEnrichUtilMgmtSvcSOAP" type="tns:MessageEnrichUtilMgmtSvc">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="readDVM">
<soap:operation soapAction="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc/readDVM"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="readProtocoloVB">
<soap:operation soapAction="http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc/readProtocoloVB"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

19
pom.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>MessageEnrichUtilMgmtSvc</groupId>
<artifactId>MessageEnrichUtilMgmtSvc</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>System</module>
<module>MessageEnrichUtilMgmtSvc</module>
<module>ProtocoloVBMgmtSvc</module>
<module>BanescoCommonArtifacts</module>
</modules>
</project>