[extra-standard] r1939 committed - Erste Version. EVoat 12

0 views
Skip to first unread message

extra-s...@googlecode.com

unread,
Sep 24, 2014, 9:39:28 AM9/24/14
to extra-sta...@googlegroups.com
Revision: 1939
Author: potap.ren...@gmail.com
Date: Wed Sep 24 13:38:42 2014 UTC
Log: Erste Version. EVoat 12
https://code.google.com/p/extra-standard/source/detail?r=1939

Added:
/trunk/java/procedures/extra-voat12/README.txt
/trunk/java/procedures/extra-voat12/pom.xml
/trunk/java/procedures/extra-voat12/src/main/assembly
/trunk/java/procedures/extra-voat12/src/main/assembly/assembly.xml
/trunk/java/procedures/extra-voat12/src/main/bin
/trunk/java/procedures/extra-voat12/src/main/bin/extra.bat
/trunk/java/procedures/extra-voat12/src/main/conf
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1

/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/extra-properties-basic.properties

/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/extra-properties-user.properties

/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/logging-config.xml

/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/phase1-fetchresult-profil.xml
/trunk/java/procedures/extra-voat12/src/main/logs
/trunk/java/procedures/extra-voat12/src/main/logs/dummy.txt
/trunk/java/procedures/extra-voat12/src/main/resources
/trunk/java/procedures/extra-voat12/src/main/resources/db
/trunk/java/procedures/extra-voat12/src/main/resources/db/hsqldb
/trunk/java/procedures/extra-voat12/src/main/resources/db/hsqldb/migration

/trunk/java/procedures/extra-voat12/src/main/resources/db/hsqldb/migration/V6__1_0_0_createScenarioEVoat12Ausland.sql
/trunk/java/procedures/extra-voat12/src/main/resources/db/oracle
/trunk/java/procedures/extra-voat12/src/main/resources/db/oracle/migration

/trunk/java/procedures/extra-voat12/src/main/resources/db/oracle/migration/V6__1_0_0_createScenarioEVoat12Ausland.sql
/trunk/java/procedures/extra-voat12/src/main/soapui

/trunk/java/procedures/extra-voat12/src/main/soapui/extra-evoat12-soapui-project.xml
/trunk/java/procedures/extra-voat12/src/test
/trunk/java/procedures/extra-voat12/src/test/java
/trunk/java/procedures/extra-voat12/src/test/java/de
/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard

/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard/procedures

/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard/procedures/evoat12

/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard/procedures/evoat12/acceptance

/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard/procedures/evoat12/acceptance/Phase1AcceptanceIT.java
/trunk/java/procedures/extra-voat12/src/test/resources
/trunk/java/procedures/extra-voat12/src/test/resources/conf
/trunk/java/procedures/extra-voat12/src/test/resources/conf/acceptance

/trunk/java/procedures/extra-voat12/src/test/resources/conf/acceptance/spring-acceptance-flyway.xml
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1

/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-basic.properties

/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-user.properties

/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-user.properties_example

/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/logging-config.xml

/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/phase1-fetchresult-profil.xml

/trunk/java/procedures/extra-voat12/src/test/resources/conf/testglobalconfig

/trunk/java/procedures/extra-voat12/src/test/resources/conf/testglobalconfig/extra-database.properties
/trunk/java/procedures/extra-voat12/src/test/resources/logs
/trunk/java/procedures/extra-voat12/src/test/resources/logs/dummy.txt
/trunk/java/procedures/extra-voat12/src/test/resources/work
/trunk/java/procedures/extra-voat12/src/test/resources/work/reports

/trunk/java/procedures/extra-voat12/src/test/resources/work/reports/dummy.txt
/trunk/java/procedures/extra-voat12/src/test/resources/work/responses

/trunk/java/procedures/extra-voat12/src/test/resources/work/responses/dummy.txt
Modified:
/trunk/java/procedures/extra-voat12
/trunk/java/procedures/extra-voat12/src/main/docs/phase1/1_request.xml

=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/README.txt Wed Sep 24 13:38:42 2014
UTC
@@ -0,0 +1,3 @@
+README
+
+Beschreibt Konfiguration zu dem Scenarion eVoat12
=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/pom.xml Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ | Licensed to the Apache Software Foundation (ASF) under one
+ | or more contributor license agreements. See the NOTICE file
+ | distributed with this work for additional information
+ | regarding copyright ownership. The ASF licenses this file
+ | to you under the Apache License, Version 2.0 (the
+ | "License"); you may not use this file except in compliance
+ | with the License. You may obtain a copy of the License at
+ |
+ | http://www.apache.org/licenses/LICENSE-2.0
+ |
+ | Unless required by applicable law or agreed to in writing,
+ | software distributed under the License is distributed on an
+ | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ | KIND, either express or implied. See the License for the
+ | specific language governing permissions and limitations
+ | under the License.
+ -->
+<!--
+ | version: $Id: pom.xml 509 2012-09-04 09:37:29Z thorst...@gmail.com $
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>de.extra-standard</groupId>
+ <artifactId>extra-parent</artifactId>
+ <version>1.0.0</version>
+ <relativePath />
+ </parent>
+
+ <groupId>de.extra-standard.procedures</groupId>
+ <artifactId>extra-evoat12</artifactId>
+ <version>1.1.0</version>
+ <packaging>jar</packaging>
+ <name>extra-evoat12</name>
+ <description>Elektronischer Antrag auf Vorschusszahlung</description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>de.extra-standard</groupId>
+ <artifactId>extra-cli</artifactId>
+ <version>2.2.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>de.extra-standard</groupId>
+ <artifactId>extra-cli</artifactId>
+ <version>2.2.0</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>de.extra-standard</groupId>
+ <artifactId>extra-execution-jpa</artifactId>
+ <version>2.2.0</version>
+ <scope>test</scope>
+ <type>test-jar</type>
+ </dependency>
+
+ <dependency>
+ <groupId>com.googlecode.flyway</groupId>
+ <artifactId>flyway-core</artifactId>
+ <version>2.0.3</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>development</id>
+ <build>
+ <plugins>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>production</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>assembly</id>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>${project.build.finalName}</finalName>
+ <descriptors>
+ <descriptor>src/main/assembly/assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>copy-files-test-properties</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <!-- Konfiguration fuer Unit-Tests uebernehmen -->
+ <configuration>
+ <target>
+ <!-- Procedure Sterbedaten Italien -->
+ <!-- Phase 1 -->
+ <copy
+
file="${project.basedir}/src/main/conf/evoat12/phase1/extra-properties-basic.properties"
+
tofile="${project.basedir}/src/test/resources/conf/phase1/extra-properties-basic.properties"
/>
+ <copy
+
file="${project.basedir}/src/main/conf/evoat12/phase1/logging-config.xml"
+
tofile="${project.basedir}/src/test/resources/conf/phase1/logging-config.xml"
/>
+ <copy
+
file="${project.basedir}/src/main/conf/evoat12/phase1/phase1-fetchresult-profil.xml"
+
tofile="${project.basedir}/src/test/resources/conf/phase1/phase1-fetchresult-profil.xml"
/>
+ <copy
+
file="${project.basedir}/src/test/resources/conf/phase1/extra-properties-user.properties_example"
+
tofile="${project.basedir}/src/test/resources/conf/phase1/extra-properties-user.properties"
+ overwrite="false" />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/src/main/assembly/assembly.xml Wed
Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,54 @@
+<assembly
+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>extra-sterbedaten-ausland</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>extra-voat12</baseDirectory>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>src/main/bin</directory>
+ <outputDirectory>/bin</outputDirectory>
+ <filtered>true</filtered>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/conf</directory>
+ <outputDirectory>/conf</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/logs</directory>
+ <outputDirectory>/logs</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/docs</directory>
+ <outputDirectory>/docs</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/soapui</directory>
+ <outputDirectory>/soapui</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/test/resources/work</directory>
+ <outputDirectory>/work</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources/db/oracle/migration</directory>
+ <outputDirectory>/sql_oracle</outputDirectory>
+ <filtered>false</filtered>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources/db/hsqldb/migration</directory>
+ <outputDirectory>/sql_hsqldb</outputDirectory>
+ <filtered>false</filtered>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>README.txt</source>
+ <outputDirectory>/</outputDirectory>
+ </file>
+ </files>
+</assembly>
=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/src/main/bin/extra.bat Wed Sep 24
13:38:42 2014 UTC
@@ -0,0 +1,54 @@
+@echo off
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
+rem
---------------------------------------------------------------------------
+rem eXTra Startscript. Voraussetzung ist die Setzung der Umgebungsvariable
+rem EXTRA_CLIENT_HOME.
+rem Als Argument wird der Pfad zum Konfigurationsverzeichnis erwartet
+rem
+rem version: $Id$
+rem
---------------------------------------------------------------------------
+
+if "%EXTRA_CLIENT_HOME%" == "" goto env_undefined
+
+if "%1"=="" goto conf_fehlt
+
+rem eXTra-Client Aufruf
+set CURRENT_DIR=%CD%
+pushd %~dp0..\logs
+set LOGFILEPATH=%CD%
+popd
+rem %EXTRA_CLIENT_HOME%\bin\extra-cli.bat -m DRV
-g %EXTRA_CLIENT_HOME%\config -l "%LOGFILEPATH%"
-c %~f1 %2 %3 %4 %5 %6 %7 %8 %9
+%EXTRA_CLIENT_HOME%\bin\extra-cli.bat -m DRV %1 %2 %3 %4 %5 %6 %7 %8 %9
+goto end
+
+:exit
+exit /b 32
+
+:end
+if "%ERRORLEVEL%"=="1" exit /b 32
+if not "%ERRORLEVEL%"=="" echo exit mit code %ERRORLEVEL%
+exit /b %ERRORLEVEL%
+
+:env_undefined
+echo Bitte die Umgebungsvariable EXTRA_CLIENT_HOME setzen.
+exit /b %RETURN_CODE_ERROR%
+
+:conf_fehlt
+echo Bitte das Konfigurationsverzeichnis angeben
+exit /b 32
+
+:exit
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/extra-properties-basic.properties
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,60 @@
+# =========================================================
+# == Sterbedatenaustausch Ausland zwischen DSRV und DPRS ==
+# == Basiskonfigurationsdatei Phase 2 Italien ==
+# == Muss im allgemeinen nicht mehr angepasst werden! ==
+# =========================================================
+
+# Procedure und Phase
+core.execution.procedure=EVoat12
+core.execution.phase=PHASE1
+
+# -------------
+# -- Plugins --
+# -------------
+plugins.configplugin=defaultConfigPlugin
+plugins.dataplugin=dbMaxResponseIdQueryDataPlugin
+plugins.outputplugin=wsCxfOutputPlugin
+plugins.responseprocessplugin=fileSystemResultPackageDataResponseProcessPlugin
+plugins.execution=executionPersistenceJpa
+
+# Profilierungsdatei
+plugins.configplugin.defaultConfigPlugin.profilFileName=phase1-fetchresult-profil.xml
+
+# Erfolgreich vom Server empfangene Dateien erhalten diesen Status (WAIT
oder DONE)
+plugins.responseprocessplugin.fileSystemResultPackageDataResponseProcessPlugin.successStatus=DONE
+
+# positive Server Return-Codes
+de.extra.client.core.util.ExtraReturnCodeAnalyser.returncodelist=C00,I000,E98,E97
+
+# --------------------
+# -- XML Processing --
+# --------------------
+core.outgoing.validation=false
+
+# --------------------
+# -- Web Service Einstellungen --
+# --------------------
+plugins.outputplugin.wsCxfOutputPlugin.emtom-enabled=true
+
+# ----------------------------------------
+# -- MessageHeaderBuilder Konfiguration --
+# ----------------------------------------
+message.builder.header.requestDetail.procedure=http://www.extra-standard.de/procedures/EVoat12
+message.builder.header.requestDetail.dataType=http://www.extra-standard.de/datatypes/DataRequest
+message.builder.header.requestDetail.scenario=http://www.extra-standard.de/scenario/request-with-response
+
+message.builder.header.testIndicator=http://www.extra-standard.de/test/NONE
+message.builder.header.senderId.class=
+message.builder.header.senderId.value=ec-1
+message.builder.header.senderNameValue=eXTra-Client
+message.builder.header.receiverId.class=
+message.builder.header.receiverId.value=es-1
+message.builder.header.receiverNameValue=eXTra-Server
+message.builder.transport.attributes.extraProfile=http://www.extra-standard.de/profile/DUSKO/1.0
+
+# -------------------------------
+# -- Xml-Builder Konfiguration --
+# -------------------------------
+builder.xplg.DataSource=dataSourceConfigurablePluginsBuilder
+builder.xcpt.ElementSequence=transportBodyRequestQueryElementSequenceBuilder
+
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/extra-properties-user.properties
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,10 @@
+# =========================================================
+# == Sterbedatenaustausch Ausland zwischen DSRV und DPRS ==
+# == Benutzerkonfigurationsdatei Phase 2 Italien ==
+# == Bitte Einstellungen anpassen! ==
+# =========================================================
+
+# ===================
+# == Verzeichnisse ==
+# ===================
+plugins.responseprocessplugin.fileSystemResultPackageDataResponseProcessPlugin.eingangOrdner=../work/evoat12/responses
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/logging-config.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<configuration>
+
+ <timestamp key="now" datePattern="yyyyMMdd_HHmmss" />
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <Pattern>%date{ISO8601,Europe/Berlin}:
[%level{6}]: %logger{10} %msg%n</Pattern>
+ </encoder>
+ </appender>
+
+ <appender name="OPERATION_FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-execution_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-execution_developer_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: [%thread]
[%level{6}]: %logger{10} %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="MESSAGE_FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-message_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+
+ <logger name="org.springframework" level="ERROR" />
+ <logger name="org.hibernate" level="ERROR" />
+ <logger name="org.apache" level="ERROR" />
+
+ <logger name="de.extra.client.core.annotation" level="INFO" />
+ <logger name="de.extra.client.core.builder" level="INFO" />
+
+ <logger name="de.extra.client.logging" level="DEBUG" />
+
+ <!--WS CXF Level DEBUG Schaltet Logging der WS Klients an. Bietet
hilfreiche Logging Informationen,
+ wenn Logging Interseptor wegen größere Nachrichten nicht eingeschaltet
werden kann -->
+ <logger name="org.apache.cxf.endpoint.ClientImpl" level="DEBUG" />
+
+
+ <!--WSCXF Level INFO schaltet Logging der SOAP Nachrichten an, WARN ab
-->
+ <logger name="org.apache.cxf.services.ExtraService.extraPort"
level="INFO" />
+
+
+ <logger name="de.extra.client.operation" level="INFO">
+ <appender-ref ref="OPERATION_FILE" />
+ </logger>
+
+
+ <!-- extra Nachrichten -->
+ <logger name="de.extra.client.message.request" level="INFO">
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+ <logger name="de.extra.client.message.response" level="INFO">
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+
+ <!-- extra Nachrichten CXF Level INFO schaltet Logging der SOAP
Nachrichten an, WARN ab -->
+ <logger name="org.apache.cxf.services.ExtraService.extraPort"
level="INFO" >
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+
+ <root level="DEBUG">
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</configuration>
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/conf/evoat12/phase1/phase1-fetchresult-profil.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<profil-configuration
+ xmlns:xcpt="http://www.extra-standard.de/namespace/components/1"
+ xmlns:xplg="http://www.extra-standard.de/namespace/plugins/1"
+ xmlns:xreq="http://www.extra-standard.de/namespace/request/1">
+ <element>
+ <Name>xcpt:Transport</Name>
+ </element>
+ <element>
+ <Name>req:TransportHeader</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>req:TransportBody</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>req:TransportPlugins</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Sender</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Receiver</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:TestIndicator</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:RequestDetails</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Data</Name>
+ <Elternelement>TransportBody</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:ElementSequence</Name>
+ <Elternelement>Data</Elternelement>
+ </element>
+</profil-configuration>
=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/src/main/logs/dummy.txt Wed Sep 24
13:38:42 2014 UTC
@@ -0,0 +1,1 @@
+dummy
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/resources/db/hsqldb/migration/V6__1_0_0_createScenarioEVoat12Ausland.sql
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,10 @@
+--------------------------------------------------------
+-- Initiale Datenbankbefuellung Sterbedatenabgleich
+-- HSQLDB Database.
+--------------------------------------------------------
+
+INSERT INTO MANDATOR VALUES(2,'DRV')
+
+INSERT INTO PROCEDURE_TYPE VALUES(2,'Voat12')
+INSERT INTO PROCEDURE_PHASE_CONFIGURATION VALUES(7,'PHASE1',NULL,2)
+INSERT INTO PROCEDURE VALUES(2,'Voat12','STMELD_AUSL',2,2)
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/resources/db/oracle/migration/V6__1_0_0_createScenarioEVoat12Ausland.sql
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,25 @@
+--------------------------------------------------------
+-- Initiale Datenbankbefuellung Sterbedatenabgleich
+-- Oracle Database.
+--------------------------------------------------------
+
+
+Insert into PROCEDURE_TYPE (ID, NAME)
+ Values (seq_procedure_type_id.nextval, 'HollSendeBetrieb');
+
+
+Insert into PROCEDURE_PHASE_CONFIGURATION
+ (ID, PHASE, PROCEDURE_TYPE_ID, NEXT_PHASE_CONFIGURATION_ID)
+ Values
+ (seq_procephase_config_id.nextval,
+ 'PHASE1',
+ (select id from procedure_type where name = 'HollSendeBetrieb'),
+ null);
+
+Insert into PROCEDURE
+ (ID, NAME, SHORT_KEY, MANDATOR_ID, PROCEDURE_TYPE_ID)
+ Values
+ (seq_procedure_id.nextval, 'Elektronischer Antrag auf
Vorschusszahlung', 'Voat12',
+ (select id from MANDATOR where name = 'DRV'),
+ (select id from PROCEDURE_TYPE where name = 'HollSendeBetrieb'));
+
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/main/soapui/extra-evoat12-soapui-project.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,6041 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<con:soapui-project activeEnvironment="Default" name="ExtraWS
Sterbedatenabgleich" resourceRoot="" soapui-version="4.5.1"
abortOnError="false" runType="SEQUENTIAL"
xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface
xsi:type="con:WsdlInterface" wsaVersion="NONE" name="extraSOAP" type="wsdl"
bindingName="{http://www.extra-standard.de/namespace/webservice}extraSOAP"
soapVersion="1_1" anonymous="optional"
definition="file:/D:/eclipse-workspaces/extra/eXTra%20Full/components/extra-outputplugin-ws/src/main/wsdl/extra.wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache
type="TEXT"
rootPart="file:/D:/eclipse-workspaces/extra/eXTra%20Full/components/extra-outputplugin-ws/src/main/wsdl/extra.wsdl"><con:part><con:url>file:/D:/eclipse-workspaces/extra/eXTra%20Full/components/extra-outputplugin-ws/src/main/wsdl/extra.wsdl</con:url><con:content><![CDATA[<wsdl:definitions
name="extra"
targetNamespace="http://www.extra-standard.de/namespace/webservice"
xmlns:extraws="http://www.extra-standard.de/namespace/webservice"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:extrarequest="http://www.extra-standard.de/namespace/request/1"
xmlns:extraresponse="http://www.extra-standard.de/namespace/response/1"
xmlns:extraerror="http://www.extra-standard.de/namespace/service/1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <xsd:schema>
+ <xsd:import
namespace="http://www.extra-standard.de/namespace/request/1"
schemaLocation="eXTra-request-1.xsd"/>
+ <xsd:import
namespace="http://www.extra-standard.de/namespace/response/1"
schemaLocation="eXTra-response-1.xsd"/>
+ <xsd:import
namespace="http://www.extra-standard.de/namespace/service/1"
schemaLocation="extra-error-1.xsd"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="executeRequest">
+ <wsdl:part element="extrarequest:Transport" name="request"/>
+ </wsdl:message>
+ <wsdl:message name="executeResponse">
+ <wsdl:part element="extraresponse:Transport" name="response"/>
+ </wsdl:message>
+ <wsdl:message name="extraFault">
+ <wsdl:part element="extraerror:ExtraError" name="fault"/>
+ </wsdl:message>
+ <wsdl:portType name="extra">
+ <wsdl:operation name="execute">
+ <wsdl:input message="extraws:executeRequest"/>
+ <wsdl:output message="extraws:executeResponse"/>
+ <wsdl:fault name="fault" message="extraws:extraFault"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="extraSOAP" type="extraws:extra">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="execute">
+ <soap:operation
soapAction="http://www.extra-standard.de/namespace/webservice/execute"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="fault">
+ <soap:fault name="fault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="extra">
+ <wsdl:port binding="extraws:extraSOAP" name="extraSOAP">
+ <soap:address location="http://localhost/SPoC/execute"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part><con:part><con:url>file:\D:\eclipse-workspaces\extra\eXTra%20Full\components\extra-outputplugin-ws\src\main\wsdl\eXTra-request-1.xsd</con:url><con:content><![CDATA[<!--Schema
module
describing eXTra request documents
+
+ @file eXTra-request-1.xsd
+ @author Michael Schäfer, Statistisches Bundesamt
+ @version 1.3.0
+ @state RELEASE
+ @date 2011-09-12
+
+ @changed 2009-05-05 MS + Added support for TransformedData
+ @changed 2009-07-17 MS - Removed XHTML namespace
+ @changed 2010-07-12 MS - Removed '../plugins/1' import
+ @changed 2011-06-17 MS + Added root element 'Transport'
+ / Deprecated root element 'XMLTransport'
+ @changed 2011-09-12 1.3 MS / Set schema version to 1.3-->
+<xs:schema
targetNamespace="http://www.extra-standard.de/namespace/request/1"
attributeFormDefault="unqualified" elementFormDefault="qualified"
version="1.3.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xcpt="http://www.extra-standard.de/namespace/components/1"
xmlns:xreq="http://www.extra-standard.de/namespace/request/1"
xmlns:xlog="http://www.extra-standard.de/namespace/logging/1"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
xmlns="http://www.extra-standard.de/namespace/request/1">
+ <!--Import shared element declarations and type declarations-->
+ <xs:import
namespace="http://www.extra-standard.de/namespace/components/1"
schemaLocation="eXTra-components-1.xsd"/>
+ <!--Import eXTra Logging namespace-->
+ <xs:import namespace="http://www.extra-standard.de/namespace/logging/1"
schemaLocation="eXTra-logging-1.xsd"/>
+ <!--Import XML Encryption namespace-->
+ <xs:import namespace="http://www.w3.org/2001/04/xmlenc#"
schemaLocation="xenc-schema.xsd"/>
+ <xs:complexType name="TransportRequestType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:RootElementType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="TransportHeader" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="TransportPlugIns" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="TransportBody" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xlog:Logging" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="xcpt:Signatures" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--Other type declarations-->
+ <xs:complexType name="TransportRequestHeaderType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="xcpt:TestIndicator" minOccurs="0"
maxOccurs="1"/>
+ <xs:element ref="xcpt:Sender" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:Receiver" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:RequestDetails" minOccurs="1"
maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--TransportRequestBodyType
+ @changed 2009-05-05 MS + Added TransformedData to choice group-->
+ <xs:complexType name="TransportRequestBodyType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element ref="xenc:EncryptedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="xcpt:TransformedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="Package" minOccurs="1" maxOccurs="unbounded"/>
+ <xs:element ref="Message" minOccurs="1" maxOccurs="unbounded"/>
+ <xs:element ref="xcpt:Data" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PackageRequestType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="PackageHeader" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="PackagePlugIns" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="PackageBody" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xlog:Logging" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="xcpt:Signatures" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PackageRequestHeaderType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="xcpt:TestIndicator" minOccurs="0"
maxOccurs="1"/>
+ <xs:element ref="xcpt:Sender" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:Receiver" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:RequestDetails" minOccurs="1"
maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--PackageRequestBodyType
+ @changed 2009-05-05 MS + Added TransformedData to choice group-->
+ <xs:complexType name="PackageRequestBodyType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element ref="xenc:EncryptedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="xcpt:TransformedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="Message" minOccurs="1" maxOccurs="unbounded"/>
+ <xs:element ref="xcpt:Data" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="MessageRequestType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="MessageHeader" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="MessagePlugIns" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="MessageBody" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xlog:Logging" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="xcpt:Signatures" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="MessageRequestHeaderType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:sequence minOccurs="1" maxOccurs="1">
+ <xs:element ref="xcpt:TestIndicator" minOccurs="0"
maxOccurs="1"/>
+ <xs:element ref="xcpt:Sender" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:Receiver" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="xcpt:RequestDetails" minOccurs="1"
maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--MessageRequestBodyType
+ @changed 2009-05-05 MS + Added TransformedData to choice group-->
+ <xs:complexType name="MessageRequestBodyType">
+ <xs:complexContent>
+ <xs:extension base="xcpt:ElementWithOptionalVersionType">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element ref="xenc:EncryptedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="xcpt:TransformedData" minOccurs="1"
maxOccurs="1"/>
+ <xs:element ref="xcpt:Data" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--Element declarations-->
+ <!--Transport Layer-->
+ <xs:element name="Transport" type="TransportRequestType"/>
+ <!--@deprecated 2011-06-21 1.3 MS-->
+ <xs:element name="XMLTransport" type="TransportRequestType"/>
+ <xs:element name="TransportHeader" type="TransportRequestHeaderType"/>
+ <xs:element name="TransportPlugIns" type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="TransportBody" type="TransportRequestBodyType"/>
+ <!--Package layer-->
+ <xs:element name="Package" type="PackageRequestType"/>
+ <xs:element name="PackageHeader" type="PackageRequestHeaderType"/>
+ <xs:element name="PackagePlugIns" type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="PackageBody" type="PackageRequestBodyType"/>
+ <!--Message layer-->
+ <xs:element name="Message" type="MessageRequestType"/>
+ <xs:element name="MessageHeader" type="MessageRequestHeaderType"/>
+ <xs:element name="MessagePlugIns" type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="MessageBody" type="MessageRequestBodyType"/>
+</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:\D:\eclipse-workspaces\extra\eXTra%20Full\components\extra-outputplugin-ws\src\main\wsdl\eXTra-components-1.xsd</con:url><con:content><![CDATA[<!--Schema
module
describing shared eXTra components
+
+ @file eXTra-components-1.xsd
+ @author [MS] Michael Schäfer, Statistisches Bundesamt
+ @version 1.3.0
+ @state RELEASE
+ @date 2011-09-12
+
+ @changed 2009-07-17 1.1 MS - Removed XHTML namespace
+ @changed 2010-02-21 MS + Added version '1.2'
+ @changed 2010-07-04 MS / Restricted version identifier to '1.2'
+ @changed 2010-07-12 MS / Made 'ResponseDetailsType' non-abstract
+ @changed 2011-06-17 MS / Changed type of element 'DataType'
to 'xcode:DataTypeCodeType'
+ @changed 2010-09-12 1.3 MS - Added values '1.0', 1.1', 1.3'
+ @changed 2011-09-12 1.3 MS / Set schema version to 1.3-->
+<xs:schema
targetNamespace="http://www.extra-standard.de/namespace/components/1"
attributeFormDefault="unqualified" elementFormDefault="qualified"
version="1.3.0" xmlns="http://www.extra-standard.de/namespace/components/1"
xmlns:xcode="http://www.extra-standard.de/namespace/codelists/1"
xmlns:xplg="http://www.extra-standard.de/namespace/plugins/1"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
+ <!--Import eXTra code lists-->
+ <xs:import
namespace="http://www.extra-standard.de/namespace/codelists/1"
schemaLocation="eXTra-codelists-1.xsd"/>
+ <!--Import eXTra plug-ins-->
+ <xs:import namespace="http://www.extra-standard.de/namespace/plugins/1"
schemaLocation="eXTra-plugins-1.xsd"/>
+ <!--Import XML Signature namespace-->
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
+ <!--Simple content types-->
+ <xs:simpleType name="AbstractVersionType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[1-9][0-9]*.[0-9]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--@changed 2009-09-09 1.1 MS + Added value '1.1'
+ @changed 2010-02-21 1.2 MS + Added value '1.2'
+ @changed 2010-07-04 1.2 MS - Removed values < '1.2'
+ @changed 2010-09-12 1.3 MS - Added values '1.0', 1.1', 1.3'-->
+ <xs:simpleType name="SupportedVersionsType">
+ <xs:restriction base="AbstractVersionType">
+ <!--@deleted 2010-07-04 1.2 MS
+ @{code %
+ <xs:enumeration value="1.0"/>
+ <xs:enumeration value="1.1"/>
+ %}-->
+ <xs:enumeration value="1.0"/>
+ <xs:enumeration value="1.1"/>
+ <xs:enumeration value="1.2"/>
+ <xs:enumeration value="1.3"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="ProfileIDType">
+ <xs:restriction base="SimpleURIencodableType"/>
+ </xs:simpleType>
+ <xs:simpleType name="ScenarioType">
+ <xs:annotation>
+ <xs:documentation>Any valid URI is permitted to indicate the choosen
scenario. However, it is
+ recommended to use one of following predefined values:
+ - http://www.extra-standard.de/scenario/fire-and-forget
+ -
http://www.extra-standard.de/scenario/request-with-response
+ -
http://www.extra-standard.de/scenario/request-with-acknowlegdement
+ Each of these values may be extended by appending a '#'
character and any
+ URI compatible value to it, such as in:
+ -
http://www.extra-standard.de/scenario/request-with-response#noSig</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xcode:ScenarioCodeType"/>
+ </xs:simpleType>
+ <xs:simpleType name="ProcessIDType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ <xs:simpleType name="SimpleIDType">
+ <xs:restriction base="xs:token"/>
+ </xs:simpleType>
+ <xs:simpleType name="SimpleClassType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ <xs:simpleType name="SimpleNameType">
+ <xs:restriction base="xs:token"/>
+ </xs:simpleType>
+ <xs:simpleType name="SimpleTypeType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ <xs:simpleType name="SimpleStringType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ <xs:complexType name="PropertyType">
+ <xs:simpleContent>
+ <xs:extension base="SimpleStringType">
+ <xs:attribute name="type" type="xcode:XSDPrefixedTypeCodes"
default="xs:string"/>
+ <xs:attribute name="name" type="xs:token"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="TextType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="ClassifiableStringType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="class" type="SimpleClassType" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="ClassifiableIDType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="class" type="SimpleClassType" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:simpleType name="SimpleURIencodableType">
+ <xs:restriction base="xs:anyURI"/>
+ </xs:simpleType>
+ <xs:complexType name="FlagCodeType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!--Complex content types-->
+ <!--@deleted 2010-07-04 1.2 MS
+ @{code %
+ <xs:complexType name="ElementWithVersionType" abstract="true">
+ <xs:attribute name="version" type="SupportedVersionsType"
use="required"/>
+ </xs:complexType>
+ %}-->
+ <!--@changed 2010-07-04 1.2 MS / Type of version changed from
SupportedVersionsType
+ to AbstractVersionType
+ @{code %
+ <xs:complexType name="ElementWithOptionalVersionType"
abstract="true">
+ <xs:attribute name="version" type="SupportedVersionsType"
use="optional"/>
+ </xs:complexType>
+ %}-->
+ <xs:complexType name="ElementWithOptionalVersionType" abstract="true">
+ <xs:attribute name="version" type="AbstractVersionType"
use="optional"/>
+ </xs:complexType>
+ <!--@changed 2010-07-04 1.2 MS - Removed dependency on
ElementWithVersionType
+ @{code %
+ <xs:complexType name="RootElementType" abstract="true">
+ <xs:complexContent>
+ <xs:extension base="ElementWithVersionType">
+ <xs:attribute name="profile" type="ProfileIDType"
use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ %}-->
+ <xs:complexType name="RootElementType" abstract="true">
+ <xs:attribute name="version" type="SupportedVersionsType"
use="required"/>
+ <xs:attribute name="profile" type="ProfileIDType" use="required"/>
+ </xs:complexType>
+ <xs:complexType name="ApplicationType">
+ <xs:sequence>
+ <xs:element ref="Product" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Manufacturer" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="RegistrationID" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ReceiverType">
+ <xs:sequence>
+ <xs:element ref="ReceiverID" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Name" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="SenderType">
+ <xs:sequence>
+ <xs:element ref="SenderID" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Name" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="RequestDetailsType">
+ <xs:sequence>
+ <xs:element ref="RequestID" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="TimeStamp" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="Application" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="Procedure" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="DataType" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="Scenario" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!--@changed 2010-07-12 1.2 MS - Removed attribute 'abstract'-->
+ <xs:complexType name="ResponseDetailsType">
+ <xs:sequence>
+ <xs:element ref="ResponseID" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="TimeStamp" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Application" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="Report" minOccurs="1" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ReportType">
+ <xs:sequence>
+ <xs:element ref="Flag" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="highestWeight" type="xcode:WeightCodeType"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="FlagType">
+ <xs:sequence>
+ <xs:element ref="Code" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Text" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Stack" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="XPath" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="Originator" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ <xs:attribute name="weight" type="xcode:WeightCodeType"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="Base64CharSequenceType">
+ <xs:simpleContent>
+ <xs:extension base="xs:base64Binary"
xmime:expectedContentTypes="application/octet-stream"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="AnyXMLType">
+ <xs:complexContent>
+ <xs:extension base="xs:anyType"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="XMLFragmentType">
+ <xs:complexContent>
+ <xs:extension base="AnyXMLType">
+ <xs:attribute name="id" type="xs:string" use="optional"/>
+ <xs:attribute name="xpath" type="xs:string" use="optional"/>
+ <xs:attribute name="documentReference" type="xs:string"
use="optional"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="CharSequenceType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!--ElementSequenceType
+ @changed 2009-05-05 MS / Set attribute 'processContents'
to 'lax'-->
+ <xs:complexType name="ElementSequenceType">
+ <xs:sequence>
+ <xs:any namespace="##any" minOccurs="1" maxOccurs="unbounded"
processContents="lax"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="LoggingType">
+ <xs:sequence>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##local"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="SignaturesType">
+ <xs:sequence>
+ <xs:element ref="ds:Signature" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="DataType">
+ <xs:choice>
+ <xs:element ref="CharSequence" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Base64CharSequence" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="ElementSequence" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="AnyXML" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ </xs:complexType>
+ <xs:complexType name="AnyPlugInContainerType">
+ <xs:sequence>
+ <xs:any namespace="http://www.extra-standard.de/namespace/plugins/1"
minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="TestIndicator" type="xcode:TestIndicatorCodeType"/>
+ <xs:element name="Name" type="TextType"/>
+ <xs:element name="ReceiverID" type="ClassifiableIDType"/>
+ <xs:element name="SenderID" type="ClassifiableIDType"/>
+ <xs:element name="RequestID" type="ClassifiableIDType"/>
+ <xs:element name="ResponseID" type="ClassifiableIDType"/>
+ <xs:element name="TimeStamp" type="xs:dateTime"/>
+ <xs:element name="Scenario" type="ScenarioType"/>
+ <xs:element name="Procedure" type="SimpleNameType"/>
+ <xs:element name="DataType" type="xcode:DataTypeCodeType"/>
+ <xs:element name="Product" type="TextType"/>
+ <xs:element name="Manufacturer" type="SimpleStringType"/>
+ <xs:element name="RegistrationID" type="ClassifiableIDType"/>
+ <xs:element name="ComponentID" type="SimpleStringType"/>
+ <xs:element name="ProcessID" type="ProcessIDType"/>
+ <xs:element name="Code" type="FlagCodeType"/>
+ <xs:element name="Text" type="TextType"/>
+ <xs:element name="Stack" type="TextType"/>
+ <xs:element name="XPath" type="TextType"/>
+ <xs:element name="Originator" type="TextType"/>
+ <xs:element name="Application" type="ApplicationType"/>
+ <xs:element name="Report" type="ReportType"/>
+ <xs:element name="Flag" type="FlagType"/>
+ <xs:element name="Receiver" type="ReceiverType"/>
+ <xs:element name="Sender" type="SenderType"/>
+ <xs:element name="RequestDetails" type="RequestDetailsType"/>
+ <xs:element name="ResponseDetails" type="ResponseDetailsType"/>
+ <xs:element name="AnyXML" type="AnyXMLType"/>
+ <xs:element name="Base64CharSequence" type="Base64CharSequenceType"/>
+ <xs:element name="CharSequence" type="CharSequenceType"/>
+ <xs:element name="ElementSequence" type="ElementSequenceType"/>
+ <xs:element name="Data" type="DataType"/>
+ <xs:element name="XMLFragment" type="XMLFragmentType"/>
+ <xs:element name="Property" type="PropertyType"/>
+ <xs:element name="Signatures" type="SignaturesType"/>
+ <!--TransformedData
+ @created 2009-05-04 MS-->
+ <xs:element name="TransformedData" type="xplg:TransformedDataType"/>
+</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:\D:\eclipse-workspaces\extra\eXTra%20Full\components\extra-outputplugin-ws\src\main\wsdl\eXTra-codelists-1.xsd</con:url><con:content><![CDATA[<!--Schema
module
describing eXTra codelists
+
+ @file eXTra-codelists-1.xsd
+ @author [MS] Michael Schäfer, Statistisches Bundesamt
+ @version 1.3.0
+ @state RELEASE
+ @date 2011-09-12
+
+ @changed 2009-07-17 1.1 MS - Removed XHTML namespace
+ @changed 2010-07-04 1.2 MS + Added EnpointCodeType
+ @changed 2011-06-17 1.2 MS + Added DataTypeCodeType
+ @changed 2011-06-17 1.2 MS + Added DataTypeCodeType
+ @changed 2011-08-22 1.3 MS / Changed 'RepeatResponseRequest'
to 'RepeatResponse'
+ @changed 2011-09-12 1.3 MS / Set schema version to 1.3-->
+<xs:schema
targetNamespace="http://www.extra-standard.de/namespace/codelists/1"
attributeFormDefault="unqualified" elementFormDefault="qualified"
version="1.3.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.extra-standard.de/namespace/codelists/1">
+ <!--@changed 2009-07-17 MS / Changed base type to xs:anyURI
+ @changed 2009-07-17 MS + Added fallback pattern-->
+ <xs:simpleType name="ScenarioCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting the
communication scenario as defined by the sender of a request.
+ Base values:
+ - http://www.extra-standard.de/scenario/fire-and-forget
+ -
http://www.extra-standard.de/scenario/request-with-response
+ -
http://www.extra-standard.de/scenario/request-with-acknowledgement</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="http://www.extra-standard.de/scenario/(fire-and-forget|
request-with-response|
request-with-acknowledgement)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="CompressionAlgorithmCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting a compression
algorithm. In addition,
+ any URI outside the www.extra-standard.de domain may be
used.
+ Base values:
+ - http://www.extra-standard.de/transforms/compression/NONE
+ - http://www.extra-standard.de/transforms/compression/GZIP
+ - http://www.extra-standard.de/transforms/compression/ZIP
+ -
http://www.extra-standard.de/transforms/compression/JET</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="http://www.extra-standard.de/transforms/compression/(NONE|GZIP|ZIP|
JET)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="EncryptionAlgorithmCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting an encryption
algorithm. In addition,
+ any URI outside the www.extra-standard.de domain may be
used.
+ Base values:
+ - http://www.extra-standard.de/transforms/encryption/NONE
+ - http://www.extra-standard.de/transforms/encryption/PKCS7
+ -
http://www.extra-standard.de/transforms/encryption/PEM</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="http://www.extra-standard.de/transforms/encryption/(NONE|PKCS7|
PEM)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--@changed 2009-07-15 MS / Replaced 'encryption' with 'signature' in
comment and pattern-->
+ <xs:simpleType name="SignatureAlgorithmCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting a signature
algorithm. In addition,
+ any URI outside the www.extra-standard.de domain may be
used.
+ Base values:
+ - http://www.extra-standard.de/transforms/signature/NONE
+ - http://www.extra-standard.de/transforms/signature/PKCS7
+ -
http://www.extra-standard.de/transforms/signature/PEM</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="http://www.extra-standard.de/transforms/signature/(NONE|PKCS7|
PEM)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="WeightCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting the weight of
a flag in a response' processing report.
+ Base values:
+ - http://www.extra-standard.de/weight/OK
+ - http://www.extra-standard.de/weight/INFO
+ - http://www.extra-standard.de/weight/WARNING
+ -
http://www.extra-standard.de/weight/ERROR</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/weight/(OK|INFO|
WARNING|ERROR)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--@changed 2009-07-15 MS + Added enum value 'ACCEPT'-->
+ <xs:simpleType name="TestIndicatorCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting the handling
of test messages as set by the sender of an request.
+ Base values:
+ - http://www.extra-standard.de/test/NONE
+ - http://www.extra-standard.de/test/RECEIVE
+ - http://www.extra-standard.de/test/PROCESS
+ -
http://www.extra-standard.de/test/ACCEPT</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/test/(NONE|RECEIVE|
PROCESS|ACCEPT)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="UsageCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting the usage of a
parameter or object to be logged.
+ Base values:
+ - http://www.extra-standard.de/usage/UNDEFINED
+ - http://www.extra-standard.de/usage/IN
+ - http://www.extra-standard.de/usage/OUT
+ -
http://www.extra-standard.de/usage/INOUT</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/usage/(UNDEFINED|IN|
OUT|INOUT)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="OperationCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting an operation
to be logged.
+ Base values:
+ - http://www.extra-standard.de/operation/UNDEFINED
+ - http://www.extra-standard.de/operation/SEND
+ - http://www.extra-standard.de/operation/RECEIVE
+ - http://www.extra-standard.de/operation/ENCRYPT
+ - http://www.extra-standard.de/operation/DECRYPT
+ - http://www.extra-standard.de/operation/COMPRESS
+ - http://www.extra-standard.de/operation/DECOMPRESS
+ - http://www.extra-standard.de/operation/VALIDATE
+ - http://www.extra-standard.de/operation/SIGN
+ -
http://www.extra-standard.de/operation/CHECK-SIGNATURE</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/operation/(UNDEFINED|
SEND|RECEIVE|ENCRYPT|DECRYPT|COMPRESS|DECOMPRESS|VALIDATE|SIGN|
CHECK-SIGNATURE)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="DataContainerCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting a data
container type.
+ Base values:
+ - http://www.extra-standard.de/container/DATABASE
+ -
http://www.extra-standard.de/container/FILE</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/container/(DATABASE|
FILE)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--@created 2010-07-04 MS-->
+ <xs:simpleType name="EndpointCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting a contact
endpoint type. In addition,
+ any URI outside the www.extra-standard.de domain may be
used.
+ Base values:
+ - http://www.extra-standard.de/endpoint/SMTP
+ - http://www.extra-standard.de/endpoint/PHONE
+ -
http://www.extra-standard.de/endpoint/URL</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://www.extra-standard.de/endpoint/(SMTP|PHONE|
URL)(#[a-zA-Z0-9]([.\-][a-zA-Z0-9]+)*)?"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--@created 2011-06-17 1.3.0 MS
+ @changed 2011-08-22 1.3.0 MS / Changed 'RepeatResponseRequest'
to 'RepeatResponse'-->
+ <xs:simpleType name="DataTypeCodeType">
+ <xs:annotation>
+ <xs:documentation>A list of extensible codes denoting a data type.
In addition,
+ any URI outside the www.extra-standard.de domain may be
used.
+ Base values:
+ -
http://www.extra-standard.de/datatype/RepeatResponse</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="http://www.extra-standard.de/datatype/(RepeatResponse)"/>
+ <xs:pattern value=".+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="XSDPrefixedTypeCodes">
+ <xs:annotation>
+ <xs:documentation>A list of prefixed XSD atomic type
names</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:QName">
+ <!--Strings and names-->
+ <xs:enumeration value="xs:string"/>
+ <xs:enumeration value="xs:normalizedString"/>
+ <xs:enumeration value="xs:token"/>
+ <xs:enumeration value="xs:Name"/>
+ <xs:enumeration value="xs:NCName"/>
+ <xs:enumeration value="xs:QName"/>
+ <xs:enumeration value="xs:language"/>
+ <!--Numeric-->
+ <xs:enumeration value="xs:float"/>
+ <xs:enumeration value="xs:double"/>
+ <xs:enumeration value="xs:decimal"/>
+ <xs:enumeration value="xs:integer"/>
+ <xs:enumeration value="xs:long"/>
+ <xs:enumeration value="xs:int"/>
+ <xs:enumeration value="xs:short"/>
+ <xs:enumeration value="xs:byte"/>
+ <xs:enumeration value="xs:positiveInteger"/>
+ <xs:enumeration value="xs:nonPositiveInteger"/>
+ <xs:enumeration value="xs:negativeInteger"/>
+ <xs:enumeration value="xs:nonNegativeInteger"/>
+ <xs:enumeration value="xs:unsignedLong"/>
+ <xs:enumeration value="xs:unsignedInt"/>
+ <xs:enumeration value="xs:unsignedShort"/>
+ <xs:enumeration value="xs:unsignedByte"/>
+ <!--Date and time-->
+ <xs:enumeration value="xs:duration"/>
+ <xs:enumeration value="xs:dateTime"/>
+ <xs:enumeration value="xs:date"/>
+ <xs:enumeration value="xs:time"/>
+ <xs:enumeration value="xs:gYear"/>
+ <xs:enumeration value="xs:gMonth"/>
+ <xs:enumeration value="xs:gYearMonth"/>
+ <xs:enumeration value="xs:gMonthDay"/>
+ <xs:enumeration value="xs:gDay"/>
+ <!--legacy types-->
+ <xs:enumeration value="xs:ID"/>
+ <xs:enumeration value="xs:IDREF"/>
+ <xs:enumeration value="xs:IDREFS"/>
+ <xs:enumeration value="xs:ENTITY"/>
+ <xs:enumeration value="xs:ENITIES"/>
+ <xs:enumeration value="xs:NMTOKEN"/>
+ <xs:enumeration value="xs:NMTOKENS"/>
+ <xs:enumeration value="xs:NOTATION"/>
+ <!--Other-->
+ <xs:enumeration value="xs:boolean"/>
+ <xs:enumeration value="xs:hexBinary"/>
+ <xs:enumeration value="xs:base64Binary"/>
+ <xs:enumeration value="xs:anyURI"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:\D:\eclipse-workspaces\extra\eXTra%20Full\components\extra-outputplugin-ws\src\main\wsdl\eXTra-plugins-1.xsd</con:url><con:content><![CDATA[<!--Schema
module
describing eXTra plugins and associated components
+
+ @file eXTra-plugins-1.xsd
+ @author [MS] Michael Schäfer, Statistisches Bundesamt
+ @version 1.2.0
+ @state RELEASE
+ @date 2011-09-12
+
+ @changed 2011-09-12 1.3 MS / Set @state to RELEASE-->
+<xs:schema
targetNamespace="http://www.extra-standard.de/namespace/plugins/1"
attributeFormDefault="unqualified" elementFormDefault="qualified"
version="1.2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xcode="http://www.extra-standard.de/namespace/codelists/1"
xmlns:xcpt="http://www.extra-standard.de/namespace/components/1"
xmlns="http://www.extra-standard.de/namespace/plugins/1">
+ <!--Import of code list declarations-->
+ <xs:import
namespace="http://www.extra-standard.de/namespace/codelists/1"
schemaLocation="eXTra-codelists-1.xsd"/>
+ <!--Import of code list declarations-->
+ <xs:import
namespace="http://www.extra-standard.de/namespace/components/1"
schemaLocation="eXTra-components-1.xsd"/>
+ <!--DataTransforms
+ @changed 2010-07-04 1.2 MS + Added attribute @{link version} with
value '1.2'-->
+ <xs:complexType name="DataTransformsType">
+ <xs:complexContent>
+ <xs:extension base="AbstractPlugInType">
+ <xs:sequence>
+ <xs:element name="Compression" type="CompressionType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="Encryption" type="EncryptionType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="Signature" type="SignatureType" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="version">
+ <xs:simpleType>
+ <xs:restriction base="xcpt:AbstractVersionType">
+ <xs:enumeration value="1.2"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--AbstractTransformType
+ An abstract base type for defining types describing some sort of
transform.
+ Attribute 'order' remains syntactically unchanged in version 1.1,
but its
+ semantics differ when used in conjunction with
element 'TransformedData'.
+ The content of attribute 'order' is then interpreted as an
identifier of a
+ transform rather than an index into a sequence of transforms,
meaning that
+ it does no longer specify the order in which transforms were
performed on
+ the data.
+ Transform ids are placed inside the attribute
TransformedData/@transfroms'
+ in the order in which the transforms were applied to the data.
Conversely,
+ the order of transforms can be derived from the order of ids
placed in the
+ 'transforms' attribute.
+
+ When not used together with 'TransformedData', the semantics of
attribute
+ 'order' are the same as in version 1.0.
+
+ @created 2009-05-04 1.1 MS
+ @changed 2009-07-17 1.1 MS / Made type abstract-->
+ <xs:complexType name="AbstractTransformType" abstract="true">
+ <xs:attribute name="order" type="xs:positiveInteger" use="required"/>
+ </xs:complexType>
+ <!--Certificates
+ @changed 2010-07-04 1.2 MS + Added attribute @{link version} with
value '1.0'-->
+ <xs:complexType name="CertificatesType">
+ <xs:complexContent>
+ <xs:extension base="AbstractPlugInType">
+ <xs:sequence>
+ <xs:element name="X509EncCertificate" type="X509CertificateType"
minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="version">
+ <xs:simpleType>
+ <xs:restriction base="xcpt:AbstractVersionType">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--ContactsType
+ @created 2010-06-29 1.2 MS
+ @changed 2010-07-04 1.2 MS + Added attribute @{link version} with
value '1.0'-->
+ <xs:complexType name="ContactsType">
+ <xs:complexContent>
+ <xs:extension base="AbstractPlugInType">
+ <xs:sequence>
+ <xs:element name="SenderContact" type="ContactType"
minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="version">
+ <xs:simpleType>
+ <xs:restriction base="xcpt:AbstractVersionType">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--ContactType
+ @created 2010-06-29 MS-->
+ <xs:complexType name="ContactType">
+ <xs:sequence>
+ <xs:element name="Endpoint" type="EndpointType"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="usageHint" type="UsageHintType"/>
+ </xs:complexType>
+ <!--EndpointType
+ @created 2010-06-29 MS-->
+ <xs:complexType name="EndpointType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="type" type="EndpointTypeType" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!--EndpointTypeType
+ @created 2010-05-20 MS-->
+ <xs:simpleType name="EndpointTypeType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="SMTP"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <!--CompressionType
+ @changed 2009-05-04 MS / Now derived from ref:AbstractTransformType
+ Moved attribute 'order' to
ref:AbstractTransformType-->
+ <xs:complexType name="CompressionType">
+ <xs:complexContent>
+ <xs:extension base="AbstractTransformType">
+ <xs:sequence>
+ <xs:element name="Algorithm" type="CompressionAlgorithmType"/>
+ <xs:element name="InputData" type="DataType" minOccurs="0"/>
+ <xs:element name="OutputData" type="DataType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--EncryptionType
+ @changed 2009-05-04 MS / Now derived from ref:AbstractTransformType
+ Moved attribute 'order' to
ref:AbstractTransformType-->
+ <xs:complexType name="EncryptionType">
+ <xs:complexContent>
+ <xs:extension base="AbstractTransformType">
+ <xs:sequence>
+ <xs:element name="Algorithm" type="EncryptionAlgorithmType"/>
+ <xs:element name="InputData" type="DataType" minOccurs="0"/>
+ <xs:element name="OutputData" type="DataType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--SignatureType
+ @changed 2009-05-04 MS / Now derived from ref:AbstractTransformType
+ Moved attribute 'order' to
ref:AbstractTransformType
+ @changed 2009-06-29 MS + Added element @{link X509Certificate}-->
+ <xs:complexType name="SignatureType">
+ <xs:complexContent>
+ <xs:extension base="AbstractTransformType">
+ <xs:sequence>
+ <xs:element name="Algorithm" type="SignatureAlgorithmType"/>
+ <xs:element name="X509Certificate" type="X509CertificateType"
minOccurs="0"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="CompressionAlgorithmType">
+ <xs:complexContent>
+ <xs:extension base="AbstractAlgorithmType">
+ <xs:attribute name="id" type="xcode:CompressionAlgorithmCodeType"
use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="EncryptionAlgorithmType">
+ <xs:complexContent>
+ <xs:extension base="AbstractAlgorithmType">
+ <xs:attribute name="id" type="xcode:EncryptionAlgorithmCodeType"
use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="SignatureAlgorithmType">
+ <xs:complexContent>
+ <xs:extension base="AbstractAlgorithmType">
+ <xs:attribute name="id" type="xcode:SignatureAlgorithmCodeType"
use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--TransformedDataType
+ Represents transformed data as a base64 string. The 'transforms'
attributes holds a
+ list of ids that point to transforms described in a DataTransforms
plugin that resides
+ in the same document, package or message object. The ids must
appear in the order in
+ which the transforms were applied to the data.
+
+ @created 2009-05-04 MS-->
+ <xs:complexType name="TransformedDataType">
+ <xs:simpleContent>
+ <xs:extension base="xs:base64Binary">
+ <xs:attribute name="transforms">
+ <xs:simpleType>
+ <xs:list itemType="TransformIDType"/>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!--TransformIDType
+ Defines a data type for transform ids. Currently, a transform id
must be an integer value
+ for compatibility with the use of the @{link
AbstractTransformType/@order} attribute
+ established in version 1.0. This will remain so for all versions
1.x. From version
+ 2.0 on, this attribute will be replaced with @{link
AbstractTransformType/@id}, and
+ the type will be extended to accommodate a wider range of values.
+
+ @created 2009-05-04 MS-->
+ <xs:simpleType name="TransformIDType">
+ <xs:restriction base="xs:integer"/>
+ </xs:simpleType>
+ <!--DataSource
+ @changed 2010-07-04 MS + Added attribute @{link version} with
value '1.0'-->
+ <xs:complexType name="DataSourceType">
+ <xs:complexContent>
+ <xs:extension base="AbstractPlugInType">
+ <xs:sequence>
+ <xs:element name="DataContainer" type="DataContainerType"/>
+ </xs:sequence>
+ <xs:attribute name="version">
+ <xs:simpleType>
+ <xs:restriction base="xcpt:AbstractVersionType">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DataContainerType">
+ <xs:sequence>
+ <xs:element name="DataSet" type="DataSetType" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="type" type="xcode:DataContainerCodeType"
use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="created" type="xs:dateTime" use="optional"/>
+ <xs:attribute name="encoding" type="xs:string" use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="DataSetType">
+ <xs:attribute name="type" type="xs:anyURI" use="optional"/>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="lastModified" type="xs:dateTime" use="optional"/>
+ </xs:complexType>
+ <!--@created 2010-05-20 MS-->
+ <xs:complexType name="AbstractX509CertificateType" abstract="true">
+ <xs:sequence>
+ <xs:element name="Value" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!--@changed 2010-05-20 MS / Now derived from @{link
AbstractX509CertificateType}-->
+ <xs:complexType name="X509CertificateType">
+ <xs:complexContent>
+ <xs:extension base="AbstractX509CertificateType"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <!--Miscellaneous-->
+ <!--AbstractPlugInType
+ @changed 2010-07-04 1.2 MS - Removed attribute version for
allowing plug-in specific values-->
+ <xs:complexType name="AbstractPlugInType" abstract="true">
+ <!--@deleted 2010-07-04 1.2 MS
+ @{code %
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[1-9][0-9]*.[0-9]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ %}-->
+ </xs:complexType>
+ <xs:complexType name="AbstractAlgorithmType" abstract="true">
+ <xs:sequence>
+ <xs:element name="Specification" type="SpecificationType"
minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="version" type="xs:string" use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="SpecificationType">
+ <xs:attribute name="name" type="xs:string" use="required"/>
***The diff for this file has been truncated for email.***
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/java/de/extrastandard/procedures/evoat12/acceptance/Phase1AcceptanceIT.java
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,152 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package de.extrastandard.procedures.evoat12.acceptance;
+
+import java.util.List;
+import java.util.Set;
+
+import javax.inject.Inject;
+import javax.inject.Named;
+
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.test.context.ContextConfiguration;
+import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
+import
org.springframework.test.context.transaction.TransactionConfiguration;
+import org.springframework.transaction.annotation.Transactional;
+
+import de.extra.client.starter.ExtraClient;
+import de.extra.client.starter.ExtraClientTestBasic;
+import de.extrastandard.api.model.execution.ICommunicationProtocol;
+import de.extrastandard.api.model.execution.IExecution;
+import de.extrastandard.api.model.execution.IPhaseConnection;
+import de.extrastandard.api.model.execution.IProcessTransition;
+import de.extrastandard.api.model.execution.PersistentStatus;
+import de.extrastandard.api.model.execution.PhaseQualifier;
+import de.extrastandard.persistence.model.CommunicationProtocol;
+import de.extrastandard.persistence.model.Execution;
+import de.extrastandard.persistence.model.ExecutionPersistenceJpa;
+import de.extrastandard.persistence.model.Procedure;
+import de.extrastandard.persistence.model.ProcessTransition;
+import
de.extrastandard.persistence.repository.CommunicationProtocolRepository;
+import de.extrastandard.persistence.repository.ExecutionRepository;
+import de.extrastandard.persistence.repository.ProcedureRepository;
+
+/**
+ * <pre>
+ * Acceptance Test für die Fachverfahren Sterbedaten Phase 2.
+ * Test setzt eine Oracle Datenbankschema vorraus.
+ * Das eXTra Schema wird vor jedem Test neu angelegt und mit der Testdaten
initial gefüllt.
+ * </pre>
+ *
+ * @author Leonid Potap
+ *
+ */
+@RunWith(SpringJUnit4ClassRunner.class)
+@ContextConfiguration(locations = { "/spring-persistence-jpa.xml",
+ "/conf/acceptance/phase1/property-placeholder-acceptance-phase1.xml",
+ "/conf/acceptance/spring-acceptance-flyway.xml" })
+@TransactionConfiguration(transactionManager = "transactionManager",
defaultRollback = true)
+@Transactional
+public class Phase1AcceptanceIT {
+
+ private static final Logger logger = LoggerFactory
+ .getLogger(Phase1AcceptanceIT.class);
+
+ private static final String DRV = "DRV";
+
+ private static final String GLOBAL_CONFIG_PATH
= "/conf/testglobalconfig";
+
+ private static final String CONFIG_PATH = "/conf/phase1";
+
+ private static final String LOG_DIR = "/logs";
+
+ private final ExtraClientTestBasic extraClientTestBasic = new
ExtraClientTestBasic();
+
+ @Inject
+ @Named("executionPersistenceJpa")
+ private ExecutionPersistenceJpa executionPersistenceJpa;
+
+ @Inject
+ private CommunicationProtocolRepository communicationProtocolRepository;
+
+ @Inject
+ private ProcedureRepository procedureRepository;
+
+ @Inject
+ @Named("executionRepository")
+ private ExecutionRepository executionRepository;
+
+ @Before
+ public void setUp() throws Exception {
+ final ExtraClient extraClient =
extraClientTestBasic.createExtraClient(DRV, GLOBAL_CONFIG_PATH,
CONFIG_PATH, LOG_DIR);
+ extraClientTestBasic.testExecute(extraClient);
+ }
+
+ @Test
+ public void checkDBResuls() {
+ logger.info("CheckDBResults started");
+ final int expectedExecutionSize = 1;
+ final int expectedCommunicationsProtokolSize = 3;
+ final String expectedPhase = "PHASE1";
+ final String expectedParametersSuffix = "phase1";
+ final String expectedReturnCode = "C00";
+
+ final List<Execution> allExecutions = executionRepository.findAll();
+ Assert.assertEquals("Unexpected Execution Size", expectedExecutionSize,
+ allExecutions.size());
+ for (final Execution execution : allExecutions) {
+ Assert.assertNull("ErrorCode is not null", execution.getErrorCode());
+ Assert.assertNull("ErrorMessage is not null",
+ execution.getErrorMessage());
+ Assert.assertEquals("Unexpected Phase", expectedPhase,
+ execution.getPhase());
+ Assert.assertNotNull("Parameters ist null",
+ execution.getParameters());
+ Assert.assertTrue(
+ "Unexpected Parameters: " + execution.getParameters(),
+ execution.getParameters()
+ .endsWith(expectedParametersSuffix));
+ final ProcessTransition lastTransition = execution
+ .getLastTransition();
+ Assert.assertNotNull("LastTransition ist null", lastTransition);
+ final String statusName = lastTransition.getCurrentStatus()
+ .getName();
+ Assert.assertEquals("Unexpected Phase",
+ PersistentStatus.DONE.name(), statusName);
+ final Set<ICommunicationProtocol> communicationProtocols = execution
+ .getCommunicationProtocols();
+ Assert.assertEquals("Unexpected Count of CommunicationProtokols",
+ expectedCommunicationsProtokolSize, communicationProtocols.size());
+ for (final ICommunicationProtocol communicationProtocol :
communicationProtocols) {
+ Assert.assertEquals("Unexpected ReturnCode",
+ expectedReturnCode,
+ communicationProtocol.getReturnCode());
+ Assert.assertNull("Unexpected nextPhaseConnection",
+ communicationProtocol.getNextPhaseConnection());
+ }
+ }
+ logger.info("CheckDBResults successfully completed");
+
+ }
+}
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/acceptance/spring-acceptance-flyway.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:tx="http://www.springframework.org/schema/tx"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/data/jpa
http://www.springframework.org/schema/data/jpa/spring-jpa-1.1.xsd
+ http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd
+ http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd">
+
+ <bean id="flyway_clean" class="com.googlecode.flyway.core.Flyway"
init-method="clean">
+ <property name="dataSource" ref="dbcpDataSource"/>
+ </bean>
+
+ <bean id="flyway_migrate" class="com.googlecode.flyway.core.Flyway"
init-method="migrate" depends-on="flyway_clean">
+ <property name="dataSource" ref="dbcpDataSource"/>
+ <property name="locations">
+ <list>
+ <value>#{
flyway_locations.get('${plugins.execution.executionPersistenceJpa.hibernate.database}')}</value>
+ </list>
+ </property>
+ </bean>
+
+ <util:map id="flyway_locations">
+ <entry key="HSQL" value="/db/hsqldb/migration"/>
+ <entry key="ORACLE" value="/db/oracle/migration"/>
+ </util:map>
+
+
+
+</beans>
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-basic.properties
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,60 @@
+# =========================================================
+# == Sterbedatenaustausch Ausland zwischen DSRV und DPRS ==
+# == Basiskonfigurationsdatei Phase 2 Italien ==
+# == Muss im allgemeinen nicht mehr angepasst werden! ==
+# =========================================================
+
+# Procedure und Phase
+core.execution.procedure=Voat12
+core.execution.phase=PHASE1
+
+# -------------
+# -- Plugins --
+# -------------
+plugins.configplugin=defaultConfigPlugin
+plugins.dataplugin=dbMaxResponseIdQueryDataPlugin
+plugins.outputplugin=wsCxfOutputPlugin
+plugins.responseprocessplugin=fileSystemResultPackageDataResponseProcessPlugin
+plugins.execution=executionPersistenceJpa
+
+# Profilierungsdatei
+plugins.configplugin.defaultConfigPlugin.profilFileName=phase1-fetchresult-profil.xml
+
+# Erfolgreich vom Server empfangene Dateien erhalten diesen Status (WAIT
oder DONE)
+plugins.responseprocessplugin.fileSystemResultPackageDataResponseProcessPlugin.successStatus=DONE
+
+# positive Server Return-Codes
+de.extra.client.core.util.ExtraReturnCodeAnalyser.returncodelist=C00,I000,E98,E97
+
+# --------------------
+# -- XML Processing --
+# --------------------
+core.outgoing.validation=false
+
+# --------------------
+# -- Web Service Einstellungen --
+# --------------------
+plugins.outputplugin.wsCxfOutputPlugin.emtom-enabled=true
+
+# ----------------------------------------
+# -- MessageHeaderBuilder Konfiguration --
+# ----------------------------------------
+message.builder.header.requestDetail.procedure=http://www.extra-standard.de/procedures/EVoat12
+message.builder.header.requestDetail.dataType=http://www.extra-standard.de/datatypes/DataRequest
+message.builder.header.requestDetail.scenario=http://www.extra-standard.de/scenario/request-with-response
+
+message.builder.header.testIndicator=http://www.extra-standard.de/test/NONE
+message.builder.header.senderId.class=
+message.builder.header.senderId.value=ec-1
+message.builder.header.senderNameValue=eXTra-Client
+message.builder.header.receiverId.class=
+message.builder.header.receiverId.value=es-1
+message.builder.header.receiverNameValue=eXTra-Server
+message.builder.transport.attributes.extraProfile=http://www.extra-standard.de/profile/DUSKO/1.0
+
+# -------------------------------
+# -- Xml-Builder Konfiguration --
+# -------------------------------
+builder.xplg.DataSource=dataSourceConfigurablePluginsBuilder
+builder.xcpt.ElementSequence=transportBodyRequestQueryElementSequenceBuilder
+
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-user.properties
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,26 @@
+# =========================================================
+# == Sterbedatenaustausch Ausland zwischen DSRV und DPRS ==
+# == Test-Benutzerkonfigurationsdatei Phase 2 ==
+# == Bitte Einstellungen anpassen! ==
+# =========================================================
+
+# ===================
+# == Verzeichnisse ==
+# ===================
+plugins.responseprocessplugin.fileSystemResultPackageDataResponseProcessPlugin.eingangOrdner=classpath:work/responses
+
+# ==========================
+# == Test ==
+# ==========================
+# Fuer interne Tests ist ein 'dummyOutputPlugin' voreingestellt
+# Webservices-Plugin wird verwendet (def. in ...user.prop...), wenn
folgende Zeile auskommentiert wird:
+#plugins.outputplugin=dummyQueryDataResponceOutputPlugin
+plugins.outputplugin=wsCxfOutputPlugin
+
+# Webservices (eXTra Server)
+plugins.outputplugin.wsOutputPlugin.endpoint.url=http://localhost:8088/mockExtraEVoat12Phase1
+
+# Unterstuetzt vom wsCxfOutputPlugin. Default Value=false
+plugins.outputplugin.wsCxfOutputPlugin.emtom-enabled=false
+# Unterstuetzt vom wsCxfOutputPlugin. Default Value=false
+#plugins.outputplugin.wsCxfOutputPlugin.validation=true
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/extra-properties-user.properties_example
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,26 @@
+# =========================================================
+# == Sterbedatenaustausch Ausland zwischen DSRV und DPRS ==
+# == Test-Benutzerkonfigurationsdatei Phase 2 ==
+# == Bitte Einstellungen anpassen! ==
+# =========================================================
+
+# ===================
+# == Verzeichnisse ==
+# ===================
+plugins.responseprocessplugin.fileSystemResultPackageDataResponseProcessPlugin.eingangOrdner=classpath:work/responses
+
+# ==========================
+# == Test ==
+# ==========================
+# Fuer interne Tests ist ein 'dummyOutputPlugin' voreingestellt
+# Webservices-Plugin wird verwendet (def. in ...user.prop...), wenn
folgende Zeile auskommentiert wird:
+plugins.outputplugin=dummyQueryDataResponceOutputPlugin
+#plugins.outputplugin=wsCxfOutputPlugin
+
+# Webservices (eXTra Server)
+plugins.outputplugin.wsOutputPlugin.endpoint.url=http://localhost:8088//mockExtraEVoat12Phase1
+
+# Unterstuetzt vom wsCxfOutputPlugin. Default Value=false
+plugins.outputplugin.wsCxfOutputPlugin.emtom-enabled=false
+# Unterstuetzt vom wsCxfOutputPlugin. Default Value=false
+#plugins.outputplugin.wsCxfOutputPlugin.validation=true
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/logging-config.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<configuration>
+
+ <timestamp key="now" datePattern="yyyyMMdd_HHmmss" />
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <Pattern>%date{ISO8601,Europe/Berlin}:
[%level{6}]: %logger{10} %msg%n</Pattern>
+ </encoder>
+ </appender>
+
+ <appender name="OPERATION_FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-execution_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-execution_developer_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: [%thread]
[%level{6}]: %logger{10} %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="MESSAGE_FILE" class="ch.qos.logback.core.FileAppender">
+ <file>${logfilepath}/extra-message_${now}.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%date{ISO8601,Europe/Berlin}: %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+
+ <logger name="org.springframework" level="ERROR" />
+ <logger name="org.hibernate" level="ERROR" />
+ <logger name="org.apache" level="ERROR" />
+
+ <logger name="de.extra.client.core.annotation" level="INFO" />
+ <logger name="de.extra.client.core.builder" level="INFO" />
+
+ <logger name="de.extra.client.logging" level="DEBUG" />
+
+ <!--WS CXF Level DEBUG Schaltet Logging der WS Klients an. Bietet
hilfreiche Logging Informationen,
+ wenn Logging Interseptor wegen größere Nachrichten nicht eingeschaltet
werden kann -->
+ <logger name="org.apache.cxf.endpoint.ClientImpl" level="DEBUG" />
+
+
+ <!--WSCXF Level INFO schaltet Logging der SOAP Nachrichten an, WARN ab
-->
+ <logger name="org.apache.cxf.services.ExtraService.extraPort"
level="INFO" />
+
+
+ <logger name="de.extra.client.operation" level="INFO">
+ <appender-ref ref="OPERATION_FILE" />
+ </logger>
+
+
+ <!-- extra Nachrichten -->
+ <logger name="de.extra.client.message.request" level="INFO">
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+ <logger name="de.extra.client.message.response" level="INFO">
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+
+ <!-- extra Nachrichten CXF Level INFO schaltet Logging der SOAP
Nachrichten an, WARN ab -->
+ <logger name="org.apache.cxf.services.ExtraService.extraPort"
level="INFO" >
+ <appender-ref ref="MESSAGE_FILE" />
+ </logger>
+
+ <root level="DEBUG">
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</configuration>
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/phase1/phase1-fetchresult-profil.xml
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<profil-configuration
+ xmlns:xcpt="http://www.extra-standard.de/namespace/components/1"
+ xmlns:xplg="http://www.extra-standard.de/namespace/plugins/1"
+ xmlns:xreq="http://www.extra-standard.de/namespace/request/1">
+ <element>
+ <Name>xcpt:Transport</Name>
+ </element>
+ <element>
+ <Name>req:TransportHeader</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>req:TransportBody</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>req:TransportPlugins</Name>
+ <Elternelement>Transport</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Sender</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Receiver</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:TestIndicator</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:RequestDetails</Name>
+ <Elternelement>TransportHeader</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:Data</Name>
+ <Elternelement>TransportBody</Elternelement>
+ </element>
+ <element>
+ <Name>xcpt:ElementSequence</Name>
+ <Elternelement>Data</Elternelement>
+ </element>
+</profil-configuration>
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/conf/testglobalconfig/extra-database.properties
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,32 @@
+# ==========================
+# == Datenbank-Verbindung ==
+# ==========================
+
+# HSQLDB
+plugins.execution.executionPersistenceJpa.hibernate.generateDdl=false
+plugins.execution.executionPersistenceJpa.hibernate.database=HSQL
+plugins.execution.executionPersistenceJpa.database.driver_class=org.hsqldb.jdbcDriver
+#plugins.execution.executionPersistenceJpa.database.connect_url=jdbc:hsqldb:res:/test-hsqldb/eXTra-persistence
+plugins.execution.executionPersistenceJpa.database.connect_url=jdbc:hsqldb:file:target/test-classes/test-hsqldb/eXTra-persistence
+plugins.execution.executionPersistenceJpa.database.username=sa
+plugins.execution.executionPersistenceJpa.database.password=
+
+# Oracle XE
+#plugins.execution.executionPersistenceJpa.hibernate.generateDdl=false
+#plugins.execution.executionPersistenceJpa.hibernate.database=ORACLE
+#plugins.execution.executionPersistenceJpa.database.driver_class=oracle.jdbc.OracleDriver
+#plugins.execution.executionPersistenceJpa.database.connect_url=jdbc:oracle:thin:@localhost:1521:xe
+#plugins.execution.executionPersistenceJpa.database.username=extracli
+#plugins.execution.executionPersistenceJpa.database.password=extracli
+
+# Connection pool settings
+plugins.execution.executionPersistenceJpa.db.pool.maxIdle=10
+plugins.execution.executionPersistenceJpa.db.pool.maxActive=100
+plugins.execution.executionPersistenceJpa.db.pool.maxWait=1000
+plugins.execution.executionPersistenceJpa.db.pool.validationQuery=
+plugins.execution.executionPersistenceJpa.db.pool.testOnBorrow=false
+plugins.execution.executionPersistenceJpa.db.pool.testWhileIdle=true
+plugins.execution.executionPersistenceJpa.db.pool.timeBetweenEvictionRunsMillis=1200000
+plugins.execution.executionPersistenceJpa.db.pool.minEvictableIdleTimeMillis=1800000
+plugins.execution.executionPersistenceJpa.db.pool.numTestsPerEvictionRun=5
+plugins.execution.executionPersistenceJpa.db.pool.defaultAutoCommit=false
=======================================
--- /dev/null
+++ /trunk/java/procedures/extra-voat12/src/test/resources/logs/dummy.txt
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,1 @@
+dummy
=======================================
--- /dev/null
+++
/trunk/java/procedures/extra-voat12/src/test/resources/work/reports/dummy.txt
Wed Sep 24 13:38:42 2014 UTC
@@ -0,0 +1,1 @@
+dummy
=======================================
***Additional files exist in this changeset.***
Reply all
Reply to author
Forward
0 new messages