From 79f2881bd76e3d5bfa5d0c0d024cc38da5c20d9c Mon Sep 17 00:00:00 2001 From: "andres.albarran" Date: Mon, 1 Dec 2025 22:21:10 +0100 Subject: [PATCH] Initial Commit --- .gitignore | 21 + .../README.txt | 1 + .../README.txt | 1 + ...aturalCustomerOutAppSvc-soapui-project.xml | 3585 +++++++++++++++++ .../README.txt | 1 + PortalAGSNaturalCustomerOutAppSvc.jws | 51 + .../PortalAGSNaturalCustomerOutAppSvc.jpr | 198 + ...lCustomerOutAppSvc_createCustomer.pipeline | 130 + ...ppSvc_createCustomer_CanonicalToOutput.xqy | 238 ++ ...ppSvc_createCustomer_OutputToCanonical.xqy | 280 ++ ...aturalCustomerOutAppSvc_createCustomer.xsd | 121 + ...AppSvc_createCustomerRelationship.pipeline | 126 + ...CustomerRelationship_CanonicalToOutput.xqy | 245 ++ ...CustomerRelationship_OutputToCanonical.xqy | 425 ++ ...erOutAppSvc_createCustomerRelationship.xsd | 171 + ...AppSvc_deleteCustomerRelationship.pipeline | 126 + ...CustomerRelationship_CanonicalToOutput.xqy | 194 + ...CustomerRelationship_OutputToCanonical.xqy | 362 ++ ...erOutAppSvc_deleteCustomerRelationship.xsd | 131 + ...merOutAppSvc_deleteEmploymentData.pipeline | 126 + ...deleteEmploymentData_CanonicalToOutput.xqy | 244 ++ ...deleteEmploymentData_OutputToCanonical.xqy | 303 ++ ...CustomerOutAppSvc_deleteEmploymentData.xsd | 113 + ...ustomerOutAppSvc_readCustomerData.pipeline | 126 + ...Svc_readCustomerData_CanonicalToOutput.xqy | 940 +++++ ...Svc_readCustomerData_OutputToCanonical.xqy | 198 + ...uralCustomerOutAppSvc_readCustomerData.xsd | 347 ++ ...erOutAppSvc_readCustomerInterview.pipeline | 127 + ...eadCustomerInterview_CanonicalToOutput.xqy | 368 ++ ...eadCustomerInterview_OutputToCanonical.xqy | 169 + ...ustomerOutAppSvc_readCustomerInterview.xsd | 111 + ...utAppSvc_readCustomerRelationship.pipeline | 126 + ...CustomerRelationship_CanonicalToOutput.xqy | 506 +++ ...CustomerRelationship_OutputToCanonical.xqy | 309 ++ ...omerOutAppSvc_readCustomerRelationship.xsd | 186 + ...tomerOutAppSvc_updateCustomerData.pipeline | 128 + ...c_updateCustomerData_CanonicalToOutput.xqy | 224 + ...c_updateCustomerData_OutputToCanonical.xqy | 920 +++++ ...alCustomerOutAppSvc_updateCustomerData.xsd | 277 ++ ...OutAppSvc_updateCustomerInterview.pipeline | 127 + ...ateCustomerInterview_CanonicalToOutput.xqy | 386 ++ ...ateCustomerInterview_OutputToCanonical.xqy | 504 +++ ...tomerOutAppSvc_updateCustomerInterview.xsd | 317 ++ ...AppSvc_updateCustomerRelationship.pipeline | 126 + ...CustomerRelationship_CanonicalToOutput.xqy | 240 ++ ...CustomerRelationship_OutputToCanonical.xqy | 424 ++ ...erOutAppSvc_updateCustomerRelationship.xsd | 171 + PortalAGSNaturalCustomerOutAppSvc/pom.xml | 20 + ...PortalAGSNaturalCustomerOutAppSvc.pipeline | 43 + .../PortalAGSNaturalCustomerOutAppSvc.proxy | 44 + .../servicebus.sboverview | 2 + .../PortalAGSNaturalCustomerOutAppSvc.wsdl | 229 ++ pom.xml | 19 + 53 files changed, 14907 insertions(+) create mode 100644 .gitignore create mode 100644 PortalAGSNaturalCustomerOutAppSvc-Config/README.txt create mode 100644 PortalAGSNaturalCustomerOutAppSvc-Document/README.txt create mode 100644 PortalAGSNaturalCustomerOutAppSvc-Testing/PortalAGSNaturalCustomerOutAppSvc-soapui-project.xml create mode 100644 PortalAGSNaturalCustomerOutAppSvc-Testing/README.txt create mode 100644 PortalAGSNaturalCustomerOutAppSvc.jws create mode 100644 PortalAGSNaturalCustomerOutAppSvc/PortalAGSNaturalCustomerOutAppSvc.jpr create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomer.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical.xqy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd create mode 100644 PortalAGSNaturalCustomerOutAppSvc/pom.xml create mode 100644 PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.pipeline create mode 100644 PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.proxy create mode 100644 PortalAGSNaturalCustomerOutAppSvc/servicebus.sboverview create mode 100644 PortalAGSNaturalCustomerOutAppSvc/wsdl/PortalAGSNaturalCustomerOutAppSvc.wsdl create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8eaa62d --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# ---> TortoiseGit +# Project-level settings +/.tgitconfig + +# Archivos temporales +*.tmp +*.bak +*.swp +*.log + +# Archivos de integración continua +/.settings/ +/.project +/.classpath +/.factorypath + +# Carpetas +.data/ +.git/ +System/ + diff --git a/PortalAGSNaturalCustomerOutAppSvc-Config/README.txt b/PortalAGSNaturalCustomerOutAppSvc-Config/README.txt new file mode 100644 index 0000000..ec710ce --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc-Config/README.txt @@ -0,0 +1 @@ +## Fichero de configuración ## \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc-Document/README.txt b/PortalAGSNaturalCustomerOutAppSvc-Document/README.txt new file mode 100644 index 0000000..e802d2d --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc-Document/README.txt @@ -0,0 +1 @@ +## Documentación de servicio ## \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc-Testing/PortalAGSNaturalCustomerOutAppSvc-soapui-project.xml b/PortalAGSNaturalCustomerOutAppSvc-Testing/PortalAGSNaturalCustomerOutAppSvc-soapui-project.xml new file mode 100644 index 0000000..4bcf803 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc-Testing/PortalAGSNaturalCustomerOutAppSvc-soapui-project.xml @@ -0,0 +1,3585 @@ + +http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?wsdl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OSB Service + + + + +]]>http://schemas.xmlsoap.org/wsdl/http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FreadCustomerData%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_readCustomerData + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FBanescoCommonArtifacts%2Fxsd%2Fcanonical%2FEntitys%2FMsgRqHdr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Use this instead of 'dateTime' type + + + + + + Use this instead of 'date' type + + + + + + Use this instead of 'time' type + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FBanescoCommonArtifacts%2Fxsd%2Fcanonical%2FEntitys%2FRegExp + + + Expresiones Regulares para manejo de campos tipo dateTime. Se debe usar el tipo dateTimePattern que contempla los diferentes patrones para un campo tipo dateTime + + + + + + + + Expresiones Regulares para manejo de campos tipo date + + + + + + + + Expresiones Regulares para manejo de campos tipo time + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FBanescoCommonArtifacts%2Fxsd%2Fcanonical%2FEntitys%2FMsgRsHdr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Use this instead of 'dateTime' type + + + + + + Use this instead of 'date' type + + + + + + Use this instead of 'time' type + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FBanescoCommonArtifacts%2Fxsd%2Fcanonical%2FEntitys%2FStatus + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FreadCustomerRelationship%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FupdateCustomerData%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_updateCustomerData + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expresiones Regulares para manejo de campos tipo dateTime. Se debe usar el tipo dateTimePattern que contempla los diferentes patrones para un campo tipo dateTime + + + + + + + + Expresiones Regulares para manejo de campos tipo date + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FupdateCustomerRelationship%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FupdateCustomerInterview%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FreadCustomerInterview%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_readCustomerInterview + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FdeleteEmploymentData%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FdeleteCustomerRelationship%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FcreateCustomer%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_createCustomer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expresiones Regulares para manejo de campos tipo dateTime. Se debe usar el tipo dateTimePattern que contempla los diferentes patrones para un campo tipo dateTime + + + + + + + + Expresiones Regulares para manejo de campos tipo date + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc?SCHEMA%2FPortalAGSNaturalCustomerOutAppSvc%2Foperations%2FcreateCustomerRelationship%2Fxsd%2FPortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://www.w3.org/2001/XMLSchemahttp://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvcUTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + false\r + \r + false\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r +]]>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + false\r + \r + false\r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + ?\r + \r + \r + \r + \r +]]><xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2013-01-31\r + 10:44:07\r + 123456789\r + MGS\r + BAN1731S01\r + BAN1731T01\r + \r + 1841\r + 2018-11-29\r + 11:00:00\r + 01\r + 1731\r + TEST\r + \r + \r + 127.0.0.1\r + PORTALAGS\r + \r + \r + true\r + false\r + \r + \r + \r + \r + 541828754\r + \r + \r + \r + \r + V\r + 12390811\r + \r + \r + \r + \r + 2007-05-01\r + \r + S\r + \r + \r + 01051234567891456232\r + CUENTA AHORROS\r + 2014-01-01\r + 06\r + MEDIO\r + \r + 0105\r + \r + \r + 5\r + \r + \r + \r + \r +]]>No AuthorizationUTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + false\r + \r + false\r + \r + \r + \r + \r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r +]]><xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2009-01-09\r + 10:44:07\r + 123456789\r + INT\r + BAN0591W01\r + BAN0591W01\r + \r + 8900N\r + 2006-08-19\r + 18:48:33\r + 01\r + 0591\r + TEST\r + \r + \r + PORTALAGS\r + \r + \r + true\r + false\r + \r + \r + \r + \r + \r + \r + V\r + 18073135\r + \r + \r + \r + \r + \r + \r +]]>No Authorization<xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2009-01-09\r + 10:44:07\r + 123456789\r + INT\r + BAN0591W01\r + BAN0591W01\r + \r + 1762\r + 2006-08-19\r + 18:48:33\r + 01\r + 0591\r + TEST\r + \r + \r + PORTALAGS\r + \r + \r + true\r + false\r + \r + \r + \r + \r + 201755341\r + \r + \r + \r + \r +]]>No Authorization<xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2009-01-09\r + 10:44:07\r + 123456789\r + INT\r + BAN0591W01\r + BAN0591W01\r + \r + 1838\r + 2006-08-19\r + 18:48:33\r + 01\r + 0591\r + TEST\r + \r + \r + PORTALAGS\r + \r + \r + true\r + false\r + \r + \r + \r + \r + \r + \r + V\r + 30951570\r + \r + \r + \r + \r + \r + \r +]]>No Authorization<xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2009-01-09\r + 10:44:07\r + 2014-06-12-13:18:34-4333e965-19d-1\r + INT\r + BAN0591W01\r + BAN0591W01\r + \r + 8910N\r + 2018-11-20\r + 08:48:36\r + 01\r + 0591\r + TEST\r + \r + \r + PORTALAGS\r + \r + \r + true\r + false\r + \r + \r + \r + 2\r + \r + 0\r + \r + \r + \r + \r + \r + \r + 204004505\r + \r + \r + 1\r + \r + \r + \r + HABITACION\r + 212-5764537\r + \r + \r + OFICINA\r + 212-9999995\r + \r + \r + OTROS\r + 414-9999996\r + \r + \r + FAX\r + 414-5555556\r + \r + \r + \r + S\r + 1982-01-01\r + VEN\r + \r + VEN\r + M\r + A23\r + 4\r + 3\r + \r + MARTINEZ\r + GUERRA\r + MARTINEZ\r + \r + \r + PAS\r + V\r + 120357634\r + 2013-01-01\r + 2020-01-01\r + VEN\r + \r + \r + V\r + 12035763\r + \r + \r + R\r + N\r + \r + \r + \r + \r + A23\r + \r + Test OccupDesc\r + 2010-02-01\r + \r + J003257176\r + INVERSIONES NCG Y HNOS, C.A.\r + 210\r + \r + \r + 201590549\r + \r + \r + \r + 15000\r + M\r + \r + 2019-01-01\r + \r + \r + 3522\r + \r + Test IncomeSource\r + \r + 0000\r + \r + A08\r + D\r + S\r + N\r + 3\r + A\r + \r + \r + \r + \r + 0001\r + \r + 000\r + E\r + VENEZUELA\r + 21\r + AGUA SANTA\r + 2105\r + 210501\r + 3123\r + AV.\r + EL ROSARIO\r + ALCD.\r + POPULAR\r + PP\r + 12A\r + CASR.\r + LA PLATERA\r + 3123\r + \r + \r + \r + OFICINA\r + 2121720090\r + \r + \r + VEN\r + \r + \r + 005010101\r + 005\r + \r + 1\r + \r + 1\r + \r + \r + N\r + N\r + N\r + S\r + \r + \r + \r + \r + \r + \r +]]>No AuthorizationUTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + false\r + \r + false\r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + ?\r + \r + \r + ?\r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + ?\r + \r + \r + \r + \r + \r +]]>No Authorization<xml-fragment/>UTF-8http://localhost:8003/PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc\r + \r + \r + \r + \r + 2013-01-31\r + 10:44:07\r + 123456789\r + INT\r + BAN0591W01\r + BAN0591W01\r + \r + 1843\r + 2018-11-29\r + 11:00:00\r + 01\r + 0591\r + TEST\r + \r + \r + PORTALAGS\r + \r + \r + false\r + false\r + \r + \r + \r + \r + 201691549\r + \r + \r + \r + \r + V\r + 5308294\r + \r + \r + \r + \r + 027\r + \r + \r + REGISTRO PRINCIPAL CHACAO\r + 23456780\r + TOMO\r + FOLIO\r + 2018-05-21\r + 2019-05-21\r + \r + \r + \r + \r + \r + \r +]]>No Authorization \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc-Testing/README.txt b/PortalAGSNaturalCustomerOutAppSvc-Testing/README.txt new file mode 100644 index 0000000..9edee7a --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc-Testing/README.txt @@ -0,0 +1 @@ +## Proyectos de pruebas ## \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc.jws b/PortalAGSNaturalCustomerOutAppSvc.jws new file mode 100644 index 0000000..9e604ff --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc.jws @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PortalAGSNaturalCustomerOutAppSvc/PortalAGSNaturalCustomerOutAppSvc.jpr b/PortalAGSNaturalCustomerOutAppSvc/PortalAGSNaturalCustomerOutAppSvc.jpr new file mode 100644 index 0000000..99b55fd --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/PortalAGSNaturalCustomerOutAppSvc.jpr @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomer.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomer.pipeline new file mode 100644 index 0000000..acee8d1 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomer.pipeline @@ -0,0 +1,130 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + + 1.0 + + + + + + + + por:createCustomer_Rq + + ./por:createCustomer_Rq + + + + + + + + + + + + nat:createCustomer_Rq + + ./nat:createCustomer_Rq + + + + + + + + + + + + nat:createCustomer_Rs + + ./nat:createCustomer_Rs + + + + + + + + + + + + + por:createCustomer_Rs + + ./por:createCustomer_Rs + + + + + + + + + + + + createCustomer + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + + + + $body/por:createCustomer_Rq + + + + + + + + + + + + + + + + + $body/nat:createCustomer_Rs + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput.xqy new file mode 100644 index 0000000..4df9f70 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput.xqy @@ -0,0 +1,238 @@ +xquery version "1.0"; +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns19 = "http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd" ::) + +declare namespace ns30 = "http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput($createCustomer_Rs1 as element(ns30:createCustomer_Rs)) + as element(ns19:createCustomer_Rs) { + + { + let $MsgRsHdr := $createCustomer_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $createCustomer_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + if(exists($createCustomer_Rs1/ns30:NaturalCustomer))then + ( + + + { + for $CustPermId in $createCustomer_Rs1/ns30:NaturalCustomer/ns18:CustId[1]/ns18:CustPermId + return + { data($CustPermId) } + } + + + )else() + } + +}; + +declare variable $createCustomer_Rs1 as element(ns30:createCustomer_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_createCustomer_CanonicalToOutput($createCustomer_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical.xqy new file mode 100644 index 0000000..81c5f89 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical.xqy @@ -0,0 +1,280 @@ +xquery version "1.0"; +(:: pragma bea:global-element-parameter parameter="$createCustomer_Rq1" element="ns20:createCustomer_Rq" location="../xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd" ::) +(:: pragma bea:global-element-return element="ns30:createCustomer_Rq" location="../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns20 = "http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical($createCustomer_Rq1 as element(ns20:createCustomer_Rq)) + as element(ns30:createCustomer_Rq) { + + { + let $MsgRqHdr := $createCustomer_Rq1/ns20:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + + { + for $CustClass in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustClass + return + { data($CustClass) } + } + { + for $EmployeeInd in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:EmployeeInd + return + { data($EmployeeInd) } + } + { + for $ExecutiveId in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:ExecutiveId + return + { data($ExecutiveId) } + } + + { + for $CustPermId in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustId[1]/ns20:CustPermId + return + { data($CustPermId) } + } + + + { + for $CustType in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:CustType + return + { data($CustType) } + } + + { + for $PhoneNum in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:ContactInfo[1]/ns20:PhoneNum + return + + { + for $PhoneUse in $PhoneNum/ns20:PhoneUse + return + { data($PhoneUse) } + } + { + for $Phone in $PhoneNum/ns20:Phone + return + { data($Phone) } + } + + } + + + { + for $MaritalStatus in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:MaritalStatus + return + { data($MaritalStatus) } + } + { + for $BirthDt in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:BirthDt + return + { data($BirthDt) } + } + { + for $BirthCountry in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:BirthCountry + return + { data($BirthCountry) } + } + { + for $NationalityCountry in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:NationalityCountry + return + { data($NationalityCountry) } + } + { + for $Gender in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:Gender + return + { data($Gender) } + } + { + for $Dependents in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:Dependents + return + { data($Dependents) } + } + { + for $SonsNumber in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:SonsNumber + return + { data($SonsNumber) } + } + + { + for $FirstName in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:PersonName[1]/ns20:FirstName + return + { data($FirstName) } + } + { + for $LastName in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:PersonName[1]/ns20:LastName + return + { data($LastName) } + } + { + for $LastSecondName in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:PersonName[1]/ns20:LastSecondName + return + { data($LastSecondName) } + } + + + { + for $IdentSerialNumPrefix in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:GovIssueIdent[1]/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:CustInfo/ns20:PersonInfo[1]/ns20:GovIssueIdent[1]/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + + + + { + for $JobTitle in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:EmploymentData[1]/ns20:JobTitle + return + { data($JobTitle) } + } + { + let $result := + for $Occupation in $createCustomer_Rq1/ns20:NaturalCustomer/ns20:EmploymentData[1]/ns20:Occupation + return + { data($Occupation) } + return + $result[1] + } + + + +}; + +declare variable $createCustomer_Rq1 as element(ns20:createCustomer_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_createCustomer_OutputToCanonical($createCustomer_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd new file mode 100644 index 0000000..3229d9f --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomer/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomer.xsd @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expresiones Regulares para manejo de campos tipo dateTime. Se debe usar el tipo dateTimePattern que contempla los diferentes patrones para un campo tipo dateTime + + + + + + + + Expresiones Regulares para manejo de campos tipo date + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.pipeline new file mode 100644 index 0000000..78cd05c --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:createCustomerRelationship_Rq + + ./por:createCustomerRelationship_Rq + + + + + + + + + + + + + + + $body/por:createCustomerRelationship_Rq + + + + + + + + + + + + + + nat:createCustomerRelationship_Rq + + ./direct:createCustomerRelationship_Rq + + + + + + + + + + + + nat:createCustomerRelationship_Rs + + ./direct:createCustomerRelationship_Rs + + + + + + + + + + + + + + + $body/direct:createCustomerRelationship_Rs + + + + + + + + + + + + + + por:createCustomerRelationship_Rs + + ./por:createCustomerRelationship_Rs + + + + + + + + + + + + createCustomerRelationship + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput.xqy new file mode 100644 index 0000000..c5e0c5e --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput.xqy @@ -0,0 +1,245 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns0="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput($createCustomerRelationship_Rs1 as element(ns30:createCustomerRelationship_Rs)) + as element(ns0:createCustomerRelationship_Rs) { + + { + let $MsgRsHdr := $createCustomerRelationship_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $createCustomerRelationship_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $createCustomerRelationship_Rs1/ns30:NaturalCustomer + return + + + + { + for $CustRelInfo in $NaturalCustomer/ns19:CustRelInfo + return + + + { + for $RelCons in $CustRelInfo/ns19:RelCons + return + { data($RelCons) } + } + + + } + + } + +}; + +declare variable $createCustomerRelationship_Rs1 as element(ns30:createCustomerRelationship_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_CanonicalToOutput($createCustomerRelationship_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical.xqy new file mode 100644 index 0000000..46a5d32 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical.xqy @@ -0,0 +1,425 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns20="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical($createCustomerRelationship_Rq1 as element(ns20:createCustomerRelationship_Rq)) + as element(ns29:createCustomerRelationship_Rq) { + + { + let $MsgRqHdr := $createCustomerRelationship_Rq1/ns20:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $createCustomerRelationship_Rq1/ns20:NaturalCustomer + return + + { + for $CustId in $NaturalCustomer/ns20:CustId + return + + { + for $CustPermId in $CustId/ns20:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns20:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns20:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns20:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + { + for $Addr in $NaturalCustomer/ns20:Addr + return + + { + for $Country in $Addr/ns20:Country + return + { data($Country) } + } + { + for $StateProv in $Addr/ns20:StateProv + return + { data($StateProv) } + } + + } + { + for $EmploymentData in $createCustomerRelationship_Rq1/ns20:NaturalCustomer/ns20:CustRelInfo[1]/ns20:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns20:JobTitle + return + { data($JobTitle) } + } + { + for $Country in $EmploymentData/ns20:Country + return + { data($Country) } + } + + } + { + for $CustRelInfo in $NaturalCustomer/ns20:CustRelInfo + return + + { + for $StartDt in $CustRelInfo/ns20:StartDt + return + { data($StartDt) } + } + { + for $EndDt in $CustRelInfo/ns20:EndDt + return + { data($EndDt) } + } + { + for $CustRelType in $CustRelInfo/ns20:CustRelType + return + { data($CustRelType) } + } + { + for $RelId in $CustRelInfo/ns20:RelId + return + + { + for $CustRelId in $RelId/ns20:CustRelId + return + { data($CustRelId) } + } + { + for $CustRelIdType in $RelId/ns20:CustRelIdType + return + { data($CustRelIdType) } + } + + } + { + for $Ref in $CustRelInfo/ns20:Ref + return + + { + for $ProductId in $Ref/ns20:ProductId + return + { data($ProductId) } + } + { + for $ProdDesc in $Ref/ns20:ProdDesc + return + { data($ProdDesc) } + } + { + for $IssueDt in $Ref/ns20:IssueDt + return + { data($IssueDt) } + } + { + for $AverageAmount in $Ref/ns20:AverageAmount + return + { data($AverageAmount) } + } + { + for $AverageAmountDesc in $Ref/ns20:AverageAmountDesc + return + { data($AverageAmountDesc) } + } + { + for $IssuingIdent in $Ref/ns20:IssuingIdent + return + + { + for $Name in $IssuingIdent/ns20:Name + return + { data($Name) } + } + + } + + } + { + for $IdentDoc in $CustRelInfo/ns20:IdentDoc + return + + { + for $Type in $IdentDoc/ns20:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $IdentDoc/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $IdentDoc/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + { + for $CustPermId in $CustRelInfo/ns20:CustPermId + return + { data($CustPermId) } + } + { + for $RelCons in $CustRelInfo/ns20:RelCons + return + { data($RelCons) } + } + { + for $PersonInfo in $CustRelInfo/ns20:PersonInfo + return + + { + for $FullName in $PersonInfo/ns20:FullName + return + { data($FullName) } + } + + } + { + for $ContactInfo in $CustRelInfo/ns20:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns20:PhoneNum + return + + { + for $Phone in $PhoneNum/ns20:Phone + return + { data($Phone) } + } + { + for $PhoneType in $PhoneNum/ns20:PhoneType + return + { data($PhoneType) } + } + + } + + } + { + for $OrgInfo in $CustRelInfo/ns20:OrgInfo + return + + { + for $LegalName in $OrgInfo/ns20:LegalName + return + { data($LegalName) } + } + { + for $TradeRegistry in $OrgInfo/ns20:TradeRegistry + return + + { + for $RegistryName in $TradeRegistry/ns20:RegistryName + return + { data($RegistryName) } + } + { + for $RegistryNum in $TradeRegistry/ns20:RegistryNum + return + { data($RegistryNum) } + } + { + for $Volume in $TradeRegistry/ns20:Volume + return + { data($Volume) } + } + { + for $FolioNumber in $TradeRegistry/ns20:FolioNumber + return + { data($FolioNumber) } + } + { + for $RegistryDt in $TradeRegistry/ns20:RegistryDt + return + { data($RegistryDt) } + } + { + for $RegistryExpDt in $TradeRegistry/ns20:RegistryExpDt + return + { data($RegistryExpDt) } + } + + } + + } + { + for $RelFrom in $CustRelInfo/ns20:RelFrom + return + { data($RelFrom) } + } + + } + + + } + +}; + +declare variable $createCustomerRelationship_Rq1 as element(ns20:createCustomerRelationship_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship_OutputToCanonical($createCustomerRelationship_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd new file mode 100644 index 0000000..601a499 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/createCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_createCustomerRelationship.xsd @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.pipeline new file mode 100644 index 0000000..25157ff --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:deleteCustomerRelationship_Rq + + ./por:deleteCustomerRelationship_Rq + + + + + + + + + + + + + + + $body/por:deleteCustomerRelationship_Rq + + + + + + + + + + + + + + nat:deleteCustomerRelationship_Rq + + ./direct:deleteCustomerRelationship_Rq + + + + + + + + + + + + nat:deleteCustomerRelationship_Rs + + ./direct:deleteCustomerRelationship_Rs + + + + + + + + + + + + + + + $body/direct:deleteCustomerRelationship_Rs + + + + + + + + + + + + + + por:deleteCustomerRelationship_Rs + + ./por:deleteCustomerRelationship_Rs + + + + + + + + + + + + deleteCustomerRelationship + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput.xqy new file mode 100644 index 0000000..4ada3ea --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput.xqy @@ -0,0 +1,194 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns0="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd" ::) +declare namespace ns1="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput/"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput($deleteCustomerRelationship_Rs1 as element(ns1:deleteCustomerRelationship_Rs)) + as element(ns0:deleteCustomerRelationship_Rs) { + + { + for $MsgRsHdr in $deleteCustomerRelationship_Rs1/ns1:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns2:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns2:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns2:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns2:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns2:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns2:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns2:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns2:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns2:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns2:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns2:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns2:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns2:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns2:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns2:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns2:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns2:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns2:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns2:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns2:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns2:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns2:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns2:AppName + return + { data($AppName) } + } + + } + { + for $Status in $deleteCustomerRelationship_Rs1/ns1:Status + return + + { + for $StatusType in $Status/ns3:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns3:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns3:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns3:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns3:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns3:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns3:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns3:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns3:LogId + return + { data($LogId) } + } + + } + +}; + +declare variable $deleteCustomerRelationship_Rs1 as element(ns1:deleteCustomerRelationship_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_CanonicalToOutput($deleteCustomerRelationship_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical.xqy new file mode 100644 index 0000000..7d7cdbf --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical.xqy @@ -0,0 +1,362 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns21="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/User"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical($deleteCustomerRelationship_Rq1 as element(ns21:deleteCustomerRelationship_Rq)) + as element(ns30:deleteCustomerRelationship_Rq) { + + { + for $MsgRqHdr in $deleteCustomerRelationship_Rq1/ns21:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns27:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns27:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns27:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns27:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns27:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns27:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns27:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns27:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns27:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns27:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns27:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns27:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns27:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns27:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns27:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns27:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns27:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns27:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns27:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $deleteCustomerRelationship_Rq1/ns21:NaturalCustomer + return + + { + for $CustId in $NaturalCustomer/ns21:CustId + return + + { + for $CustPermId in $CustId/ns21:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns21:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns21:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns21:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + { + for $CustRelInfo in $NaturalCustomer/ns21:CustRelInfo + return + + { + for $StartDt in $CustRelInfo/ns21:StartDt + return + { data($StartDt) } + } + { + for $EndDt in $CustRelInfo/ns21:EndDt + return + { data($EndDt) } + } + { + for $CustRelType in $CustRelInfo/ns21:CustRelType + return + { data($CustRelType) } + } + { + for $RelId in $CustRelInfo/ns21:RelId + return + + { + for $CustRelId in $RelId/ns21:CustRelId + return + { data($CustRelId) } + } + { + for $CustRelIdType in $RelId/ns21:CustRelIdType + return + { data($CustRelIdType) } + } + + } + { + for $Ref in $CustRelInfo/ns21:Ref + return + + { + for $ProductId in $Ref/ns21:ProductId + return + { data($ProductId) } + } + { + for $ProdDesc in $Ref/ns21:ProdDesc + return + { data($ProdDesc) } + } + { + for $IssueDt in $Ref/ns21:IssueDt + return + { data($IssueDt) } + } + { + for $AverageAmount in $Ref/ns21:AverageAmount + return + { data($AverageAmount) } + } + { + for $AverageAmountDesc in $Ref/ns21:AverageAmountDesc + return + { data($AverageAmountDesc) } + } + { + for $IssuingIdent in $Ref/ns21:IssuingIdent + return + + { + for $Name in $IssuingIdent/ns21:Name + return + { data($Name) } + } + + } + + } + { + for $IdentDoc in $CustRelInfo/ns21:IdentDoc + return + + { + for $Type in $IdentDoc/ns21:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $IdentDoc/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $IdentDoc/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + { + for $CustPermId in $CustRelInfo/ns21:CustPermId + return + {data($CustPermId)} + } + { + for $RelCons in $CustRelInfo/ns21:RelCons + return + {data($RelCons)} + } + { + for $PersonInfo in $CustRelInfo/ns21:PersonInfo + return + + { + for $FullName in $PersonInfo/ns21:FullName + return + { data($FullName) } + } + + } + { + for $ContactInfo in $CustRelInfo/ns21:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns21:PhoneNum + return + + { + for $Phone in $PhoneNum/ns21:Phone + return + { data($Phone) } + } + { + for $PhoneType in $PhoneNum/ns21:PhoneType + return + { data($PhoneType) } + } + + } + + } + { + for $RelFrom in $CustRelInfo/ns21:RelFrom + return + { data($RelFrom) } + } + { + for $Addr in $CustRelInfo/ns21:Addr + return + + { + for $Country in $Addr/ns21:Country + return + { data($Country) } + } + { + for $StateProv in $Addr/ns21:StateProv + return + { data($StateProv) } + } + + } + + } + + } + +}; + +declare variable $deleteCustomerRelationship_Rq1 as element(ns21:deleteCustomerRelationship_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship_OutputToCanonical($deleteCustomerRelationship_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd new file mode 100644 index 0000000..45cec4b --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteCustomerRelationship.xsd @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.pipeline new file mode 100644 index 0000000..b058571 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/proxy/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:deleteEmploymentData_Rq + + ./por:deleteEmploymentData_Rq + + + + + + + + + + + + + + + $body/por:deleteEmploymentData_Rq + + + + + + + + + + + + + + nat:deleteEmploymentData_Rq + + ./direct:deleteEmploymentData_Rq + + + + + + + + + + + + nat:deleteEmploymentData_Rs + + ./direct:deleteEmploymentData_Rs + + + + + + + + + + + + + + + $body/direct:deleteEmploymentData_Rs + + + + + + + + + + + + + + por:deleteEmploymentData_Rs + + ./por:deleteEmploymentData_Rs + + + + + + + + + + + + deleteEmploymentData + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput.xqy new file mode 100644 index 0000000..3b1b152 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput.xqy @@ -0,0 +1,244 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns20="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/User"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput($deleteEmploymentData_Rs1 as element(ns30:deleteEmploymentData_Rs)) + as element(ns20:deleteEmploymentData_Rs) { + + { + for $MsgRsHdr in $deleteEmploymentData_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns24:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns24:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns24:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns24:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns24:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns24:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns24:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns24:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns24:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns24:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns24:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns24:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns24:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns24:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns24:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns24:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns24:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns24:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns24:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns24:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns24:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns24:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns24:AppName + return + { data($AppName) } + } + + } + { + for $Status in $deleteEmploymentData_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns28:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns28:StatusCode + return + + { data($StatusCode)} + } + { + for $StatusDesc in $Status/ns28:StatusDesc + return + { data($StatusDesc)} + } + { + for $ApplicationName in $Status/ns28:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns28:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns28:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns28:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns28:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns28:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $deleteEmploymentData_Rs1/ns30:NaturalCustomer + return + + { + for $EmploymentData in $NaturalCustomer/ns19:EmploymentData + return + + { + for $EmployInd in $EmploymentData/ns23:EmployInd + return + { if(fn:exists($deleteEmploymentData_Rs1/ns30:NaturalCustomer/ns19:EmploymentData/ns23:EmployInd) + and data($deleteEmploymentData_Rs1/ns30:NaturalCustomer/ns19:EmploymentData/ns23:EmployInd)!="")then('OK') + else()} + } + + } + + } + +}; + +declare variable $deleteEmploymentData_Rs1 as element(ns30:deleteEmploymentData_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_CanonicalToOutput($deleteEmploymentData_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical.xqy new file mode 100644 index 0000000..2e3bd1e --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical.xqy @@ -0,0 +1,303 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns21="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xq/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/User"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical($deleteEmploymentData_Rq1 as element(ns21:deleteEmploymentData_Rq)) + as element(ns30:deleteEmploymentData_Rq) { + + { + for $MsgRqHdr in $deleteEmploymentData_Rq1/ns21:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns27:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns27:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns27:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns27:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns27:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns27:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns27:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns27:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns27:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns27:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns27:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns27:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns27:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns27:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns27:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns27:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns27:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns27:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns27:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $deleteEmploymentData_Rq1/ns21:NaturalCustomer + return + + { + for $CustInfo in $NaturalCustomer/ns21:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns21:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns21:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + { + for $EmploymentData in $NaturalCustomer/ns21:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns21:JobTitle + return + { data($JobTitle) } + } + { + for $OccupDesc in $EmploymentData/ns21:OccupDesc + return + { data($OccupDesc) } + } + { + for $StartDt in $EmploymentData/ns21:StartDt + return + { data($StartDt) } + } + { + for $EmploymentCondition in $EmploymentData/ns21:EmploymentCondition + return + { data($EmploymentCondition) } + } + { + for $OrgInfo in $EmploymentData/ns21:OrgInfo + return + + { + for $OrgId in $OrgInfo/ns21:OrgId + return + { data($OrgId) } + } + { + for $Name in $OrgInfo/ns21:Name + return + { data($Name) } + } + { + for $ComScope in $OrgInfo/ns21:ComScope + return + { data($ComScope) } + } + { + for $CustId in $OrgInfo/ns21:CustId + return + + { + for $CustPermId in $CustId/ns21:CustPermId + return + { data($CustPermId) } + } + + } + + } + { + for $Income in $EmploymentData/ns21:Income + return + + { + for $Amt in $Income/ns21:Amt + return + { data($Amt) } + } + { + for $Freq in $Income/ns21:Freq + return + { data($Freq) } + } + { + for $LastIncomeDt in $Income/ns21:LastIncomeDt + return + { data($LastIncomeDt) } + } + + } + { + for $ExtraIncome in $EmploymentData/ns21:ExtraIncome + return + + { + for $IncomeSource in $ExtraIncome/ns21:IncomeSource + return + { data($IncomeSource) } + } + { + for $ExtIncomeSeq in $ExtraIncome/ns21:ExtIncomeSeq + return + { data($ExtIncomeSeq) } + } + + } + { + for $EmployInd in $EmploymentData/ns21:EmployInd + return + { data($EmployInd) } + } + + } + { + for $FinancialInfo in $NaturalCustomer/ns21:FinancialInfo + return + + { + for $CreditCardCustQty in $FinancialInfo/ns21:CreditCardCustQty + return + { data($CreditCardCustQty) } + } + { + for $BankCustQty in $FinancialInfo/ns21:BankCustQty + return + { data($BankCustQty) } + } + + } + + } + +}; + +declare variable $deleteEmploymentData_Rq1 as element(ns21:deleteEmploymentData_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData_OutputToCanonical($deleteEmploymentData_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd new file mode 100644 index 0000000..5fe246b --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/deleteEmploymentData/xsd/PortalAGSNaturalCustomerOutAppSvc_deleteEmploymentData.xsd @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.pipeline new file mode 100644 index 0000000..130181a --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:readCustomerData_Rq + + ./por:readCustomerData_Rq + + + + + + + + + + + + + + + $body/por:readCustomerData_Rq + + + + + + + + + + + + + + nat:readCustomerData_Rq + + ./direct:readCustomerData_Rq + + + + + + + + + + + + nat:readCustomerData_Rs + + ./direct:readCustomerData_Rs + + + + + + + + + + + + + + + $body/direct:readCustomerData_Rs + + + + + + + + + + + + + + por:readCustomerData_Rs + + ./por:readCustomerData_Rs + + + + + + + + + + + + readCustomerData + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput.xqy new file mode 100644 index 0000000..630f3a7 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput.xqy @@ -0,0 +1,940 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns15="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput($readCustomerData_Rs1 as element(ns30:readCustomerData_Rs)) + as element(ns15:readCustomerData_Rs) { + + { + for $MsgRsHdr in $readCustomerData_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $readCustomerData_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $readCustomerData_Rs1/ns30:NaturalCustomer + return + + { + for $CustClass in $NaturalCustomer/ns19:CustClass + return + { data($CustClass) } + } + { + for $EmployeeInd in $NaturalCustomer/ns19:EmployeeInd + return + { data($EmployeeInd) } + } + { + for $ExecutiveId in $NaturalCustomer/ns19:ExecutiveId + return + { data($ExecutiveId) } + } + { + for $SvcReason in $NaturalCustomer/ns19:SvcReason + return + { data($SvcReason) } + } + { + for $DeclineInfoReason in $NaturalCustomer/ns19:DeclineInfoReason + return + { data($DeclineInfoReason) } + } + { + for $CustStatus in $NaturalCustomer/ns19:CustStatus + return + + { + for $CustStatusCode in $CustStatus/ns19:CustStatusCode + return + { data($CustStatusCode) } + } + + } + { + for $CustId in $NaturalCustomer/ns19:CustId + return + + { + for $CustPermId in $CustId/ns19:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns19:CustInfo + return + + { + for $CustType in $CustInfo/ns19:CustType + return + { data($CustType) } + } + { + for $ContactInfo in $CustInfo/ns19:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns16:PhoneNum + return + + { + for $PhoneUse in $PhoneNum/ns16:PhoneUse + return + { data($PhoneUse) } + } + { + for $Phone in $PhoneNum/ns16:Phone + return + { data($Phone) } + } + + } + { + for $Email in $ContactInfo/ns16:Email + return + + { + for $EmailAddr in $Email/ns16:EmailAddr + return + { data($EmailAddr) } + } + { + for $EmailUse in $Email/ns16:EmailUse + return + { data($EmailUse) } + } + { + for $EmailStatus in $Email/ns16:EmailStatus + return + + { + for $Status in $EmailStatus/ns16:Status + return + { data($Status) } + } + + } + { + for $MainInd in $Email/ns16:MainInd + return + { data($MainInd) } + } + + } + + } + { + for $PersonInfo in $CustInfo/ns19:PersonInfo + return + + { + for $Nationality in $PersonInfo/ns21:Nationality + return + { data($Nationality) } + } + { + for $MaritalStatus in $PersonInfo/ns21:MaritalStatus + return + { data($MaritalStatus) } + } + { + for $BirthDt in $PersonInfo/ns21:BirthDt + return + { data($BirthDt) } + } + { + for $BirthCountry in $PersonInfo/ns21:BirthCountry + return + { data($BirthCountry) } + } + { + for $ResidenceCountry in $PersonInfo/ns21:ResidenceCountry + return + { data($ResidenceCountry) } + } + { + for $Gender in $PersonInfo/ns21:Gender + return + { data($Gender) } + } + { + for $EduBackground in $PersonInfo/ns21:EduBackground + return + { data($EduBackground) } + } + { + for $Dependents in $PersonInfo/ns21:Dependents + return + { data($Dependents) } + } + { + for $SonsNumber in $PersonInfo/ns21:SonsNumber + return + { data($SonsNumber) } + } + { + for $PersonName in $PersonInfo/ns21:PersonName + return + + { + for $FirstName in $PersonName/ns14:FirstName + return + { data($FirstName) } + } + { + for $LastName in $PersonName/ns14:LastName + return + { data($LastName) } + } + { + for $LastSecondName in $PersonName/ns14:LastSecondName + return + { data($LastSecondName) } + } + + } + { + for $OtherIdentDoc in $PersonInfo/ns21:OtherIdentDoc + return + + { + for $Type in $OtherIdentDoc/ns21:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $OtherIdentDoc/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $OtherIdentDoc/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + { + for $IssDt in $OtherIdentDoc/ns21:IssDt + return + { data($IssDt) } + } + { + for $ExpDt in $OtherIdentDoc/ns21:ExpDt + return + { data($ExpDt) } + } + { + for $Country in $OtherIdentDoc/ns21:Country + return + { data($Country) } + } + + } + { + for $GovIssueIdent in $PersonInfo/ns21:GovIssueIdent + return + + { + for $GovIssueIdentType in $GovIssueIdent/ns21:GovIssueIdentType + return + { data($GovIssueIdentType) } + } + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + { + for $IssDt in $GovIssueIdent/ns21:IssDt + return + { data($IssDt) } + } + { + for $ExpDt in $GovIssueIdent/ns21:ExpDt + return + { data($ExpDt) } + } + { + for $Country in $GovIssueIdent/ns21:Country + return + { data($Country) } + } + + } + { + for $InmigrationInfo in $PersonInfo/ns21:InmigrationInfo + return + + { + for $PermanenceCondition in $InmigrationInfo/ns21:PermanenceCondition + return + { data($PermanenceCondition) } + } + { + for $NationalizationInd in $InmigrationInfo/ns21:NationalizationInd + return + { data($NationalizationInd) } + } + + } + + } + + } + { + for $EmploymentData in $NaturalCustomer/ns19:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns22:JobTitle + return + { data($JobTitle) } + } + { + for $Occupation in $EmploymentData/ns22:Occupation + return + { data($Occupation) } + } + { + for $OccupDesc in $EmploymentData/ns22:OccupDesc + return + { data($OccupDesc) } + } + { + for $StartDt in $EmploymentData/ns22:StartDt + return + { data($StartDt) } + } + { + for $EmploymentCondition in $EmploymentData/ns22:EmploymentCondition + return + { data($EmploymentCondition) } + } + { + for $OrgInfo in $EmploymentData/ns22:OrgInfo + return + + { + for $OrgId in $OrgInfo/ns22:OrgId + return + { data($OrgId) } + } + { + for $Name in $OrgInfo/ns22:Name + return + { data($Name) } + } + { + for $ComScope in $OrgInfo/ns22:ComScope + return + { data($ComScope) } + } + { + for $CustId in $OrgInfo/ns22:CustId + return + + { + for $CustPermId in $CustId/ns22:CustPermId + return + { data($CustPermId) } + } + + } + + } + { + for $Income in $EmploymentData/ns22:Income + return + + { + for $Amt in $Income/ns22:Amt + return + { data($Amt) } + } + { + for $Freq in $Income/ns22:Freq + return + { data($Freq) } + } + { + for $LastIncomeDt in $Income/ns22:LastIncomeDt + return + { data($LastIncomeDt) } + } + + } + { + for $ExtraIncome in $EmploymentData/ns22:ExtraIncome + return + + { + for $Amt in $ExtraIncome/ns22:Amt + return + { data($Amt) } + } + { + for $IncomeSource in $ExtraIncome/ns22:IncomeSource + return + { data($IncomeSource) } + } + { + for $ExtIncomeSeq in $ExtraIncome/ns22:ExtIncomeSeq + return + { data($ExtIncomeSeq) } + } + + } + { + for $PensionerInd in $EmploymentData/ns22:PensionerInd + return + { data($PensionerInd) } + } + { + for $RetiredInd in $EmploymentData/ns22:RetiredInd + return + { data($RetiredInd) } + } + { + for $EmployInd in $EmploymentData/ns22:EmployInd + return + { data($EmployInd) } + } + { + for $ExtIncomeInd in $EmploymentData/ns22:ExtIncomeInd + return + { data($ExtIncomeInd) } + } + + } + { + for $Addr in $NaturalCustomer/ns19:Addr + return + + { + for $AddrCod in $Addr/ns24:AddrCod + return + { data($AddrCod) } + } + { + for $AddrSubCod in $Addr/ns24:AddrSubCod + return + { data($AddrSubCod) } + } + { + for $AddrType in $Addr/ns24:AddrType + return + { data($AddrType) } + } + { + for $Country in $Addr/ns24:Country + return + { data($Country) } + } + { + for $StateProvCod in $Addr/ns24:StateProvCod + return + { data($StateProvCod) } + } + { + for $StateProv in $Addr/ns24:StateProv + return + { data($StateProv) } + } + { + for $City in $Addr/ns24:City + return + { data($City) } + } + { + for $Province in $Addr/ns24:Province + return + { data($Province) } + } + { + for $Parish in $Addr/ns24:Parish + return + { data($Parish) } + } + { + for $PostalCode in $Addr/ns24:PostalCode + return + { data($PostalCode) } + } + { + for $StreetType1 in $Addr/ns24:StreetType1 + return + { data($StreetType1) } + } + { + for $Street1 in $Addr/ns24:Street1 + return + { data($Street1) } + } + { + for $BuildingType in $Addr/ns24:BuildingType + return + { data($BuildingType) } + } + { + for $Building in $Addr/ns24:Building + return + { data($Building) } + } + { + for $Level in $Addr/ns24:Level + return + { data($Level) } + } + { + for $LevelDesc in $Addr/ns24:LevelDesc + return + { data($LevelDesc) } + } + { + for $Number in $Addr/ns24:Number + return + { data($Number) } + } + { + for $SectorType in $Addr/ns24:SectorType + return + { data($SectorType) } + } + { + for $Sector in $Addr/ns24:Sector + return + { data($Sector) } + } + { + for $P.O.B in $Addr/ns24:P.O.B + return + { data($P.O.B) } + } + { + for $PostmanRoute in $Addr/ns24:PostmanRoute + return + { data($PostmanRoute) } + } + { + for $HouseCondition in $Addr/ns24:HouseCondition + return + { data($HouseCondition) } + } + { + for $PhoneNum in $Addr/ns24:PhoneNum + return + + { + for $Phone in $PhoneNum/ns24:Phone + return + { data($Phone) } + } + + } + { + for $AddrUse in $Addr/ns24:AddrUse + return + { data($AddrUse) } + } + { + for $CountryCode in $Addr/ns24:CountryCode + return + { data($CountryCode) } + } + + } + { + for $FinancialInfo in $NaturalCustomer/ns19:FinancialInfo + return + + { + for $EconActivity in $FinancialInfo/ns3:EconActivity + return + { data($EconActivity) } + } + { + for $ComCategory in $FinancialInfo/ns3:ComCategory + return + { data($ComCategory) } + } + { + for $CreditCardCustQty in $FinancialInfo/ns3:CreditCardCustQty + return + { data($CreditCardCustQty) } + } + { + for $BankCustQty in $FinancialInfo/ns3:BankCustQty + return + { data($BankCustQty) } + } + + } + { + for $Risk in $NaturalCustomer/ns19:Risk + return + + { + for $RiskInfo in $Risk/ns6:RiskInfo + return + + { + for $Rating in $RiskInfo/ns6:Rating + return + { data($Rating) } + } + + } + + } + { + for $CustVerificationList in $NaturalCustomer/ns19:CustVerificationList + return + + { + for $ForeignTransfersInd in $CustVerificationList/ns0:ForeignTransfersInd + return + { data($ForeignTransfersInd) } + } + { + for $PEPAssociatedInd in $CustVerificationList/ns0:PEPAssociatedInd + return + { data($PEPAssociatedInd) } + } + { + for $PEPRelationshipInd in $CustVerificationList/ns0:PEPRelationshipInd + return + { data($PEPRelationshipInd) } + } + { + for $PEPInd in $CustVerificationList/ns0:PEPInd + return + { data($PEPInd) } + } + { + for $WorkingInd in $CustVerificationList/ns0:WorkingInd + return + { data($WorkingInd) } + } + + } + { + for $RegulatoryInfo in $NaturalCustomer/ns19:RegulatoryInfo + return + + { + for $AcctUse in $RegulatoryInfo/ns1:AcctUse + return + { data($AcctUse) } + } + { + for $DepositsInfo in $RegulatoryInfo/ns1:DepositsInfo + return + + { + for $DepositsQty in $DepositsInfo/ns1:DepositsQty + return + { data($DepositsQty) } + } + { + for $DepositsRange in $DepositsInfo/ns1:DepositsRange + return + { data($DepositsRange) } + } + + } + { + for $WithdrawalsInfo in $RegulatoryInfo/ns1:WithdrawalsInfo + return + + { + for $WithdrawalsQty in $WithdrawalsInfo/ns1:WithdrawalsQty + return + { data($WithdrawalsQty) } + } + { + for $WithdrawalsRange in $WithdrawalsInfo/ns1:WithdrawalsRange + return + { data($WithdrawalsRange) } + } + + } + { + for $ElecTransInfo in $RegulatoryInfo/ns1:ElecTransInfo + return + + { + for $ElecTransQty in $ElecTransInfo/ns1:ElecTransQty + return + { data($ElecTransQty) } + } + { + for $ElecTransRange in $ElecTransInfo/ns1:ElecTransRange + return + { data($ElecTransRange) } + } + + } + { + for $TransferInfo in $RegulatoryInfo/ns1:TransferInfo + return + + { + for $TransferCountry in $TransferInfo/ns1:TransferCountry + return + { data($TransferCountry) } + } + { + for $TransferType in $TransferInfo/ns1:TransferType + return + { data($TransferType) } + } + + } + { + for $FundsSrc in $RegulatoryInfo/ns1:FundsSrc + return + { data($FundsSrc) } + } + { + for $CurrencyOpe in $RegulatoryInfo/ns1:CurrencyOpe + return + + { + for $CurrencyName in $CurrencyOpe/ns1:CurrencyName + return + { data($CurrencyName) } + } + + } + + } + { + for $Product in $NaturalCustomer/ns19:Product + return + + { + for $ProdDesc in $Product/ns19:ProdDesc + return + { data($ProdDesc) } + } + + } + + } + +}; + +declare variable $readCustomerData_Rs1 as element(ns30:readCustomerData_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerData_CanonicalToOutput($readCustomerData_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical.xqy new file mode 100644 index 0000000..fb3e768 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical.xqy @@ -0,0 +1,198 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns15="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace acc = "http://xmlns.banesco.com/EnterpriseObjects/Account"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical($readCustomerData_Rq1 as element(ns15:readCustomerData_Rq)) + as element(ns29:readCustomerData_Rq) { + + { + let $MsgRqHdr := $readCustomerData_Rq1/ns15:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $readCustomerData_Rq1/ns15:NaturalCustomer + return + + { + for $CustInfo in $NaturalCustomer/ns15:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns15:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns15:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns15:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns15:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + + } + { + for $Account in $readCustomerData_Rq1/ns15:Account + return + + { + for $AcctId in $Account/ns15:AcctId + return + { data($AcctId) } + } + + } + +}; + +declare variable $readCustomerData_Rq1 as element(ns15:readCustomerData_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerData_OutputToCanonical($readCustomerData_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd new file mode 100644 index 0000000..b2fffa0 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerData.xsd @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.pipeline new file mode 100644 index 0000000..545f4e4 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.pipeline @@ -0,0 +1,127 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:readCustomerInterview_Rq + + ./por:readCustomerInterview_Rq + + + + + + + + + + + + + + + $body/por:readCustomerInterview_Rq + + + + + + + + + + + + + + nat:readCustomerInterview_Rq + + ./direct:readCustomerInterview_Rq + + + + + + + + + + + + nat:readCustomerInterview_Rs + + ./direct:readCustomerInterview_Rs + + + + + + + + + + + + readCustomerInterview + + + + + + + + + $body/direct:readCustomerInterview_Rs + + + + + + + + + + + + + + + por:readCustomerInterview_Rs + + ./por:readCustomerInterview_Rs + + + + + + + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput.xqy new file mode 100644 index 0000000..b07afee --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput.xqy @@ -0,0 +1,368 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns19="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput($readCustomerInterview_Rs1 as element(ns29:readCustomerInterview_Rs)) + as element(ns19:readCustomerInterview_Rs) { + + { + for $MsgRsHdr in $readCustomerInterview_Rs1/ns29:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $readCustomerInterview_Rs1/ns29:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $readCustomerInterview_Rs1/ns29:NaturalCustomer + return + + { + for $CustClass in $NaturalCustomer/ns18:CustClass + return + { data($CustClass) } + } + { + for $CustInfo in $NaturalCustomer/ns18:CustInfo + return + + { + for $CustType in $CustInfo/ns18:CustType + return + { data($CustType) } + } + { + for $ContactInfo in $CustInfo/ns18:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns15:PhoneNum + return + + { + for $Phone in $PhoneNum/ns15:Phone + return + { data($Phone) } + } + + } + + } + { + for $PersonInfo in $CustInfo/ns18:PersonInfo + return + + { + for $BirthCountry in $PersonInfo/ns21:BirthCountry + return + { data($BirthCountry) } + } + { + for $ResidenceCountry in $PersonInfo/ns21:ResidenceCountry + return + { data($ResidenceCountry) } + } + { + for $SecondNationality in $PersonInfo/ns21:SecondNationality + return + { data($SecondNationality) } + } + { + for $OtherIdentDoc in $PersonInfo/ns21:OtherIdentDoc + return + + { + for $Type in $OtherIdentDoc/ns21:Type + return + { data($Type) } + } + { + for $IdentSerialNum in $OtherIdentDoc/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + { + for $IssDt in $OtherIdentDoc/ns21:IssDt + return + { data($IssDt) } + } + { + for $ExpDt in $OtherIdentDoc/ns21:ExpDt + return + { data($ExpDt) } + } + + } + + } + + } + { + for $Organization in $NaturalCustomer/ns18:Organization + return + + { + for $IncAgrmt in $Organization/ns11:IncAgrmt + return + + { + for $FormedCountry in $IncAgrmt/ns11:FormedCountry + return + { data($FormedCountry) } + } + + } + + } + { + for $Addr in $NaturalCustomer/ns18:Addr + return + + { + for $Addr1 in $Addr/ns24:Addr1 + return + { data($Addr1) } + } + { + for $City in $Addr/ns24:City + return + { data($City) } + } + + } + { + for $CustVerificationList in $NaturalCustomer/ns18:CustVerificationList + return + + { + for $PayOtherTaxesInd in $CustVerificationList/ns0:PayOtherTaxesInd + return + { data($PayOtherTaxesInd) } + } + { + for $USAFlyerInd in $CustVerificationList/ns0:USAFlyerInd + return + { data($USAFlyerInd) } + } + { + for $RelUSAlnd in $CustVerificationList/ns0:RelUSAlnd + return + { data($RelUSAlnd) } + } + { + for $AcctUSAlnd in $CustVerificationList/ns0:AcctUSAlnd + return + { data($AcctUSAlnd) } + } + + } + + } + +}; + +declare variable $readCustomerInterview_Rs1 as element(ns29:readCustomerInterview_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_CanonicalToOutput($readCustomerInterview_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical.xqy new file mode 100644 index 0000000..e5050d9 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical.xqy @@ -0,0 +1,169 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns20="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical($readCustomerInterview_Rq1 as element(ns20:readCustomerInterview_Rq)) + as element(ns29:readCustomerInterview_Rq) { + + { + for $MsgRqHdr in $readCustomerInterview_Rq1/ns20:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $readCustomerInterview_Rq1/ns20:NaturalCustomer + return + + { + for $CustId in $NaturalCustomer/ns20:CustId + return + + { + for $CustPermId in $CustId/ns20:CustPermId + return + { data($CustPermId) } + } + + } + + } + +}; + +declare variable $readCustomerInterview_Rq1 as element(ns20:readCustomerInterview_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview_OutputToCanonical($readCustomerInterview_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd new file mode 100644 index 0000000..20c7a02 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerInterview.xsd @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.pipeline new file mode 100644 index 0000000..679f43e --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:readCustomerRelationship_Rq + + ./por:readCustomerRelationship_Rq + + + + + + + + + + + + + + + $body/por:readCustomerRelationship_Rq + + + + + + + + + + + + + + nat:readCustomerRelationship_Rq + + ./direct:readCustomerRelationship_Rq + + + + + + + + + + + + nat:readCustomerRelationship_Rs + + ./direct:readCustomerRelationship_Rs + + + + + + + + + + + + + + + $body/direct:readCustomerRelationship_Rs + + + + + + + + + + + + + + por:readCustomerRelationship_Rs + + ./por:readCustomerRelationship_Rs + + + + + + + + + + + + readCustomerRelationship + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput.xqy new file mode 100644 index 0000000..ddd47c7 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput.xqy @@ -0,0 +1,506 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns0="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd" ::) +declare namespace ns30="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput($readCustomerRelationship_Rs1 as element(ns30:readCustomerRelationship_Rs)) + as element(ns0:readCustomerRelationship_Rs) { + + { + let $MsgRsHdr := $readCustomerRelationship_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $readCustomerRelationship_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $readCustomerRelationship_Rs1/ns30:NaturalCustomer + return + + { + let $result := + for $CustId in $NaturalCustomer/ns19:CustId + return + + { + for $CustPermId in $CustId/ns19:CustPermId + return + { data($CustPermId) } + } + + return + $result[1] + } + { + for $CustInfo in $NaturalCustomer/ns19:CustInfo + return + + { + let $result := + for $PersonInfo in $CustInfo/ns19:PersonInfo + return + + { + let $result := + for $GovIssueIdent in $PersonInfo/ns21:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns21:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns21:IdentSerialNum + return + { data($IdentSerialNum) } + } + + return + $result[1] + } + + return + $result[1] + } + + } + { + for $CustRelInfo in $NaturalCustomer/ns19:CustRelInfo + return + + { + for $StartDt in $CustRelInfo/ns19:StartDt + return + { data($StartDt) } + } + { + for $EndDt in $CustRelInfo/ns19:EndDt + return + { data($EndDt) } + } + { + for $CustRelType in $CustRelInfo/ns19:CustRelType + return + { data($CustRelType) } + } + { + for $PEPInd in $CustRelInfo/ns19:PEPInd + return + { data($PEPInd) } + } + { + for $RelId in $CustRelInfo/ns19:RelId + return + + { + for $CustRelId in $RelId/ns19:CustRelId + return + { data($CustRelId) } + } + + } + { + for $Ref in $CustRelInfo/ns19:Ref + return + + { + for $ProductId in $Ref/ns10:ProductId + return + { data($ProductId) } + } + { + for $ProdDesc in $Ref/ns10:ProdDesc + return + { data($ProdDesc) } + } + { + for $IssueDt in $Ref/ns10:IssueDt + return + { data($IssueDt) } + } + { + for $AverageAmount in $Ref/ns10:AverageAmount + return + { data($AverageAmount) } + } + { + for $AverageAmountDesc in $Ref/ns10:AverageAmountDesc + return + { data($AverageAmountDesc) } + } + { + for $IssuingIdent in $Ref/ns10:IssuingIdent + return + + { + for $Name in $IssuingIdent/ns10:Name + return + { data($Name) } + } + + } + + } + { + for $IdentDoc in $CustRelInfo/ns19:IdentDoc + return + + { + for $Type in $IdentDoc/ns19:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $IdentDoc/ns19:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $IdentDoc/ns19:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + { + for $CustPermId in $CustRelInfo/ns19:CustPermId + return + { data($CustPermId) } + } + { + for $PersonInfo in $CustRelInfo/ns19:PersonInfo + return + + { + for $FullName in $PersonInfo/ns21:FullName + return + { data($FullName) } + } + + } + { + for $ContactInfo in $CustRelInfo/ns19:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns16:PhoneNum + return + + { + for $PhoneUse in $PhoneNum/ns16:PhoneUse + return + { data($PhoneUse) } + } + { + for $Phone in $PhoneNum/ns16:Phone + return + { data($Phone) } + } + + } + + } + { + for $OrgInfo in $CustRelInfo/ns19:OrgInfo + return + + { + for $Name in $OrgInfo/ns19:Name + return + { data($Name) } + } + { + for $LegalName in $OrgInfo/ns19:LegalName + return + { data($LegalName) } + } + { + for $TradeRegistry in $OrgInfo/ns19:TradeRegistry + return + + { + for $RegistryName in $TradeRegistry/ns19:RegistryName + return + { data($RegistryName) } + } + { + for $RegistryNum in $TradeRegistry/ns19:RegistryNum + return + { data($RegistryNum) } + } + { + for $Volume in $TradeRegistry/ns19:Volume + return + { data($Volume) } + } + { + for $FolioNumber in $TradeRegistry/ns19:FolioNumber + return + { data($FolioNumber) } + } + { + for $RegistryDt in $TradeRegistry/ns19:RegistryDt + return + { data($RegistryDt) } + } + { + for $RegistryExpDt in $TradeRegistry/ns19:RegistryExpDt + return + { data($RegistryExpDt) } + } + + + } + + } + { + for $EmploymentData in $CustRelInfo/ns19:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns22:JobTitle + return + { data($JobTitle) } + } + { + for $Country in $EmploymentData/ns22:Country + return + { data($Country) } + } + + } + { + for $RelFrom in $CustRelInfo/ns19:RelFrom + return + { data($RelFrom) } + } + { + for $Addr in $CustRelInfo/ns19:Addr + return + + { + for $Country in $Addr/ns19:Country + return + { data($Country) } + } + { + for $StateProv in $Addr/ns19:StateProv + return + { data($StateProv) } + } + + } + + } + + } + +}; + +declare variable $readCustomerRelationship_Rs1 as element(ns30:readCustomerRelationship_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_CanonicalToOutput($readCustomerRelationship_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical.xqy new file mode 100644 index 0000000..50e318e --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical.xqy @@ -0,0 +1,309 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns0="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical($readCustomerRelationship_Rq1 as element(ns0:readCustomerRelationship_Rq)) + as element(ns29:readCustomerRelationship_Rq) { + + + { + for $MessageDate in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + + { + for $TransactionConsecutive in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $RegisterNumber in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $OriginatorName in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:OriginatorName + return + { data($OriginatorName) } + } + { + for $OperationType in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:OperationType + return + { data($OperationType) } + } + { + for $TransactionType in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:TransactionType + return + { data($TransactionType) } + } + { + for $TransactionCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:TransactionCode + return + { data($TransactionCode) } + } + { + for $TransactionDate in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:TransactionDate + return + { data($TransactionDate) } + } + { + for $TransactionTime in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:TransactionTime + return + { data($TransactionTime) } + } + { + for $BankId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:BankId + return + { data($BankId) } + } + { + for $AgencyCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:AgencyCode + return + { data($AgencyCode) } + } + { + for $ChannelId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:ChannelId + return + { data($ChannelId) } + } + { + for $ChannelUserId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:ChannelUserId + return + { data($ChannelUserId) } + } + { + for $OperationExecIndicator in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:OperationExecIndicator + return + { data($OperationExecIndicator) } + } + { + for $ConfiguredTransactionCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:ConfiguredTransactionCode + return + { data($ConfiguredTransactionCode) } + } + { + for $Desc in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:Desc + return + { data($Desc) } + } + { + for $UserId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:UserId + return + { data($UserId) } + } + { + for $UserType in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:NetworkTrnInfo[1]/ns26:UserType + return + { data($UserType) } + } + + + { + for $EnterpriseCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:EnterpriseCode + return + { data($EnterpriseCode) } + } + { + for $PrivateChannelId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $IpAddress in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:IpAddress + return + { data($IpAddress) } + } + { + for $HostName in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:HostName + return + { data($HostName) } + } + { + for $StadisticId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:StadisticId + return + { data($StadisticId) } + } + { + for $Application in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:Application + return + { data($Application) } + } + { + for $Nationality in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:Nationality + return + { data($Nationality) } + } + { + for $IdDocument in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:IdDocument + return + { data($IdDocument) } + } + { + for $RolType in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:RolType + return + { data($RolType) } + } + { + for $PlanCode in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:PlanCode + return + { data($PlanCode) } + } + { + for $Channel in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ApplicantData/ns26:Channel + return + { data($Channel) } + } + + + { + for $MaxRec in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:RecCtrlIn/ns26:MaxRec + return + { data($MaxRec) } + } + + { + for $ReturnValue in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + + { + for $VBProtocolInd in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:VBProtocol/ns26:VBProtocolInd + return + { data($VBProtocolInd) } + } + { + for $TransactionInd in $readCustomerRelationship_Rq1/ns0:MsgRqHdr/ns26:VBProtocol/ns26:TransactionInd + return + { data($TransactionInd) } + } + + + + + + + { + for $IdentSerialNumPrefix in $readCustomerRelationship_Rq1/ns0:NaturalCustomer/ns0:CustInfo/ns0:PersonInfo/ns0:GovIssueIdent/ns0:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $readCustomerRelationship_Rq1/ns0:NaturalCustomer/ns0:CustInfo/ns0:PersonInfo/ns0:GovIssueIdent/ns0:IdentSerialNum + return + { data($IdentSerialNum) } + } + + + + + +}; + +declare variable $readCustomerRelationship_Rq1 as element(ns0:readCustomerRelationship_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship_OutputToCanonical($readCustomerRelationship_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd new file mode 100644 index 0000000..8fc9bef --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/readCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_readCustomerRelationship.xsd @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.pipeline new file mode 100644 index 0000000..b5ec594 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.pipeline @@ -0,0 +1,128 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:updateCustomerData_Rq + + ./por:updateCustomerData_Rq + + + + + + + + + + + + nat:updateCustomerData_Rq + + ./nat:updateCustomerData_Rq + + + + + + + + + + + + nat:updateCustomerData_Rs + + ./nat:updateCustomerData_Rs + + + + + + + + + + + + + por:updateCustomerData_Rs + + ./por:updateCustomerData_Rs + + + + + + + + + + + + updateCustomerData + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + + + + $body/por:updateCustomerData_Rq + + + + + + + + + + + + + + + + + $body/nat:updateCustomerData_Rs + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput.xqy new file mode 100644 index 0000000..0e22ad8 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput.xqy @@ -0,0 +1,224 @@ +xquery version "1.0"; +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns19 = "http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd" ::) + +declare namespace ns30 = "http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput($updateCustomerData_Rs1 as element(ns30:updateCustomerData_Rs)) + as element(ns19:updateCustomerData_Rs) { + + { + let $MsgRsHdr := $updateCustomerData_Rs1/ns30:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + let $Status := $updateCustomerData_Rs1/ns30:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + +}; + +declare variable $updateCustomerData_Rs1 as element(ns30:updateCustomerData_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_CanonicalToOutput($updateCustomerData_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical.xqy new file mode 100644 index 0000000..a5f7165 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical.xqy @@ -0,0 +1,920 @@ +xquery version "1.0"; +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns42 = "http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns31 = "http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd" ::) +declare namespace ns41 = "http://xmlns.banesco.com/EnterpriseObjects/CustCrossReference"; +declare namespace ns40 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns46 = "http://xmlns.banesco.com/EnterpriseObjects/IntRateInfo"; +declare namespace ns45 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns44 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns43 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns47 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/Documentation"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns29 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Ref"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/User"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/CustPref"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Guarantor"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Customer"; +declare namespace ns38 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns39 = "http://xmlns.banesco.com/EnterpriseObjects/SelRangeDt"; +declare namespace ns36 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns37 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns34 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns35 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns33 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; + +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/SecurityIdentification"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Account"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/LegalCustomer"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/GenericValue"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/Bureau"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical($updateCustomerData_Rq1 as element(ns31:updateCustomerData_Rq)) + as element(ns42:updateCustomerData_Rq) { + + { + let $MsgRqHdr := $updateCustomerData_Rq1/ns31:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns37:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns37:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns37:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns37:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns37:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns37:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns37:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns37:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns37:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns37:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns37:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns37:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns37:NetworkTrnInfo + return + + { + for $TransactionConsecutive in $NetworkTrnInfo/ns37:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $RegisterNumber in $NetworkTrnInfo/ns37:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $OriginatorName in $NetworkTrnInfo/ns37:OriginatorName + return + { data($OriginatorName) } + } + { + for $OperationType in $NetworkTrnInfo/ns37:OperationType + return + { data($OperationType) } + } + { + for $TransactionType in $NetworkTrnInfo/ns37:TransactionType + return + { data($TransactionType) } + } + { + for $TransactionCode in $NetworkTrnInfo/ns37:TransactionCode + return + { data($TransactionCode) } + } + { + for $TransactionDate in $NetworkTrnInfo/ns37:TransactionDate + return + { data($TransactionDate) } + } + { + for $TransactionTime in $NetworkTrnInfo/ns37:TransactionTime + return + { data($TransactionTime) } + } + { + for $BankId in $NetworkTrnInfo/ns37:BankId + return + { data($BankId) } + } + { + for $AgencyCode in $NetworkTrnInfo/ns37:AgencyCode + return + { data($AgencyCode) } + } + { + for $ChannelId in $NetworkTrnInfo/ns37:ChannelId + return + { data($ChannelId) } + } + { + for $ChannelUserId in $NetworkTrnInfo/ns37:ChannelUserId + return + { data($ChannelUserId) } + } + { + for $OperationExecIndicator in $NetworkTrnInfo/ns37:OperationExecIndicator + return + { data($OperationExecIndicator) } + } + { + for $ConfiguredTransactionCode in $NetworkTrnInfo/ns37:ConfiguredTransactionCode + return + { data($ConfiguredTransactionCode) } + } + { + for $Desc in $NetworkTrnInfo/ns37:Desc + return + { data($Desc) } + } + { + for $UserId in $NetworkTrnInfo/ns37:UserId + return + { data($UserId) } + } + { + for $UserType in $NetworkTrnInfo/ns37:UserType + return + { data($UserType) } + } + + } + { + for $ApplicantData in $MsgRqHdr/ns37:ApplicantData + return + + { + for $EnterpriseCode in $ApplicantData/ns37:EnterpriseCode + return + { data($EnterpriseCode) } + } + { + for $PrivateChannelId in $ApplicantData/ns37:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $IpAddress in $ApplicantData/ns37:IpAddress + return + { data($IpAddress) } + } + { + for $HostName in $ApplicantData/ns37:HostName + return + { data($HostName) } + } + { + for $StadisticId in $ApplicantData/ns37:StadisticId + return + { data($StadisticId) } + } + { + for $Application in $ApplicantData/ns37:Application + return + { data($Application) } + } + { + for $Nationality in $ApplicantData/ns37:Nationality + return + { data($Nationality) } + } + { + for $IdDocument in $ApplicantData/ns37:IdDocument + return + { data($IdDocument) } + } + { + for $RolType in $ApplicantData/ns37:RolType + return + { data($RolType) } + } + { + for $PlanCode in $ApplicantData/ns37:PlanCode + return + { data($PlanCode) } + } + { + for $Channel in $ApplicantData/ns37:Channel + return + { data($Channel) } + } + + } + { + for $RecCtrlIn in $MsgRqHdr/ns37:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns37:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns37:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns37:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns37:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + let $NaturalCustomer := $updateCustomerData_Rq1/ns31:NaturalCustomer + return + + { + for $CustClass in $NaturalCustomer/ns31:CustClass + return + { data($CustClass) } + } + { + for $EmployeeInd in $NaturalCustomer/ns31:EmployeeInd + return + { data($EmployeeInd) } + } + { + for $ExecutiveId in $NaturalCustomer/ns31:ExecutiveId + return + { data($ExecutiveId) } + } + { + for $CustStatus in $NaturalCustomer/ns31:CustStatus + return + + + { + for $CustStatusCode in $CustStatus/ns31:CustStatusCode + return + { data($CustStatusCode) } + } + + } + { + for $CustId in $NaturalCustomer/ns31:CustId + return + + { + for $CustPermId in $CustId/ns31:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns31:CustInfo + return + + { + for $CustType in $CustInfo/ns31:CustType + return + { data($CustType) } + } + { + for $ContactInfo in $CustInfo/ns31:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns31:PhoneNum + return + + { + for $PhoneUse in $PhoneNum/ns31:PhoneUse + return + { data($PhoneUse) } + } + { + for $Phone in $PhoneNum/ns31:Phone + return + { data($Phone) } + } + + } + { + for $Email in $ContactInfo/ns31:Email + return + + { + for $EmailAddr in $Email/ns31:EmailAddr + return + { data($EmailAddr) } + } + { + for $EmailType in $Email/ns31:EmailType + return + { data($EmailType) } + } + { + for $EmailUse in $Email/ns31:EmailUse + return + { data($EmailUse) } + } + { + for $EmailStatus in $Email/ns31:EmailStatus + return + + { + for $Status in $EmailStatus/ns31:Status + return + { data($Status) } + } + + } + { + for $MainInd in $Email/ns31:MainInd + return + { data($MainInd) } + } + { + for $ActionType in $Email/ns31:ActionType + return + { data($ActionType) } + } + + } + + } + { + for $PersonInfo in $CustInfo/ns31:PersonInfo + return + + { + for $MaritalStatus in $PersonInfo/ns31:MaritalStatus + return + { data($MaritalStatus) } + } + { + for $BirthDt in $PersonInfo/ns31:BirthDt + return + { data($BirthDt) } + } + { + for $BirthCountry in $PersonInfo/ns31:BirthCountry + return + { data($BirthCountry) } + } + { + for $NationalityCountry in $PersonInfo/ns31:NationalityCountry + return + { data($NationalityCountry) } + } + { + for $ResidenceCountry in $PersonInfo/ns31:ResidenceCountry + return + { data($ResidenceCountry) } + } + { + for $Gender in $PersonInfo/ns31:Gender + return + { data($Gender) } + } + { + for $EduBackground in $PersonInfo/ns31:EduBackground + return + { data($EduBackground) } + } + { + for $Dependents in $PersonInfo/ns31:Dependents + return + { data($Dependents) } + } + { + for $SonsNumber in $PersonInfo/ns31:SonsNumber + return + { data($SonsNumber) } + } + { + for $PersonName in $PersonInfo/ns31:PersonName + return + + { + for $FirstName in $PersonName/ns31:FirstName + return + { data($FirstName) } + } + { + for $LastName in $PersonName/ns31:LastName + return + { data($LastName) } + } + { + for $LastSecondName in $PersonName/ns31:LastSecondName + return + { data($LastSecondName) } + } + + } + { + for $OtherIdentDoc in $PersonInfo/ns31:OtherIdentDoc + return + + { + for $Type in $OtherIdentDoc/ns31:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $OtherIdentDoc/ns31:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $OtherIdentDoc/ns31:IdentSerialNum + return + { data($IdentSerialNum) } + } + { + for $IssDt in $OtherIdentDoc/ns31:IssDt + return + { data($IssDt) } + } + { + for $ExpDt in $OtherIdentDoc/ns31:ExpDt + return + { data($ExpDt) } + } + { + for $Country in $OtherIdentDoc/ns31:Country + return + { data($Country) } + } + + } + { + for $GovIssueIdent in $PersonInfo/ns31:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns31:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns31:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + { + for $InmigrationInfo in $PersonInfo/ns31:InmigrationInfo + return + + { + for $PermanenceCondition in $InmigrationInfo/ns31:PermanenceCondition + return + { data($PermanenceCondition) } + } + { + for $NationalizationInd in $InmigrationInfo/ns31:NationalizationInd + return + { data($NationalizationInd) } + } + + } + + } + + } + { + for $EmploymentData in $NaturalCustomer/ns31:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns31:JobTitle + return + { data($JobTitle) } + } + { + let $result := + for $Occupation in $EmploymentData/ns31:Occupation + return + { data($Occupation) } + return + $result[1] + } + { + for $OccupDesc in $EmploymentData/ns31:OccupDesc + return + { data($OccupDesc) } + } + { + for $StartDt in $EmploymentData/ns31:StartDt + return + { data($StartDt) } + } + { + for $EmploymentCondition in $EmploymentData/ns31:EmploymentCondition + return + { data($EmploymentCondition) } + } + { + for $OrgInfo in $EmploymentData/ns31:OrgInfo + return + + { + for $OrgId in $OrgInfo/ns31:OrgId + return + { data($OrgId) } + } + { + for $Name in $OrgInfo/ns31:Name + return + { data($Name) } + } + { + for $ComScope in $OrgInfo/ns31:ComScope + return + { data($ComScope) } + } + { + for $CustId in $OrgInfo/ns31:CustId + return + + { + for $CustPermId in $CustId/ns31:CustPermId + return + { data($CustPermId) } + } + + } + + } + { + for $Income in $EmploymentData/ns31:Income + return + + { + let $result := + for $Amt in $Income/ns31:Amt + return + { data($Amt) } + return + $result[1] + } + { + for $Freq in $Income/ns31:Freq + return + { data($Freq) } + } + { + for $LastIncomeDt in $Income/ns31:LastIncomeDt + return + { data($LastIncomeDt) } + } + + } + { + for $ExtraIncome in $EmploymentData/ns31:ExtraIncome + return + + { + for $Amt in $ExtraIncome/ns31:Amt + return + { data($Amt) } + } + { + for $IncomeSource in $ExtraIncome/ns31:IncomeSource + return + { data($IncomeSource) } + } + { + for $ExtIncomeSeq in $ExtraIncome/ns31:ExtIncomeSeq + return + { data($ExtIncomeSeq) } + } + + } + { + for $PensionerInd in $EmploymentData/ns31:PensionerInd + return + { data($PensionerInd) } + } + { + for $RetiredInd in $EmploymentData/ns31:RetiredInd + return + { data($RetiredInd) } + } + { + for $EmployInd in $EmploymentData/ns31:EmployInd + return + { data($EmployInd) } + } + { + for $ActionType in $EmploymentData/ns31:ActionType + return + { data($ActionType) } + } + { + for $ExtIncomeInd in $EmploymentData/ns31:ExtIncomeInd + return + { data($ExtIncomeInd) } + } + + } + { + for $Addr in $NaturalCustomer/ns31:Addr + return + + { + for $AddrCod in $Addr/ns31:AddrCod + return + { data($AddrCod) } + } + { + for $AddrSubCod in $Addr/ns31:AddrSubCod + return + { data($AddrSubCod) } + } + { + for $AddrType in $Addr/ns31:AddrType + return + { data($AddrType) } + } + { + for $Country in $Addr/ns31:Country + return + { data($Country) } + } + { + for $StateProv in $Addr/ns31:StateProv + return + { data($StateProv) } + } + { + for $City in $Addr/ns31:City + return + { data($City) } + } + { + for $Province in $Addr/ns31:Province + return + { data($Province) } + } + { + for $Parish in $Addr/ns31:Parish + return + { data($Parish) } + } + { + for $PostalCode in $Addr/ns31:PostalCode + return + { data($PostalCode) } + } + { + for $StreetType1 in $Addr/ns31:StreetType1 + return + { data($StreetType1) } + } + { + for $Street1 in $Addr/ns31:Street1 + return + { data($Street1) } + } + { + for $BuildingType in $Addr/ns31:BuildingType + return + { data($BuildingType) } + } + { + for $Building in $Addr/ns31:Building + return + { data($Building) } + } + { + for $Level in $Addr/ns31:Level + return + { data($Level) } + } + { + for $Number in $Addr/ns31:Number + return + { data($Number) } + } + { + for $SectorType in $Addr/ns31:SectorType + return + { data($SectorType) } + } + { + for $Sector in $Addr/ns31:Sector + return + { data($Sector) } + } + { + for $P.O.B in $Addr/ns31:P.O.B + return + { data($P.O.B) } + } + { + for $PostmanRoute in $Addr/ns31:PostmanRoute + return + { data($PostmanRoute) } + } + { + for $HouseCondition in $Addr/ns31:HouseCondition + return + { data($HouseCondition) } + } + { + for $PhoneNum in $Addr/ns31:PhoneNum + return + + { + for $Phone in $PhoneNum/ns31:Phone + return + { data($Phone) } + } + { + for $PhoneType in $PhoneNum/ns31:PhoneType + return + { data($PhoneType) } + } + + } + { + for $AddrUse in $Addr/ns31:AddrUse + return + { data($AddrUse) } + } + { + for $CountryCode in $Addr/ns31:CountryCode + return + { data($CountryCode) } + } + + } + { + for $FinancialInfo in $NaturalCustomer/ns31:FinancialInfo + return + + { + for $EconActivity in $FinancialInfo/ns31:EconActivity + return + { data($EconActivity) } + } + { + for $ComCategory in $FinancialInfo/ns31:ComCategory + return + { data($ComCategory) } + } + { + for $CreditCardCustQty in $FinancialInfo/ns31:CreditCardCustQty + return + { data($CreditCardCustQty) } + } + { + for $BankCustQty in $FinancialInfo/ns31:BankCustQty + return + { data($BankCustQty) } + } + + } + + { + for $CustVerificationList in $NaturalCustomer/ns31:CustVerificationList + return + + { + for $EmployeeBanescoInd in $CustVerificationList/ns31:EmployeeBanescoInd + return + { data($EmployeeBanescoInd) } + } + { + for $DisableInfShareInd in $CustVerificationList/ns31:DisableInfShareInd + return + { data($DisableInfShareInd) } + } + { + for $ForeignAccountsInd in $CustVerificationList/ns31:ForeignAccountsInd + return + { data($ForeignAccountsInd) } + } + { + for $ForeignTransfersInd in $CustVerificationList/ns31:ForeignTransfersInd + return + { data($ForeignTransfersInd) } + } + { + for $PEPAssociatedInd in $CustVerificationList/ns31:PEPAssociatedInd + return + { data($PEPAssociatedInd) } + } + { + for $PEPRelationshipInd in $CustVerificationList/ns31:PEPRelationshipInd + return + { data($PEPRelationshipInd) } + } + { + for $PEPInd in $CustVerificationList/ns31:PEPInd + return + { data($PEPInd) } + } + { + for $WorkingInd in $CustVerificationList/ns31:WorkingInd + return + { data($WorkingInd) } + } + + } + { + for $User in $NaturalCustomer/ns31:User + return + + { + for $Login in $User/ns31:Login + return + { data($Login) } + } + + } + + } + +}; + +declare variable $updateCustomerData_Rq1 as element(ns31:updateCustomerData_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerData_OutputToCanonical($updateCustomerData_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd new file mode 100644 index 0000000..7badc71 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerData/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerData.xsd @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expresiones Regulares para manejo de campos tipo dateTime. Se debe usar el tipo dateTimePattern que contempla los diferentes patrones para un campo tipo dateTime + + + + + + + + Expresiones Regulares para manejo de campos tipo date + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.pipeline new file mode 100644 index 0000000..6fd2db8 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.pipeline @@ -0,0 +1,127 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:updateCustomerInterview_Rq + + ./por:updateCustomerInterview_Rq + + + + + + + + + + + + + + + $body/por:updateCustomerInterview_Rq + + + + + + + + + + + + + + nat:updateCustomerInterview_Rq + + ./direct:updateCustomerInterview_Rq + + + + + + + + + + + + nat:updateCustomerInterview_Rs + + ./direct:updateCustomerInterview_Rs + + + + + + + + + + + + + + + $body/direct:updateCustomerInterview_Rs + + + + + + + + + + + + + + + por:updateCustomerInterview_Rs + + ./por:updateCustomerInterview_Rs + + + + + + + + + + + + updateCustomerInterview + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput.xqy new file mode 100644 index 0000000..35ecdc9 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput.xqy @@ -0,0 +1,386 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns19="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput($updateCustomerInterview_Rs1 as element(ns29:updateCustomerInterview_Rs)) + as element(ns19:updateCustomerInterview_Rs) { + + { + for $MsgRsHdr in $updateCustomerInterview_Rs1/ns29:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $updateCustomerInterview_Rs1/ns29:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $updateCustomerInterview_Rs1/ns29:NaturalCustomer + return + + { + for $PartySvcAcctRelRec in $NaturalCustomer/ns18:PartySvcAcctRelRec + return + + { + for $DeclineInfoReason in $PartySvcAcctRelRec/ns18:DeclineInfoReason + return + { data($DeclineInfoReason) } + } + { + for $SvcReason in $PartySvcAcctRelRec/ns18:SvcReason + return + { data($SvcReason) } + } + { + for $EmploymentData in $PartySvcAcctRelRec/ns18:EmploymentData + return + + { + for $Income in $EmploymentData/ns22:Income + return + + { + for $Amt in $Income/ns22:Amt + return + { data($Amt) } + } + + } + { + for $ExtraIncome in $EmploymentData/ns22:ExtraIncome + return + + { + for $Amt in $ExtraIncome/ns22:Amt + return + { data($Amt) } + } + + } + + } + { + for $CustVerificationList in $PartySvcAcctRelRec/ns18:CustVerificationList + return + + { + for $ForeignTransfersInd in $CustVerificationList/ns0:ForeignTransfersInd + return + { data($ForeignTransfersInd) } + } + + } + { + for $RegulatoryInfo in $PartySvcAcctRelRec/ns18:RegulatoryInfo + return + + { + for $AcctUse in $RegulatoryInfo/ns1:AcctUse + return + { data($AcctUse) } + } + { + for $DepositsInfo in $RegulatoryInfo/ns1:DepositsInfo + return + + { + for $DepositsQty in $DepositsInfo/ns1:DepositsQty + return + { data($DepositsQty) } + } + { + for $DepositsRange in $DepositsInfo/ns1:DepositsRange + return + { data($DepositsRange) } + } + + } + { + for $WithdrawalsInfo in $RegulatoryInfo/ns1:WithdrawalsInfo + return + + { + for $WithdrawalsQty in $WithdrawalsInfo/ns1:WithdrawalsQty + return + { data($WithdrawalsQty) } + } + { + for $WithdrawalsRange in $WithdrawalsInfo/ns1:WithdrawalsRange + return + { data($WithdrawalsRange) } + } + + } + { + for $ElecTransInfo in $RegulatoryInfo/ns1:ElecTransInfo + return + + { + for $ElecTransQty in $ElecTransInfo/ns1:ElecTransQty + return + { data($ElecTransQty) } + } + { + for $ElecTransRange in $ElecTransInfo/ns1:ElecTransRange + return + { data($ElecTransRange) } + } + + } + { + for $TransferInfo in $RegulatoryInfo/ns1:TransferInfo + return + + { + for $TransferCountry in $TransferInfo/ns1:TransferCountry + return + { data($TransferCountry) } + } + { + for $TransferType in $TransferInfo/ns1:TransferType + return + { data($TransferType) } + } + + } + { + for $FundsSrc in $RegulatoryInfo/ns1:FundsSrc + return + { data($FundsSrc) } + } + { + for $CurrencyOpe in $RegulatoryInfo/ns1:CurrencyOpe + return + + { + for $CurrencyName in $CurrencyOpe/ns1:CurrencyName + return + { data($CurrencyName) } + } + + } + + } + { + for $Product in $PartySvcAcctRelRec/ns18:Product + return + + { + for $ProdDesc in $Product/ns18:ProdDesc + return + { data($ProdDesc) } + } + + } + + } + + } + +}; + +declare variable $updateCustomerInterview_Rs1 as element(ns29:updateCustomerInterview_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_CanonicalToOutput($updateCustomerInterview_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical.xqy new file mode 100644 index 0000000..ca85257 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical.xqy @@ -0,0 +1,504 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns20="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical($updateCustomerInterview_Rq1 as element(ns20:updateCustomerInterview_Rq)) + as element(ns29:updateCustomerInterview_Rq) { + + { + for $MsgRqHdr in $updateCustomerInterview_Rq1/ns20:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $updateCustomerInterview_Rq1/ns20:NaturalCustomer + return + + { + for $CustId in $NaturalCustomer/ns20:CustId + return + + { + for $CustPermId in $CustId/ns20:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns20:CustInfo + return + + { + for $CustType in $CustInfo/ns20:CustType + return + { data($CustType) } + } + { + for $ContactInfo in $CustInfo/ns20:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns20:PhoneNum + return + + { + for $Phone in $PhoneNum/ns20:Phone + return + { data($Phone) } + } + + } + + } + { + for $PersonInfo in $CustInfo/ns20:PersonInfo + return + + { + for $BirthCountry in $PersonInfo/ns20:BirthCountry + return + { data($BirthCountry) } + } + { + for $ResidenceCountry in $PersonInfo/ns20:ResidenceCountry + return + { data($ResidenceCountry) } + } + { + for $SecondNationality in $PersonInfo/ns20:SecondNationality + return + { data($SecondNationality) } + } + { + for $OtherIdentDoc in $PersonInfo/ns20:OtherIdentDoc + return + + { + for $Type in $OtherIdentDoc/ns20:Type + return + { data($Type) } + } + { + for $IdentSerialNum in $OtherIdentDoc/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + { + for $IssDt in $OtherIdentDoc/ns20:IssDt + return + { data($IssDt) } + } + { + for $ExpDt in $OtherIdentDoc/ns20:ExpDt + return + { data($ExpDt) } + } + + } + + } + + } + { + for $Organization in $NaturalCustomer/ns20:Organization + return + + { + for $IncAgrmt in $Organization/ns20:IncAgrmt + return + + { + for $FormedCountry in $IncAgrmt/ns20:FormedCountry + return + { data($FormedCountry) } + } + + } + + } + { + for $Addr in $NaturalCustomer/ns20:Addr + return + + { + for $Addr1 in $Addr/ns20:Addr1 + return + { data($Addr1) } + } + { + for $City in $Addr/ns20:City + return + { data($City) } + } + + } + { + for $CustVerificationList in $NaturalCustomer/ns20:CustVerificationList + return + + { + for $PayOtherTaxesInd in $CustVerificationList/ns20:PayOtherTaxesInd + return + { data($PayOtherTaxesInd) } + } + { + for $AnswInterwInd in $CustVerificationList/ns20:AnswInterwInd + return + { data($AnswInterwInd) } + } + { + for $USAFlyerInd in $CustVerificationList/ns20:USAFlyerInd + return + { data($USAFlyerInd) } + } + { + for $RelUSAlnd in $CustVerificationList/ns20:RelUSAlnd + return + { data($RelUSAlnd) } + } + { + for $AcctUSAlnd in $CustVerificationList/ns20:AcctUSAlnd + return + { data($AcctUSAlnd) } + } + + } + { + for $PartySvcAcctRelSel in $NaturalCustomer/ns20:PartySvcAcctRelSel + return + + { + for $DeclineInfoReason in $PartySvcAcctRelSel/ns20:DeclineInfoReason + return + { data($DeclineInfoReason) } + } + { + for $SvcReason in $PartySvcAcctRelSel/ns20:SvcReason + return + { data($SvcReason) } + } + { + for $CustInfo in $PartySvcAcctRelSel/ns20:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns20:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns20:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + { + for $EmploymentData in $PartySvcAcctRelSel/ns20:EmploymentData + return + + { + for $Income in $EmploymentData/ns20:Income + return + + { + for $Amt in $Income/ns20:Amt + return + { data($Amt) } + } + + } + { + for $ExtraIncome in $EmploymentData/ns20:ExtraIncome + return + + { + for $Amt in $ExtraIncome/ns20:Amt + return + { data($Amt) } + } + + } + + } + { + for $CustVerificationList in $PartySvcAcctRelSel/ns20:CustVerificationList + return + + { + for $ForeignTransfersInd in $CustVerificationList/ns20:ForeignTransfersInd + return + { data($ForeignTransfersInd) } + } + + } + { + for $RegulatoryInfo in $PartySvcAcctRelSel/ns20:RegulatoryInfo + return + + { + for $AcctUse in $RegulatoryInfo/ns20:AcctUse + return + { data($AcctUse) } + } + { + for $DepositsInfo in $RegulatoryInfo/ns20:DepositsInfo + return + + { + for $DepositsQty in $DepositsInfo/ns20:DepositsQty + return + { data($DepositsQty) } + } + { + for $DepositsRange in $DepositsInfo/ns20:DepositsRange + return + { data($DepositsRange) } + } + + } + { + for $WithdrawalsInfo in $RegulatoryInfo/ns20:WithdrawalsInfo + return + + { + for $WithdrawalsQty in $WithdrawalsInfo/ns20:WithdrawalsQty + return + { data($WithdrawalsQty) } + } + { + for $WithdrawalsRange in $WithdrawalsInfo/ns20:WithdrawalsRange + return + { data($WithdrawalsRange) } + } + + } + { + for $ElecTransInfo in $RegulatoryInfo/ns20:ElecTransInfo + return + + { + for $ElecTransQty in $ElecTransInfo/ns20:ElecTransQty + return + { data($ElecTransQty) } + } + { + for $ElecTransRange in $ElecTransInfo/ns20:ElecTransRange + return + { data($ElecTransRange) } + } + + } + { + for $TransferInfo in $RegulatoryInfo/ns20:TransferInfo + return + + { + for $TransferCountry in $TransferInfo/ns20:TransferCountry + return + { data($TransferCountry) } + } + { + for $TransferType in $TransferInfo/ns20:TransferType + return + { data($TransferType) } + } + + } + { + for $FundsSrc in $RegulatoryInfo/ns20:FundsSrc + return + { data($FundsSrc) } + } + { + for $CurrencyOpe in $RegulatoryInfo/ns20:CurrencyOpe + return + + { + for $CurrencyName in $CurrencyOpe/ns20:CurrencyName + return + { data($CurrencyName) } + } + + } + + } + { + for $Product in $PartySvcAcctRelSel/ns20:Product + return + + { + for $ProdDesc in $Product/ns20:ProdDesc + return + { data($ProdDesc) } + } + + } + { + for $Account in $PartySvcAcctRelSel/ns20:Account + return + + { + for $AcctId in $Account/ns20:AcctId + return + { data($AcctId) } + } + + } + + } + + } + +}; + +declare variable $updateCustomerInterview_Rq1 as element(ns20:updateCustomerInterview_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview_OutputToCanonical($updateCustomerInterview_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd new file mode 100644 index 0000000..6a51400 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerInterview/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerInterview.xsd @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.pipeline b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.pipeline new file mode 100644 index 0000000..57df37a --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/proxy/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.pipeline @@ -0,0 +1,126 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + 1.0 + + + + + + + + por:updateCustomerRelationship_Rq + + ./por:updateCustomerRelationship_Rq + + + + + + + + + + + + + + + $body/por:updateCustomerRelationship_Rq + + + + + + + + + + + + + + nat:updateCustomerRelationship_Rq + + ./direct:updateCustomerRelationship_Rq + + + + + + + + + + + + updateCustomerRelationship + + + + + + nat:updateCustomerRelationship_Rs + + ./direct:updateCustomerRelationship_Rs + + + + + + + + + + + + + + + $body/direct:updateCustomerRelationship_Rs + + + + + + + + + + + + + + por:updateCustomerRelationship_Rs + + ./por:updateCustomerRelationship_Rs + + + + + + + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput.xqy new file mode 100644 index 0000000..eea96a3 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput.xqy @@ -0,0 +1,240 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns19="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns20 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput($updateCustomerRelationship_Rs1 as element(ns29:updateCustomerRelationship_Rs)) + as element(ns19:updateCustomerRelationship_Rs) { + + { + let $MsgRsHdr := $updateCustomerRelationship_Rs1/ns29:MsgRsHdr + return + + { + for $PrivateChannelId in $MsgRsHdr/ns23:PrivateChannelId + return + { data($PrivateChannelId) } + } + { + for $FinalStatusRequest in $MsgRsHdr/ns23:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $CountDataOut in $MsgRsHdr/ns23:CountDataOut + return + { data($CountDataOut) } + } + { + for $HeaderTypeReg in $MsgRsHdr/ns23:HeaderTypeReg + return + { data($HeaderTypeReg) } + } + { + for $DetailTypeReg in $MsgRsHdr/ns23:DetailTypeReg + return + { data($DetailTypeReg) } + } + { + for $TransactionCode in $MsgRsHdr/ns23:TransactionCode + return + { data($TransactionCode) } + } + { + for $SupervisorCode in $MsgRsHdr/ns23:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperationType in $MsgRsHdr/ns23:OperationType + return + { data($OperationType) } + } + { + for $TransactionConsecutive in $MsgRsHdr/ns23:TransactionConsecutive + return + { data($TransactionConsecutive) } + } + { + for $DetailReg in $MsgRsHdr/ns23:DetailReg + return + { data($DetailReg) } + } + { + for $RegisterNumber in $MsgRsHdr/ns23:RegisterNumber + return + { data($RegisterNumber) } + } + { + for $TransactionType in $MsgRsHdr/ns23:TransactionType + return + { data($TransactionType) } + } + { + for $RequestId in $MsgRsHdr/ns23:RequestId + return + { data($RequestId) } + } + { + for $RequestedOperationType in $MsgRsHdr/ns23:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $MessageDate in $MsgRsHdr/ns23:MessageDate + return + { data($MessageDate) } + } + { + for $TransactionTime in $MsgRsHdr/ns23:TransactionTime + return + { data($TransactionTime) } + } + { + for $LastStatusRequest in $MsgRsHdr/ns23:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $ReturnValue in $MsgRsHdr/ns23:ReturnValue + return + { data($ReturnValue) } + } + { + for $RequestStatus in $MsgRsHdr/ns23:RequestStatus + return + { data($RequestStatus) } + } + { + for $MessageTime in $MsgRsHdr/ns23:MessageTime + return + { data($MessageTime) } + } + { + for $TransacctionDate in $MsgRsHdr/ns23:TransacctionDate + return + { data($TransacctionDate) } + } + { + for $RequestNumber in $MsgRsHdr/ns23:RequestNumber + return + { data($RequestNumber) } + } + { + for $AppName in $MsgRsHdr/ns23:AppName + return + { data($AppName) } + } + + } + { + for $Status in $updateCustomerRelationship_Rs1/ns29:Status + return + + { + for $StatusType in $Status/ns27:StatusType + return + { data($StatusType) } + } + { + for $StatusCode in $Status/ns27:StatusCode + return + { data($StatusCode) } + } + { + for $StatusDesc in $Status/ns27:StatusDesc + return + { data($StatusDesc) } + } + { + for $ApplicationName in $Status/ns27:ApplicationName + return + { data($ApplicationName) } + } + { + for $LineNumber in $Status/ns27:LineNumber + return + { data($LineNumber) } + } + { + for $AdditionalStatus in $Status/ns27:AdditionalStatus + return + { $AdditionalStatus/@* , $AdditionalStatus/node() } + } + { + for $Severity in $Status/ns27:Severity + return + { data($Severity) } + } + { + for $StatusInd in $Status/ns27:StatusInd + return + { data($StatusInd) } + } + { + for $LogId in $Status/ns27:LogId + return + { data($LogId) } + } + + } + { + for $NaturalCustomer in $updateCustomerRelationship_Rs1/ns29:NaturalCustomer + return + + { + for $CustRelInfo in $NaturalCustomer/ns18:CustRelInfo + return + + { + for $RelCons in $CustRelInfo/ns18:RelCons + return + { data($RelCons) } + } + + } + + } + +}; + +declare variable $updateCustomerRelationship_Rs1 as element(ns29:updateCustomerRelationship_Rs) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_CanonicalToOutput($updateCustomerRelationship_Rs1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical.xqy b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical.xqy new file mode 100644 index 0000000..19ee8d5 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical.xqy @@ -0,0 +1,424 @@ +xquery version "1.0" encoding "utf-8"; + +(:: OracleAnnotationVersion "1.0" ::) + +declare namespace ns20="http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc"; +(:: import schema at "../xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd" ::) +declare namespace ns29="http://xmlns.banesco.com/Service/NaturalCustomerMgmtSvc"; +(:: import schema at "../../../../BanescoCommonArtifacts/xsd/canonical/Services/NaturalCustomerMgmtSvc.xsd" ::) + +declare namespace ns25 = "http://xmlns.banesco.com/EnterpriseObjects/Addr"; +declare namespace ns26 = "http://xmlns.banesco.com/EnterpriseObjects/MsgRqHdr"; +declare namespace ns27 = "http://xmlns.banesco.com/EnterpriseObjects/Status"; +declare namespace ns28 = "http://xmlns.banesco.com/EnterpriseObjects/TradeRegistry"; +declare namespace ns21 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo_v2.0"; +declare namespace ns22 = "http://xmlns.banesco.com/EnterpriseObjects/EmploymentData_v2.0"; +declare namespace ns23 = "http://xmlns.banesco.com/EnterpriseObjects/Addr_v2.0"; +declare namespace ns24 = "http://xmlns.banesco.com/EnterpriseObjects/Service"; +declare namespace xf = "http://tempuri.org/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xq/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical/"; +declare namespace ns16 = "http://xmlns.banesco.com/EnterpriseObjects/CommonComplexType"; +declare namespace ns17 = "http://xmlns.banesco.com/EnterpriseObjects/Banking"; +declare namespace ns14 = "http://xmlns.banesco.com/EnterpriseObjects/PersonName"; +declare namespace ns15 = "http://xmlns.banesco.com/EnterpriseObjects/ContactInfo_v2.0"; +declare namespace ns18 = "http://xmlns.banesco.com/EnterpriseObjects/NaturalCustomer"; +declare namespace ns19 = "http://xmlns.banesco.com/EnterpriseObjects/Taxes_v2.0"; +declare namespace ns9 = "http://xmlns.banesco.com/EnterpriseObjects/Ref_v2.0"; +declare namespace ns32 = "http://xmlns.banesco.com/EnterpriseObjects/Score"; +declare namespace ns30 = "http://xmlns.banesco.com/EnterpriseObjects/AffiliationSvc"; +declare namespace ns12 = "http://xmlns.banesco.com/EnterpriseObjects/Chk"; +declare namespace ns5 = "http://xmlns.banesco.com/EnterpriseObjects/Contact"; +declare namespace ns31 = "http://xmlns.banesco.com/EnterpriseObjects/PersonInfo"; +declare namespace ns6 = "http://xmlns.banesco.com/EnterpriseObjects/Risk"; +declare namespace ns13 = "http://xmlns.banesco.com/EnterpriseObjects/Product"; +declare namespace ns7 = "http://xmlns.banesco.com/EnterpriseObjects/Investment"; +declare namespace ns10 = "http://xmlns.banesco.com/EnterpriseObjects/Loan"; +declare namespace ns8 = "http://xmlns.banesco.com/EnterpriseObjects/Organization"; +declare namespace ns11 = "http://xmlns.banesco.com/EnterpriseObjects/Organization_v2.0"; +declare namespace ns2 = "http://xmlns.banesco.com/EnterpriseObjects/Fee"; +declare namespace ns1 = "http://xmlns.banesco.com/EnterpriseObjects/RegulatoryInfo"; +declare namespace ns4 = "http://xmlns.banesco.com/EnterpriseObjects/Bankinfo"; +declare namespace ns3 = "http://xmlns.banesco.com/EnterpriseObjects/FinancialInfo"; +declare namespace ns0 = "http://xmlns.banesco.com/EnterpriseObjects/CustVerificationList"; + +declare function xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical($updateCustomerRelationship_Rq1 as element(ns20:updateCustomerRelationship_Rq)) + as element(ns29:updateCustomerRelationship_Rq) { + + { + let $MsgRqHdr := $updateCustomerRelationship_Rq1/ns20:MsgRqHdr + return + + { + for $MessageDate in $MsgRqHdr/ns26:MessageDate + return + { data($MessageDate) } + } + { + for $MessageTime in $MsgRqHdr/ns26:MessageTime + return + { data($MessageTime) } + } + { + for $RequestId in $MsgRqHdr/ns26:RequestId + return + { data($RequestId) } + } + { + for $LastStatusRequest in $MsgRqHdr/ns26:LastStatusRequest + return + { data($LastStatusRequest) } + } + { + for $FinalStatusRequest in $MsgRqHdr/ns26:FinalStatusRequest + return + { data($FinalStatusRequest) } + } + { + for $ResumeId in $MsgRqHdr/ns26:ResumeId + return + { data($ResumeId) } + } + { + for $ReverseId in $MsgRqHdr/ns26:ReverseId + return + { data($ReverseId) } + } + { + for $LineId in $MsgRqHdr/ns26:LineId + return + { data($LineId) } + } + { + for $SourceChannelCode in $MsgRqHdr/ns26:SourceChannelCode + return + { data($SourceChannelCode) } + } + { + for $SupervisorCode in $MsgRqHdr/ns26:SupervisorCode + return + { data($SupervisorCode) } + } + { + for $OperatorCode in $MsgRqHdr/ns26:OperatorCode + return + { data($OperatorCode) } + } + { + for $RequestedOperationType in $MsgRqHdr/ns26:RequestedOperationType + return + { data($RequestedOperationType) } + } + { + for $NetworkTrnInfo in $MsgRqHdr/ns26:NetworkTrnInfo + return + { $NetworkTrnInfo/@* , $NetworkTrnInfo/node() } + } + { + for $ApplicantData in $MsgRqHdr/ns26:ApplicantData + return + { $ApplicantData/@* , $ApplicantData/node() } + } + { + for $RecCtrlIn in $MsgRqHdr/ns26:RecCtrlIn + return + { $RecCtrlIn/@* , $RecCtrlIn/node() } + } + { + for $ReturnValue in $MsgRqHdr/ns26:ReturnValue + return + { data($ReturnValue) } + } + { + for $MessageId in $MsgRqHdr/ns26:MessageId + return + { data($MessageId) } + } + { + for $Priority in $MsgRqHdr/ns26:Priority + return + { data($Priority) } + } + { + for $VBProtocol in $MsgRqHdr/ns26:VBProtocol + return + { $VBProtocol/@* , $VBProtocol/node() } + } + + } + { + for $NaturalCustomer in $updateCustomerRelationship_Rq1/ns20:NaturalCustomer + return + + { + for $CustId in $NaturalCustomer/ns20:CustId + return + + { + for $CustPermId in $CustId/ns20:CustPermId + return + { data($CustPermId) } + } + + } + { + for $CustInfo in $NaturalCustomer/ns20:CustInfo + return + + { + for $PersonInfo in $CustInfo/ns20:PersonInfo + return + + { + for $GovIssueIdent in $PersonInfo/ns20:GovIssueIdent + return + + { + for $IdentSerialNumPrefix in $GovIssueIdent/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $GovIssueIdent/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + + } + + } + { + for $Addr in $NaturalCustomer/ns20:Addr + return + + { + for $Country in $Addr/ns20:Country + return + { data($Country) } + } + { + for $StateProv in $Addr/ns20:StateProv + return + { data($StateProv) } + } + + } + { + for $EmploymentData in $updateCustomerRelationship_Rq1/ns20:NaturalCustomer/ns20:CustRelInfo[1]/ns20:EmploymentData + return + + { + for $JobTitle in $EmploymentData/ns20:JobTitle + return + { data($JobTitle) } + } + { + for $Country in $EmploymentData/ns20:Country + return + { data($Country) } + } + + } + { + for $CustRelInfo in $NaturalCustomer/ns20:CustRelInfo + return + + { + for $StartDt in $CustRelInfo/ns20:StartDt + return + { data($StartDt) } + } + { + for $EndDt in $CustRelInfo/ns20:EndDt + return + { data($EndDt) } + } + { + for $CustRelType in $CustRelInfo/ns20:CustRelType + return + { data($CustRelType) } + } + { + for $RelId in $CustRelInfo/ns20:RelId + return + + { + for $CustRelId in $RelId/ns20:CustRelId + return + { data($CustRelId) } + } + { + for $CustRelIdType in $RelId/ns20:CustRelIdType + return + { data($CustRelIdType) } + } + + } + { + for $Ref in $CustRelInfo/ns20:Ref + return + + { + for $ProductId in $Ref/ns20:ProductId + return + { data($ProductId) } + } + { + for $ProdDesc in $Ref/ns20:ProdDesc + return + { data($ProdDesc) } + } + { + for $IssueDt in $Ref/ns20:IssueDt + return + { data($IssueDt) } + } + { + for $AverageAmount in $Ref/ns20:AverageAmount + return + { data($AverageAmount) } + } + { + for $AverageAmountDesc in $Ref/ns20:AverageAmountDesc + return + { data($AverageAmountDesc) } + } + { + for $IssuingIdent in $Ref/ns20:IssuingIdent + return + + { + for $Name in $IssuingIdent/ns20:Name + return + { data($Name) } + } + + } + + } + { + for $IdentDoc in $CustRelInfo/ns20:IdentDoc + return + + { + for $Type in $IdentDoc/ns20:Type + return + { data($Type) } + } + { + for $IdentSerialNumPrefix in $IdentDoc/ns20:IdentSerialNumPrefix + return + { data($IdentSerialNumPrefix) } + } + { + for $IdentSerialNum in $IdentDoc/ns20:IdentSerialNum + return + { data($IdentSerialNum) } + } + + } + { + for $CustPermId in $CustRelInfo/ns20:CustPermId + return + { data($CustPermId) } + } + { + for $RelCons in $CustRelInfo/ns20:RelCons + return + { data($RelCons) } + } + { + for $PersonInfo in $CustRelInfo/ns20:PersonInfo + return + + { + for $FullName in $PersonInfo/ns20:FullName + return + { data($FullName) } + } + + } + { + for $ContactInfo in $CustRelInfo/ns20:ContactInfo + return + + { + for $PhoneNum in $ContactInfo/ns20:PhoneNum + return + + { + for $Phone in $PhoneNum/ns20:Phone + return + { data($Phone) } + } + { + for $PhoneType in $PhoneNum/ns20:PhoneType + return + { data($PhoneType) } + } + + } + + } + { + for $OrgInfo in $CustRelInfo/ns20:OrgInfo + return + + { + for $LegalName in $OrgInfo/ns20:LegalName + return + { data($LegalName) } + } + { + for $TradeRegistry in $OrgInfo/ns20:TradeRegistry + return + + { + for $RegistryName in $TradeRegistry/ns20:RegistryName + return + { data($RegistryName) } + } + { + for $RegistryNum in $TradeRegistry/ns20:RegistryNum + return + { data($RegistryNum) } + } + { + for $Volume in $TradeRegistry/ns20:Volume + return + { data($Volume) } + } + { + for $FolioNumber in $TradeRegistry/ns20:FolioNumber + return + { data($FolioNumber) } + } + { + for $RegistryDt in $TradeRegistry/ns20:RegistryDt + return + { data($RegistryDt) } + } + { + for $RegistryExpDt in $TradeRegistry/ns20:RegistryExpDt + return + { data($RegistryExpDt) } + } + + } + + } + { + for $RelFrom in $CustRelInfo/ns20:RelFrom + return + { data($RelFrom) } + } + + } + + } + +}; + +declare variable $updateCustomerRelationship_Rq1 as element(ns20:updateCustomerRelationship_Rq) external; + +xf:PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship_OutputToCanonical($updateCustomerRelationship_Rq1) \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd new file mode 100644 index 0000000..4e23ff4 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/operations/updateCustomerRelationship/xsd/PortalAGSNaturalCustomerOutAppSvc_updateCustomerRelationship.xsd @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/pom.xml b/PortalAGSNaturalCustomerOutAppSvc/pom.xml new file mode 100644 index 0000000..13db963 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/pom.xml @@ -0,0 +1,20 @@ + + + + 4.0.0 + + + com.oracle.servicebus + sbar-project-common + 12.2.1-5-0 + + + PortalAGSNaturalCustomerOutAppSvc + PortalAGSNaturalCustomerOutAppSvc + 1.0-SNAPSHOT + + sbar + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.pipeline b/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.pipeline new file mode 100644 index 0000000..0738e15 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.pipeline @@ -0,0 +1,43 @@ + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + + 1.0 + + + + + + + + + {fn:concat("PortalAGSNaturalCustomerOutAppSvc/operations/",$operation,"/proxy/PortalAGSNaturalCustomerOutAppSvc_",$operation)} + {data($operation)} +]]> + + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.proxy b/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.proxy new file mode 100644 index 0000000..83c0db9 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/proxy/PortalAGSNaturalCustomerOutAppSvc.proxy @@ -0,0 +1,44 @@ + + + + + + + + + + PortalAGSNaturalCustomerOutAppSvcSOAP + http://xmlns.banesco.com/ApplicationService/PortalAGSNaturalCustomerOutAppSvc + + + + + + full + 30000 + + + + + no-policies + + + + 1.0 + + + + http + true + + /PortalAGSNaturalCustomerOutAppSvc/Proxy/PortalAGSNaturalCustomerOutAppSvc + + + + + + false + + + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/servicebus.sboverview b/PortalAGSNaturalCustomerOutAppSvc/servicebus.sboverview new file mode 100644 index 0000000..07a6ddb --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/servicebus.sboverview @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/PortalAGSNaturalCustomerOutAppSvc/wsdl/PortalAGSNaturalCustomerOutAppSvc.wsdl b/PortalAGSNaturalCustomerOutAppSvc/wsdl/PortalAGSNaturalCustomerOutAppSvc.wsdl new file mode 100644 index 0000000..8eb8cb0 --- /dev/null +++ b/PortalAGSNaturalCustomerOutAppSvc/wsdl/PortalAGSNaturalCustomerOutAppSvc.wsdl @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..7ef33f4 --- /dev/null +++ b/pom.xml @@ -0,0 +1,19 @@ + + + + 4.0.0 + + PortalAGSNaturalCustomerOutAppSvc + PortalAGSNaturalCustomerOutAppSvc + 1.0-SNAPSHOT + + pom + + + System + BanescoCommonArtifacts + PortalAGSNaturalCustomerOutAppSvc + NaturalCustomerMgmtSvc + + + \ No newline at end of file