Initial Commit

This commit is contained in:
andres.albarran 2025-11-20 22:33:08 +01:00
parent cc98d525de
commit af8d192fb3
24 changed files with 1155 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
Pom.xml Normal file
View File

View File

@ -0,0 +1 @@
Este es el README de la carpeta 'SocketAdapterUtilMgmtSvc-Config'

View File

@ -0,0 +1 @@
Este es el README de la carpeta 'SocketAdapterUtilMgmtSvc-Document'

View File

@ -0,0 +1 @@
Este es el README de la carpeta 'SocketAdapterUtilMgmtSvc-testing'

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="SocketAdapterUtilMgmtSvc/SocketAdapterUtilMgmtSvc.jpr"/></hash>
<hash><url n="URL" path="SocketAdapterUtilParser/SocketAdapterUtilParser.jpr"/></hash>
</list>
<hash n="oracle.jdeveloper.deploy.dt.DeploymentProfiles">
<hash n="profileDefinitions">
<hash n="SocketAdapterUtilMgmtSvc">
<value n="profileClass" v="SbAppDeployProfile"/>
<value n="profileName" v="SocketAdapterUtilMgmtSvc"/>
</hash>
</hash>
<list n="profileList">
<string v="SocketAdapterUtilMgmtSvc"/>
</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_1763674127168"/>
</hash>
</jws:workspace>

View File

@ -0,0 +1,198 @@
<?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="socketadapterutilmgmtsvc"/>
<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"/>
<string v="XML_SCHEMA"/>
</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="SocketAdapterUtilMgmtSvc-SocketAdapterUtilMgmtSvc-webapp"/>
<value n="j2eeWebContextRoot" v="SocketAdapterUtilMgmtSvc-SocketAdapterUtilMgmtSvc-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,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:businessServiceEntry xmlns:con="http://xmlns.oracle.com/servicebus/business/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oper="http://xmlns.oracle.com/servicebus/business/operations" xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env">
<con:coreEntry>
<con:description>This business implements the JCA Socket connection for Default channel.</con:description>
<con1:binding type="SOAP" xsi:type="con:SoapBindingType" isSoap12="false" xmlns:con="http://www.bea.com/wli/sb/services/bindings/config" xmlns:con1="http://xmlns.oracle.com/servicebus/business/config">
<con:wsdl ref="SocketAdapterUtilMgmtSvc/jca/SocketAdapter/wsdl/SocketAdapter_default-concrete"/>
<con:binding>
<con:name>SocketReply_ptt-binding</con:name>
<con:namespace>http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService</con:namespace>
</con:binding>
</con1:binding>
<oper:operations enabled="true">
<oper:messageTracing enabled="true">
<oper1:detailsLevel xmlns:oper1="http://xmlns.oracle.com/servicebus/operations">full</oper1:detailsLevel>
<oper1:maxSize xmlns:oper1="http://xmlns.oracle.com/servicebus/operations">10000</oper1:maxSize>
</oper:messageTracing>
<oper:throttling enabled="true">
<oper:capacity>10</oper:capacity>
<oper:maxQueueLength>5000</oper:maxQueueLength>
<oper:timeToLive>30000</oper:timeToLive>
</oper:throttling>
<oper:monitoring enabled="true" aggregationInterval="10"/>
<oper:resultCachingEnabled>true</oper:resultCachingEnabled>
</oper:operations>
<con:ws-policy>
<ser:binding-mode>no-policies</ser:binding-mode>
</con:ws-policy>
<con:xqConfiguration>
<ser:snippetVersion>1.0</ser:snippetVersion>
</con:xqConfiguration>
</con:coreEntry>
<con:endpointConfig>
<tran:provider-id>jca</tran:provider-id>
<tran:inbound>false</tran:inbound>
<tran:URI weight="0">
<env:value>jca://eis/socket/default</env:value>
</tran:URI>
<tran:outbound-properties>
<tran:load-balancing-algorithm>round-robin</tran:load-balancing-algorithm>
<tran:retry-count>0</tran:retry-count>
<tran:retry-interval>30</tran:retry-interval>
<tran:retry-application-errors>false</tran:retry-application-errors>
</tran:outbound-properties>
<tran:provider-specific xsi:type="jca:JCAEndPointConfiguration" xmlns:ser="http://xmlns.oracle.com/servicebus/business/config" xmlns:svc="http://www.bea.com/wli/sb/services" xmlns:ops="http://xmlns.oracle.com/servicebus/business/operations" xmlns:jca="http://www.bea.com/wli/sb/transports/jca">
<jca:jca-file ref="SocketAdapterUtilMgmtSvc/jca/SocketAdapter/SocketAdapter_default"/>
<jca:adapter-name>SocketPrueba</jca:adapter-name>
<jca:adapter-type>SOCKET</jca:adapter-type>
<jca:always-use-wsdl>true</jca:always-use-wsdl>
<jca:connection-mode>managed</jca:connection-mode>
<jca:connection-property-username-password-overwrite>false</jca:connection-property-username-password-overwrite>
<jca:outbound-properties>
<jca:operation-properties>
<jca:operation-name>SocketReply</jca:operation-name>
<jca:spec-properties>
<jca:property>
<jca:name>Xslt</jca:name>
<jca:value>xsl/invokeSocket.xsl</jca:value>
</jca:property>
<jca:property>
<jca:name>TransMode</jca:name>
<jca:value>XSLT</jca:value>
</jca:property>
</jca:spec-properties>
</jca:operation-properties>
</jca:outbound-properties>
</tran:provider-specific>
</con:endpointConfig>
</con:businessServiceEntry>

View File

@ -0,0 +1,85 @@
<dvm name="JNDISocketAdapter" xmlns="http://xmlns.oracle.com/dvm">
<description>Definicion de los JNDI para cada servicio segun el canal</description>
<columns>
<column name="CHANNEL"/>
<column name="JNDI"/>
</columns>
<rows>
<row>
<cell>BanolAffiliationOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>IVRCreditCardOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>IVRCustomer360ViewOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>IVRCustomerOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>IVRFinancialAccountOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>IVRSecurityOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>SAMFAffiliationOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>SAMFFinancialAccountOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>SAMFPaymentOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>PortalAGSCustomer360ViewOutAppSvc</cell>
<cell>jca://eis/socket/PortalAGSCustomer360View</cell>
</row>
<row>
<cell>PortalAGSLegalCustomerOutAppSvc</cell>
<cell>jca://eis/socket/PortalAGSLegalCustomer</cell>
</row>
<row>
<cell>PortalAGSNaturalCustomerOutAppSvc</cell>
<cell>jca://eis/socket/PortalAGSNaturalCustomer</cell>
</row>
<row>
<cell>PortalPaymentRiskRatingOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>PortalPaymentFinancialAccountOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>ParserNaturalCustomerOutAppSvc</cell>
<cell>jca://eis/socket/ParserNaturalCustomer</cell>
</row>
<row>
<cell>APICustomer360ViewOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>APIFinancialAccountOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>APIRiskRatingOutAppSvc</cell>
<cell>jca://eis/socket/Generic</cell>
</row>
<row>
<cell>TesoreriaOutAppSvc</cell>
<cell>jca://eis/socket/Tesoreria</cell>
</row>
</rows>
</dvm>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by Oracle DVM Editor version 1.0 at [2/2/17 8:35 PM]. -->
<dvm name="JNDISocketAdapterBNET" xmlns="http://xmlns.oracle.com/dvm">
<description>Permite las conexiones por el canal BNET</description>
<columns>
<column name="CHANNEL"/>
<column name="JNDI"/>
</columns>
<rows>
<row>
<cell>0802</cell>
<cell>jca://eis/socket/BNET/Financial</cell>
</row>
<row>
<cell>7194</cell>
<cell>jca://eis/socket/BNET/Financial</cell>
</row>
<row>
<cell>8760</cell>
<cell>jca://eis/socket/BNET/Movements</cell>
</row>
<row>
<cell>8714</cell>
<cell>jca://eis/socket/BNET/Movements</cell>
</row>
<row>
<cell>6768</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>6122</cell>
<cell>jca://eis/socket/BNET/Financial</cell>
</row>
<row>
<cell>8741</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>6255</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>8428</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>0003</cell>
<cell>jca://eis/socket/BNET/Movements</cell>
</row>
<row>
<cell>7721</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>7723</cell>
<cell>jca://eis/socket/BNET/Generic</cell>
</row>
<row>
<cell>6133</cell>
<cell>jca://eis/socket/BNET/Movements</cell>
</row>
<row>
<cell>8797</cell>
<cell>jca://eis/socket/BNET/Movements</cell>
</row>
</rows>
</dvm>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by Oracle DVM Editor version 1.0 at [31/05/17 02:02 PM]. -->
<dvm name="JNDISocketAdapterCRMTT" xmlns="http://xmlns.oracle.com/dvm">
<description>Permite las conexiones por el canal CRMTT</description>
<columns>
<column name="CHANNEL"/>
<column name="JNDI"/>
</columns>
<rows>
<row>
<cell>6333</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>6348</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>0704</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>7805</cell>
<cell>jca://eis/socket/CRMTT/Transactions</cell>
</row>
<row>
<cell>6363</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>6659</cell>
<cell>jca://eis/socket/CRMTT/Generic</cell>
</row>
<row>
<cell>6646</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>6661</cell>
<cell>jca://eis/socket/CRMTT/Generic</cell>
</row>
<row>
<cell>6873</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>6658</cell>
<cell>jca://eis/socket/CRMTT/Financial</cell>
</row>
<row>
<cell>6674</cell>
<cell>jca://eis/socket/CRMTT/Generic</cell>
</row>
<row>
<cell>7126</cell>
<cell>jca://eis/socket/CRMTT/Generic</cell>
</row>
</rows>
</dvm>

View File

@ -0,0 +1,10 @@
<adapter-config name="SocketPrueba" adapter="socket" wsdlLocation="wsdl/SocketAdapter.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/socket/default"/>
<endpoint-interaction portType="SocketReply_ptt" operation="SocketReply" UITransmissionPrimitive="OutboundRequestReply">
<interaction-spec className="oracle.tip.adapter.socket.SocketInteractionSpec">
<property name="Xslt" value="xsl/invokeSocket.xsl"/>
<property name="Encoding" value="ISO-8859-15"/>
<property name="TransMode" value="XSLT"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>

View File

@ -0,0 +1,31 @@
<wsdl:definitions name="ParserAS400" targetNamespace="http://xmlns.oracle.com/ParserAS400/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/ParserAS400/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema>
<xsd:import namespace="http://xmlns.oracle.com/ParserAS400/" schemaLocation="../xsd/ParserAS400.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ParserAS400Process">
<wsdl:part element="tns:ParserAS400Process" name="parameters"/>
</wsdl:message>
<wsdl:message name="ParserAS400ProcessResponse">
<wsdl:part element="tns:ParserAS400ProcessResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="ParserAS400">
<wsdl:operation name="ParserAS400Process">
<wsdl:input message="tns:ParserAS400Process"/>
<wsdl:output message="tns:ParserAS400ProcessResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ParserAS400SOAP" type="tns:ParserAS400">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ParserAS400Process">
<soap:operation soapAction="http://xmlns.oracle.com/ParserAS400/ParserAS400Process"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,24 @@
<wsdl:definitions name="SocketPrueba" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService" xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:msg_request_reply="http://xmlns.oracle.com/ParserAS400/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<plt:partnerLinkType name="SocketReply_plt">
<plt:role name="SocketReply_role">
<plt:portType name="tns:SocketReply_ptt"/>
</plt:role>
</plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/ParserAS400/" schemaLocation="../xsd/ParserAS400.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="ParserAS400Process_msg_requsest">
<wsdl:part name="ParserAS400Process" element="msg_request_reply:ParserAS400Process"/>
</wsdl:message>
<wsdl:message name="ParserAS400ProcessResponse_msg_reply">
<wsdl:part name="ParserAS400ProcessResponse" element="msg_request_reply:ParserAS400ProcessResponse"/>
</wsdl:message>
<wsdl:portType name="SocketReply_ptt">
<wsdl:operation name="SocketReply">
<wsdl:input message="tns:ParserAS400Process_msg_requsest"/>
<wsdl:output message="tns:ParserAS400ProcessResponse_msg_reply"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,15 @@
<wsdl:definitions targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService" name="SocketAdapter_default-concrete" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import location="SocketAdapter.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService"/>
<wsdl:binding name="SocketReply_ptt-binding" type="soc:SocketReply_ptt" xmlns:soc="http://xmlns.oracle.com/pcbpel/adapter/socket/SocketService">
<soap:binding style="document" transport="http://www.bea.com/wli/sb/transports/jca"/>
<wsdl:operation name="SocketReply">
<soap:operation soapAction="SocketReply"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.oracle.com/ParserAS400/">
<xsd:element name="ParserAS400Process">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="input" type="xsd:anyType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ParserAS400ProcessResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="xsd:anyType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

View File

@ -0,0 +1,26 @@
<xsl:stylesheet version="1.0" exclude-result-prefixes=" xsd oracle-xsl-mapper xsi xsl ns0 UUIDUserFunction IsUserInGroupFunction oraext IsUserInRoleFunction xp20 DVMFunctions oraxsl RuntimeTypeConversionFunctions XrefFunctions BasicCredentialsUserFunction" xmlns:UUIDUserFunction="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.stages.functions.UUIDUserFunction" xmlns:IsUserInGroupFunction="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.stages.functions.IsUserInGroupFunction" xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:IsUserInRoleFunction="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.stages.functions.IsUserInRoleFunction" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:DVMFunctions="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:oracle-xsl-mapper="http://www.oracle.com/xsl/mapper/schemas" xmlns:ns0="http://xmlns.oracle.com/ParserAS400/" xmlns:oraxsl="http://www.oracle.com/XSL/Transform/java" xmlns:RuntimeTypeConversionFunctions="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.stages.functions.RuntimeTypeConversionFunctions" xmlns:XrefFunctions="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.functions.xref.XrefFunctions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:BasicCredentialsUserFunction="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.stages.functions.BasicCredentialsUserFunction">
<oracle-xsl-mapper:schema>
<!--SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY.-->
<oracle-xsl-mapper:mapSources>
<oracle-xsl-mapper:source type="XSD">
<oracle-xsl-mapper:schema location="../xsd/ParserAS400.xsd"/>
<oracle-xsl-mapper:rootElement name="ParserAS400Process" namespace="http://xmlns.oracle.com/ParserAS400/"/>
</oracle-xsl-mapper:source>
</oracle-xsl-mapper:mapSources>
<oracle-xsl-mapper:mapTargets>
<oracle-xsl-mapper:target type="XSD">
<oracle-xsl-mapper:schema location="../xsd/ParserAS400.xsd"/>
<oracle-xsl-mapper:rootElement name="ParserAS400ProcessResponse" namespace="http://xmlns.oracle.com/ParserAS400/"/>
</oracle-xsl-mapper:target>
</oracle-xsl-mapper:mapTargets>
<!--GENERATED BY ORACLE XSL MAPPER 12.2.1.0.0(XSLT Build 151013.0700.0085) AT [MON SEP 05 16:01:34 COT 2016].-->
</oracle-xsl-mapper:schema>
<!--User Editing allowed BELOW this line - DO NOT DELETE THIS LINE-->
<xsl:template match="/" xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator">
<xsl:variable name="temp" select="/ns0:ParserAS400Process/input"/>
<xsl:variable name="var1" select="socket:socketWrite($temp, '','')"/>
<ns0:ParserAS400ProcessResponse>
<result><xsl:copy-of select="socket:socketRead('terminated', 'terminatedBy=&lt;/soap:Envelope>')"/>&lt;/soap:Envelope></result>
</ns0:ParserAS400ProcessResponse>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,226 @@
<?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/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
<con:coreEntry>
<con:description>This pipeline implements CallVBAny method.</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="BanescoCommonArtifacts/wsdl/infrastructureApplications/VBAny"/>
<con:binding>
<con:name>SocketServicePortBinding</con:name>
<con:namespace>http://Obi_Wan/EjecutaTRX</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 errorHandler="error-N3f57c7ff.2208e8ab.0.1566fe4977d.N7fb7">
<con:pipeline name="response-N3f57c7ff.2208e8ab.0.1566fe4977d.N7eee" type="response">
<con:stage name="ValidationAdapterResponse" id="_StageId-a7c046f.3ad80125.0.1570d46ced1.N7ffc">
<con:context>
<con2:userNsDecl prefix="adapter" namespace="http://xmlns.oracle.com/ParserAS400/"/>
<con2:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con1:validate>
<con2:id>_ActionId-N3f579cff.35c5fd5c.0.1570a5e64da.N7ffe</con2:id>
<con1:schema ref="SocketAdapterUtilMgmtSvc/jca/SocketAdapter/xsd/ParserAS400"/>
<con1:schemaElement xmlns:par="http://xmlns.oracle.com/ParserAS400/">par:ParserAS400ProcessResponse</con1:schemaElement>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./adapter:ParserAS400ProcessResponse</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
<con:stage id="_StageId-a7c046f.74e83420.0.1570d1a1cdb.N8000" name="TransformationToApplication">
<con:context>
<con2:userNsDecl prefix="adapter" namespace="http://xmlns.oracle.com/ParserAS400/"/>
<con2:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con1:replace varName="body" contents-only="true">
<con2:id>_ActionId-a7c046f.3ad80125.0.1570d46ced1.N7ffe</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryText>fn-bea:inlinedXML($body/adapter:ParserAS400ProcessResponse/result/text())/soap-env:Envelope/soap-env:Body/ejec:EjecutaTRXResponse</con2:xqueryText>
</con1:expr>
</con1:replace>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline name="error-N3f57c7ff.2208e8ab.0.1566fe4977d.N7fb7" type="error">
<con:stage name="ErrorGlobalHandler">
<con:context/>
<con:actions>
<con1:assign varName="message">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f2c</con2:id>
<con1:expr>
<con2:xqueryText>'Node: NOT-DEFINED Stage: NOT-DEFINED'</con2:xqueryText>
</con1:expr>
</con1:assign>
<con1:ifThenElse>
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f2b</con2:id>
<con1:case id="_BranchId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f2a">
<con1:condition>
<con2:xqueryText>exists($fault/ctx:location)</con2:xqueryText>
</con1:condition>
<con1:actions>
<con1:replace varName="message">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f29</con2:id>
<con1:expr>
<con2:xqueryText>concat("Node: ", data($fault/ctx:location/ctx:node), " Stage: ",data($fault/ctx:location/ctx:stage))</con2:xqueryText>
</con1:expr>
</con1:replace>
</con1:actions>
</con1:case>
</con1:ifThenElse>
<con3:log xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f28</con2:id>
<con3:logLevel>error</con3:logLevel>
<con3:expr>
<con2:xqueryText>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($backupBody/*),'][Global Error Handler]')</con2:xqueryText>
</con3:expr>
<con3:message>Global Error</con3:message>
</con3:log>
<con4:alert xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f27</con2:id>
<con4:destination ref="BanescoCommonArtifacts/alert/ErrorComunicacionAlert"/>
<con4:description>Banesco: Oracle Service Bus Error</con4:description>
<con4:severity>fatal</con4:severity>
<con4:payload>
<con2:xqueryText>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($backupBody/*),'][Global Error Handler]')</con2:xqueryText>
</con4:payload>
</con4:alert>
<con1:replace varName="body" contents-only="true" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f26</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="SocketAdapterUtilMgmtSvc/xq/SocketAdapterUtilMgmtSvc_ErrorToApplication"/>
<con2:param name="inbound">
<con2:path>$inbound</con2:path>
</con2:param>
<con2:param name="fault">
<con2:path>$fault</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
<con2:reply isError="false" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f57c7ff.2208e8ab.0.1566fe4977d.N7f22</con2:id>
</con2:reply>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline name="request-N3f57c7ff.2208e8ab.0.1566fe4977d.N7eef" type="request">
<con:stage id="_StageId-a7c0476.6efecabb.0.15a8fddb462.N7fcb" name="LookupJNDIToAdapter">
<con:context/>
<con:actions>
<con1:assign varName="serviceName">
<con2:id>_ActionId-a7c0476.6efecabb.0.15a8fddb462.N7fca</con2:id>
<con1:expr>
<con2:xqueryText>let $uriProxy := fn:tokenize($proxyName, '\$')
return
$uriProxy[2]</con2:xqueryText>
</con1:expr>
</con1:assign>
<con1:assign varName="urlJNDI">
<con2:id>_ActionId-a96189c.N63b4b16e.0.15e9ac0f352.N7ff6</con2:id>
<con1:expr>
<con2:xqueryText>dvm:lookup('SocketAdapterUtilMgmtSvc/dvm/JNDISocketAdapter', 'CHANNEL', $serviceName, 'JNDI', 'jca://eis/socket/default')</con2:xqueryText>
</con1:expr>
</con1:assign>
</con:actions>
</con:stage>
<con:stage id="_StageId-N56015f30.7f264938.0.15a951a94ef.N7ff9" name="Debug Variables JNDI">
<con:context/>
<con:disabled>true</con:disabled>
<con:actions>
<con4:log>
<con2:id>_ActionId-N56015f30.7f264938.0.15a951a94ef.N7ff8</con2:id>
<con4:logLevel>error</con4:logLevel>
<con4:expr>
<con2:xqueryText>fn:concat('urlJNDI: ', $urlJNDI, ' - serviceName: ', $serviceName)</con2:xqueryText>
</con4:expr>
<con4:message>VARIABLES JNDI</con4:message>
</con4:log>
</con:actions>
</con:stage>
<con:stage id="_StageId-a7c0466.48e6c3c.0.1570be1443d.N7f95" name="TransformationToAdapter">
<con:context>
<con2:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con1:replace varName="body" contents-only="true">
<con2:id>_ActionId-a7c0466.48e6c3c.0.1570be1443d.N7f92</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="SocketAdapterUtilMgmtSvc/operations/CallVBAny/xq/SocketAdapterUtilMgmtSvc_CallVBAny_UtilToAdapter"/>
<con2:param name="request">
<con2:path>$body/ejec:EjecutaTRX</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con:actions>
</con:stage>
<con:stage name="ValidationAdapterRequest" id="_StageId-a7c046f.3ad80125.0.1570d46ced1.N7ffa">
<con:context>
<con2:userNsDecl prefix="adapter" namespace="http://xmlns.oracle.com/ParserAS400/"/>
<con2:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con1:validate>
<con2:id>_ActionId-N3f579cff.N49999f53.0.1570a3dfaf7.N7fb3</con2:id>
<con1:schema ref="SocketAdapterUtilMgmtSvc/jca/SocketAdapter/xsd/ParserAS400"/>
<con1:schemaElement xmlns:par="http://xmlns.oracle.com/ParserAS400/">par:ParserAS400Process</con1:schemaElement>
<con1:varName>body</con1:varName>
<con1:location>
<con2:xpathText>./adapter:ParserAS400Process</con2:xpathText>
</con1:location>
</con1:validate>
</con:actions>
</con:stage>
</con:pipeline>
<con:flow>
<con:pipeline-node name="MgmtSvcPipeline">
<con:request>request-N3f57c7ff.2208e8ab.0.1566fe4977d.N7eef</con:request>
<con:response>response-N3f57c7ff.2208e8ab.0.1566fe4977d.N7eee</con:response>
</con:pipeline-node>
<con:route-node name="SocketAdapterBz">
<con:context/>
<con:actions>
<con3:route>
<con2:id>_ActionId-a7c0466.48e6c3c.0.1570be1443d.N7f99</con2:id>
<con3:service ref="SocketAdapterUtilMgmtSvc/business/SocketAdapter_default" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con3:operation>SocketReply</con3:operation>
<con3:outboundTransform>
<con1:routing-options>
<con2:id>_ActionId-a7c0466.48e6c3c.0.1570be1443d.N7f96</con2:id>
<con1:uriExpr>
<con2:xqueryText>$urlJNDI</con2:xqueryText>
</con1:uriExpr>
</con1:routing-options>
</con3:outboundTransform>
<con3:responseTransform/>
</con3:route>
</con:actions>
</con:route-node>
</con:flow>
<con:shared-variables>
<con:variable>proxyNameInt</con:variable>
<con:variable>proxyName</con:variable>
</con:shared-variables>
</con:router>
<aler:alertRules xsi:nil="true" xmlns:aler="http://xmlns.oracle.com/servicebus/monitoring/alert"/>
</con:pipelineEntry>

View File

@ -0,0 +1,31 @@
xquery version "1.0" encoding "utf-8";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns2="http://Obi_Wan/EjecutaTRX";
(:: import schema at "../../../../BanescoCommonArtifacts/xsd/infrastructureApplications/VBAny.xsd" ::)
declare namespace ns1="http://xmlns.oracle.com/ParserAS400/";
(:: import schema at "../../../jca/SocketAdapter/xsd/ParserAS400.xsd" ::)
declare namespace xf = "http://tempuri.org/SocketAdapterUtilMgmtSvc/operations/CallVBAny/xq/SocketAdapterUtilMgmtSvc_CallVBAny_UtilToAdapter/";
import module namespace xqu="http://xmlns.banesco.com/xquey-functions" at "../../../../BanescoCommonArtifacts/xq/libraries/xmlUtil.xqy";
declare variable $request as element() (:: schema-element(ns2:EjecutaTRX) ::) external;
declare function xf:SocketAdapterUtilMgmtSvc_CallVBAny_UtilToAdapter($request as element() (:: schema-element(ns2:EjecutaTRX) ::)) as element() (:: schema-element(ns1:ParserAS400Process) ::) {
<ns1:ParserAS400Process>
<input>
&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;soap:Body&gt;
{
fn-bea:serialize(xqu:add-attributes(xqu:change-element-ns-deep($request, '',''), xs:QName('ns'),'http://Obi_Wan/EjecutaTRX'))
}
&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
</input>
</ns1:ParserAS400Process>
};
xf:SocketAdapterUtilMgmtSvc_CallVBAny_UtilToAdapter($request)

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>SocketAdapterUtilMgmtSvc</groupId>
<artifactId>SocketAdapterUtilMgmtSvc</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>sbar</packaging>
<description/>
</project>

View File

@ -0,0 +1,137 @@
<?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/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config">
<con:coreEntry>
<con:description>This pipeline implements the following methods:
1.- CallVBAny</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="BanescoCommonArtifacts/wsdl/infrastructureApplications/VBAny"/>
<con:binding>
<con:name>SocketServicePortBinding</con:name>
<con:namespace>http://Obi_Wan/EjecutaTRX</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 errorHandler="error-N3f5776ff.4607c340.0.1566c1d8b70.N7eec">
<con:pipeline name="error-N3f5776ff.4607c340.0.1566c1d8b70.N7eec" type="error">
<con:stage name="ErrorGlobalHandler">
<con:context xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config"/>
<con:actions>
<con1:assign varName="message" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cd1</con2:id>
<con1:expr>
<con2:xqueryText>concat("Node: ", data($fault/ctx:location/ctx:node), " Stage: ",data($fault/ctx:location/ctx:stage))</con2:xqueryText>
</con1:expr>
</con1:assign>
<con3:log xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cd0</con2:id>
<con3:logLevel>error</con3:logLevel>
<con3:expr>
<con2:xqueryText>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($backupBody/*),'][Global Error Handler]')</con2:xqueryText>
</con3:expr>
<con3:message>Global Error</con3:message>
</con3:log>
<con4:alert xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccf</con2:id>
<con4:destination ref="BanescoCommonArtifacts/alert/ErrorComunicacionAlert"/>
<con4:description>Banesco: Oracle Service Bus Error</con4:description>
<con4:severity>fatal</con4:severity>
<con4:payload>
<con2:xqueryText>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($backupBody/*),'][Global Error Handler]')</con2:xqueryText>
</con4:payload>
</con4:alert>
<con1:replace varName="body" contents-only="true" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cce</con2:id>
<con1:location>
<con2:xpathText>.</con2:xpathText>
</con1:location>
<con1:expr>
<con2:xqueryTransform>
<con2:resource ref="SocketAdapterUtilMgmtSvc/xq/SocketAdapterUtilMgmtSvc_ErrorToApplication"/>
<con2:param name="inbound">
<con2:path>$inbound</con2:path>
</con2:param>
<con2:param name="fault">
<con2:path>$fault</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
<con2:reply isError="true" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cca</con2:id>
</con2:reply>
</con:actions>
</con:stage>
</con:pipeline>
<con:pipeline name="response-N3f5776ff.4607c340.0.1566c1d8b70.N7e47" type="response"/>
<con:pipeline name="request-N3f5776ff.4607c340.0.1566c1d8b70.N7e4b" type="request">
<con:stage name="BakcupRequest">
<con:context xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config"/>
<con:actions>
<con1:assign varName="backupHeader" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e49</con2:id>
<con1:expr>
<con2:xqueryText>$header</con2:xqueryText>
</con1:expr>
</con1:assign>
<con1:assign varName="backupBody" xmlns:con4="http://www.bea.com/wli/sb/stages/alert/config" xmlns:con5="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con3="http://www.bea.com/wli/sb/stages/logging/config">
<con2:id>_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e48</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="InitPipeline">
<con:request>request-N3f5776ff.4607c340.0.1566c1d8b70.N7e4b</con:request>
<con:response>response-N3f5776ff.4607c340.0.1566c1d8b70.N7e47</con:response>
</con:pipeline-node>
<con:route-node name="MgmtSvcRoute">
<con:context xmlns:con1="http://www.bea.com/wli/sb/stages/routing/config">
<con2:userNsDecl prefix="ejec" namespace="http://Obi_Wan/EjecutaTRX"/>
</con:context>
<con:actions>
<con1:ifThenElse>
<con2:id>_ActionId-a954aaf.671fff6.0.1992f62f267.N7f96</con2:id>
<con1:case id="_BranchId-a954aaf.671fff6.0.1992f62f267.N7f95">
<con1:condition>
<con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">dvm:lookup('SocketAdapterUtilParser/dvm/MigrationParserVBs','CODTRN',$body/ejec:EjecutaTRX/ejec:TRXS/ejec:ListaTrxs/ejec:TRX/@CODTRN ,'STATUS',dvm:lookup('SocketAdapterUtilParser/dvm/ControllerParser','SVC','PARSER_VBS','STATUS',''))
=
dvm:lookup('SocketAdapterUtilParser/dvm/ControllerParser','SVC','PARSER_OSB','STATUS','DPO')</con:xqueryText>
</con1:condition>
<con1:actions>
<con3:route>
<con2:id>_ActionId-a954aaf.671fff6.0.1992f62f267.N7f92</con2:id>
<con3:service ref="SocketAdapterUtilParser/proxy/SocketAdapterUtilParser" xsi:type="ref:ProxyRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con3:operation>CallVBAny</con3:operation>
<con3:outboundTransform/>
<con3:responseTransform/>
</con3:route>
</con1:actions>
</con1:case>
<con1:default>
<con3:dynamic-route>
<con2:id>_ActionId-a954aaf.671fff6.0.1992f62f267.N7f8f</con2:id>
<con3:service>
<con2:xqueryText><![CDATA[<ctx:route>
<ctx:pipeline>{fn:concat("SocketAdapterUtilMgmtSvc/operations/",$operation,"/proxy/SocketAdapterUtilMgmtSvc_",$operation)}</ctx:pipeline>
<ctx:operation>{data($operation)}</ctx:operation>
</ctx:route>]]></con2:xqueryText>
</con3:service>
<con3:outboundTransform/>
<con3:responseTransform/>
</con3:dynamic-route>
</con1:default>
</con1:ifThenElse>
</con:actions>
</con:route-node>
</con:flow>
</con:router>
</con:pipelineEntry>

View File

@ -0,0 +1,36 @@
<?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="BanescoCommonArtifacts/wsdl/infrastructureApplications/VBAny"/>
<con:binding>
<con:name>SocketServicePortBinding</con:name>
<con:namespace>http://Obi_Wan/EjecutaTRX</con:namespace>
</con:binding>
<con:selector type="SOAP body"/>
</ser:binding>
<oper:operations enabled="true">
<oper:messageTracing enabled="true">
<oper1:detailsLevel xmlns:oper1="http://xmlns.oracle.com/servicebus/operations">full</oper1:detailsLevel>
<oper1:maxSize xmlns:oper1="http://xmlns.oracle.com/servicebus/operations">20000</oper1:maxSize>
</oper:messageTracing>
<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="SocketAdapterUtilMgmtSvc/proxy/SocketAdapterUtilMgmtSvc" 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/>
<tran:all-headers>true</tran:all-headers>
</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="SocketAdapterUtilMgmtSvc" label="SocketAdapterUtilMgmtSvc" ui:displayName="SocketAdapterUtilMgmtSvc"/>

View File

@ -0,0 +1,32 @@
xquery version "1.0" encoding "utf-8";
(:: OracleAnnotationVersion "1.0" ::)
declare namespace ns1="http://Obi_Wan/EjecutaTRX";
(:: import schema at "../../BanescoCommonArtifacts/xsd/infrastructureApplications/VBAny.xsd" ::)
declare namespace xf="http://tempuri.org/SocketAdapterUtilMgmtSvc/xq/SocketAdapterUtilMgmtSvc_ErrorToApplication/";
declare namespace con = "http://www.bea.com/wli/sb/context";
declare variable $fault as element()* external;
declare variable $inbound as element()* external;
declare function xf:SocketAdapterUtilMgmtSvc_ErrorToApplication($fault as element()*,
$inbound as element()*)
as element() (:: schema-element(ns1:EjecutaTRXResponse) ::) {
<ns1:EjecutaTRXResponse>
<ns1:EjecutaTRXResult>
<ns1:TRXSResults>
<ns1:Respuestas CODTRN="" CODSUP="" TIPOPER="" TIPTRN="" CONTRN="" DSCREG="" NOCDTOSAL="1">
<ns1:Respuesta NUMREG="9998">
<ns1:MSJERR>{fn:substring-before($fault, ',')}</ns1:MSJERR>
<ns1:STACOD>{fn:data($fault/con:errorCode)}</ns1:STACOD>
<ns1:NUMLIN>00000000</ns1:NUMLIN>
<ns1:NOMPRG>{data($inbound/con:service/con:operation)}</ns1:NOMPRG>
</ns1:Respuesta>
</ns1:Respuestas>
</ns1:TRXSResults>
</ns1:EjecutaTRXResult>
</ns1:EjecutaTRXResponse>
};
xf:SocketAdapterUtilMgmtSvc_ErrorToApplication($fault, $inbound)