Revision: 1949
Author: florianstratil
Date: Fri Oct 17 06:38:41 2014 UTC
Log: Inital import of small eXTra-Client
https://code.google.com/p/extra-standard/source/detail?r=1949
Added:
/trunk/java/apps/extraClientLight/.classpath
/trunk/java/apps/extraClientLight/.project
/trunk/java/apps/extraClientLight/.settings
/trunk/java/apps/extraClientLight/.settings/org.eclipse.jdt.core.prefs
/trunk/java/apps/extraClientLight/.settings/org.eclipse.m2e.core.prefs
/trunk/java/apps/extraClientLight/pom.xml
/trunk/java/apps/extraClientLight/src
/trunk/java/apps/extraClientLight/src/main
/trunk/java/apps/extraClientLight/src/main/java
/trunk/java/apps/extraClientLight/src/main/java/de
/trunk/java/apps/extraClientLight/src/main/java/de/extra
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/IextraClient.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/BuildExtraTransport.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/ExtraErrorHelper.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/ExtraRequestHelper.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/impl
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/impl/ExtraClientImpl.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/DataObjektBean.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/RequestExtraBean.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/ResponseExtraBean.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/enums
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/enums/ReportLevelEnum.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/util
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/util/ClientConstants.java
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/util/SendWebService.java
/trunk/java/apps/extraClientLight/src/main/resources
/trunk/java/apps/extraClientLight/src/main/resources/de
/trunk/java/apps/extraClientLight/src/main/resources/de/extra
/trunk/java/apps/extraClientLight/src/main/resources/de/extra/extraClientLight
/trunk/java/apps/extraClientLight/src/main/resources/wsdl
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-error.xjb
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-message.xjb
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-plugin.xjb
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-request.xjb
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-response.xjb
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-codelists-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-components-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-error-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-logging-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-messages-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-plugins-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-request-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-response-1.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-vorlage-grahik.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/extra.wsdl
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/extra_mtom.wsdl
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/xenc-schema.xsd
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/xmldsig-core-schema.xsd
/trunk/java/apps/extraClientLight/src/test
/trunk/java/apps/extraClientLight/src/test/java
/trunk/java/apps/extraClientLight/src/test/resources
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/.classpath Fri Oct 17 06:38:41 2014
UTC
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry excluding="**" kind="src" output="target/classes"
path="src/main/resources">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/test-classes"
path="src/test/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry excluding="**" kind="src" output="target/test-classes"
path="src/test/resources">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/classes"
path="target/generated/extraWs">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/.project Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>extraClientLight</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ </natures>
+</projectDescription>
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/.settings/org.eclipse.jdt.core.prefs
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/.settings/org.eclipse.m2e.core.prefs
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/pom.xml Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,67 @@
+<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>
+ <groupId>de.extra</groupId>
+ <artifactId>extraClientLight</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>ExtraClientLight</name>
+ <description>Lightweight eXTra-Client</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxws</artifactId>
+ <version>2.7.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-transports-http</artifactId>
+ <version>2.7.3</version>
+ </dependency>
+ <dependency>
+ <groupId>javax</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>7.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.7</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ <version>3.0.1</version>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <configuration>
+
<sourceRoot>${project.build.directory}/generated/extraWs</sourceRoot>
+ <wsdlOptions>
+ <wsdlOption>
+ <wsdl>${basedir}/src/main/resources/wsdl/extra_mtom.wsdl</wsdl>
+ </wsdlOption>
+ </wsdlOptions>
+ </configuration>
+ <goals>
+ <goal>wsdl2java</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+
+</project>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/IextraClient.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,29 @@
+/*
+ * 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.extra.extraClientLight;
+
+import de.extra.extraClientLight.model.RequestExtraBean;
+import de.extra.extraClientLight.model.ResponseExtraBean;
+
+public interface IextraClient {
+
+ public ResponseExtraBean sendExtra(RequestExtraBean requestExtra);
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/BuildExtraTransport.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,125 @@
+/*
+ * 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.extra.extraClientLight.helper;
+
+import javax.activation.DataHandler;
+import javax.activation.DataSource;
+import javax.mail.util.ByteArrayDataSource;
+
+import de.extra.extraClientLight.model.RequestExtraBean;
+import de.extra.extraClientLight.util.ClientConstants;
+import de.extra_standard.namespace.components._1.Base64CharSequenceType;
+import de.extra_standard.namespace.components._1.ClassifiableIDType;
+import de.extra_standard.namespace.components._1.DataType;
+import de.extra_standard.namespace.components._1.ReceiverType;
+import de.extra_standard.namespace.components._1.RequestDetailsType;
+import de.extra_standard.namespace.components._1.SenderType;
+import de.extra_standard.namespace.request._1.TransportRequestBodyType;
+import de.extra_standard.namespace.request._1.TransportRequestHeaderType;
+import de.extra_standard.namespace.request._1.TransportRequestType;
+
+public class BuildExtraTransport {
+
+ public static TransportRequestType buildTransportRequest(
+ RequestExtraBean requestBean) {
+
+ TransportRequestType request = new TransportRequestType();
+
+ request.setVersion(ClientConstants.EXTRA_VERSION);
+ request.setProfile(requestBean.getProfile());
+ request.setTransportHeader(buildHeader(requestBean));
+ if (!requestBean.getDataObjekt().isQuery()) {
+ request.setTransportBody(buildBody(requestBean.getDataObjekt()
+ .getData()));
+ } else {
+
+ // TODO Aufbau der Query
+ }
+ return request;
+
+ }
+
+ private static TransportRequestHeaderType buildHeader(
+ RequestExtraBean requestBean) {
+
+ TransportRequestHeaderType requestHeader = new
TransportRequestHeaderType();
+
+ // SenderID
+
+ SenderType sender = new SenderType();
+ ClassifiableIDType senderId = new ClassifiableIDType();
+ senderId.setValue(requestBean.getAbsender());
+ sender.setSenderID(senderId);
+
+ // ReceiverID
+
+ ReceiverType receiver = new ReceiverType();
+ ClassifiableIDType receiverId = new ClassifiableIDType();
+ receiverId.setValue(requestBean.getEmpfaenger());
+ receiver.setReceiverID(receiverId);
+
+ // RequestDetails
+
+ requestHeader.setSender(sender);
+ requestHeader.setReceiver(receiver);
+ requestHeader.setRequestDetails(buildRequestDetails(requestBean));
+
+ return requestHeader;
+
+ }
+
+ private static TransportRequestBodyType buildBody(byte[] nutzdaten) {
+ TransportRequestBodyType requestBody = new TransportRequestBodyType();
+ DataType data = new DataType();
+
+ Base64CharSequenceType payload = new Base64CharSequenceType();
+ DataSource ds = new ByteArrayDataSource(nutzdaten, "application");
+ DataHandler dataHandler = new DataHandler(ds);
+ payload.setValue(dataHandler);
+ data.setBase64CharSequence(payload);
+ requestBody.setData(data);
+
+ return requestBody;
+
+ }
+
+ private static RequestDetailsType buildRequestDetails(
+ RequestExtraBean requestBean) {
+
+ RequestDetailsType requestDetails = new RequestDetailsType();
+
+ requestDetails.setDataType(requestBean.getFachdienst());
+ requestDetails.setProcedure(requestBean.getVerfahren());
+ ClassifiableIDType requestId = new ClassifiableIDType();
+ requestId.setValue(requestBean.getFachschluessel());
+ requestDetails.setRequestID(requestId);
+
+ if (requestBean.isSynchron()) {
+ requestDetails
+ .setScenario(ClientConstants.DETAILS_REQUEST_RESPONSE);
+ } else {
+
+ requestDetails.setScenario(ClientConstants.DETAILS_ACKNOWLEDGEMENT);
+ }
+
+ return requestDetails;
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/ExtraErrorHelper.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,63 @@
+/*
+ * 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.extra.extraClientLight.helper;
+
+import java.io.StringWriter;
+import java.io.Writer;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import de.extra_standard.namespace.service._1.ExtraErrorType;
+import de.extra_standard.namespace.webservice.ExtraFault;
+
+public class ExtraErrorHelper {
+
+ private static Logger LOGGER = LoggerFactory
+ .getLogger(ExtraErrorHelper.class);
+
+ public static void printExtraError(ExtraFault extraFault) {
+
+ ExtraErrorType extraError = extraFault.getFaultInfo();
+
+ try {
+ JAXBContext jaxbContext = JAXBContext
+ .newInstance(ExtraErrorType.class);
+ Marshaller marshaller = jaxbContext.createMarshaller();
+ marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
+ Boolean.TRUE);
+
+ Writer writer = new StringWriter();
+ marshaller.marshal(extraError, writer);
+
+ LOGGER.debug(writer.toString());
+
+ } catch (JAXBException e) {
+
+ LOGGER.error("Fehler beim Konvertieren", e);
+
+ }
+
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/helper/ExtraRequestHelper.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,57 @@
+/*
+ * 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.extra.extraClientLight.helper;
+
+import java.io.StringWriter;
+import java.io.Writer;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import de.extra_standard.namespace.request._1.TransportRequestType;
+
+public class ExtraRequestHelper {
+
+ private static Logger LOGGER =
LoggerFactory.getLogger(ExtraRequestHelper.class);
+
+ public static void printRequest(TransportRequestType requestType){
+
+ try {
+ JAXBContext context =
JAXBContext.newInstance(TransportRequestType.class);
+
+ Marshaller marshaller = context.createMarshaller();
+ marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
+ Boolean.TRUE);
+
+ Writer writer = new StringWriter();
+ marshaller.marshal(requestType, writer);
+
+ LOGGER.debug(writer.toString());
+
+ } catch (JAXBException e) {
+ LOGGER.error("Fehler beim marshalling",e);
+ }
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/impl/ExtraClientImpl.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,51 @@
+/*
+ * 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.extra.extraClientLight.impl;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import de.extra.extraClientLight.IextraClient;
+import de.extra.extraClientLight.helper.BuildExtraTransport;
+import de.extra.extraClientLight.helper.ExtraRequestHelper;
+import de.extra.extraClientLight.model.RequestExtraBean;
+import de.extra.extraClientLight.model.ResponseExtraBean;
+import de.extra.extraClientLight.util.SendWebService;
+import de.extra_standard.namespace.request._1.TransportRequestType;
+
+public class ExtraClientImpl implements IextraClient {
+ private Logger LOGGER = LoggerFactory.getLogger(ExtraClientImpl.class);
+
+ public ResponseExtraBean sendExtra(RequestExtraBean requestExtra) {
+ LOGGER.info("Client aufgerufen");
+ ResponseExtraBean responseBean = new ResponseExtraBean();
+
+ SendWebService sendWebService = new SendWebService();
+ TransportRequestType extraRequest = BuildExtraTransport
+ .buildTransportRequest(requestExtra);
+
+ ExtraRequestHelper.printRequest(extraRequest);
+
+ sendWebService.sendRequest(extraRequest, requestExtra.getUrl(),
+ requestExtra.isMtom());
+ return responseBean;
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/DataObjektBean.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,63 @@
+/*
+ * 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.extra.extraClientLight.model;
+
+public class DataObjektBean {
+
+ private byte[] data;
+ private boolean query;
+ private String queryId;
+ private String queryProcedure;
+ private String queryDataType;
+
+ public byte[] getData() {
+ return data;
+ }
+ public void setData(byte[] data) {
+ this.data = data;
+ }
+ public boolean isQuery() {
+ return query;
+ }
+ public void setQuery(boolean query) {
+ this.query = query;
+ }
+ public String getQueryId() {
+ return queryId;
+ }
+ public void setQueryId(String queryId) {
+ this.queryId = queryId;
+ }
+ public String getQueryProcedure() {
+ return queryProcedure;
+ }
+ public void setQueryProcedure(String queryProcedure) {
+ this.queryProcedure = queryProcedure;
+ }
+ public String getQueryDataType() {
+ return queryDataType;
+ }
+ public void setQueryDataType(String queryDataType) {
+ this.queryDataType = queryDataType;
+ }
+
+
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/RequestExtraBean.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,115 @@
+/*
+ * 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.extra.extraClientLight.model;
+
+public class RequestExtraBean {
+
+ private String verfahren;
+ private String fachdienst;
+ private String empfaenger;
+ private String absender;
+ private String fachschluessel;
+ private String url;
+ private boolean synchron;
+ private boolean mtom;
+ private DataObjektBean dataObjekt;
+ private String profile;
+
+ public String getVerfahren() {
+ return verfahren;
+ }
+
+ public void setVerfahren(String verfahren) {
+ this.verfahren = verfahren;
+ }
+
+ public String getFachdienst() {
+ return fachdienst;
+ }
+
+ public void setFachdienst(String fachdienst) {
+ this.fachdienst = fachdienst;
+ }
+
+ public String getEmpfaenger() {
+ return empfaenger;
+ }
+
+ public void setEmpfaenger(String empfaenger) {
+ this.empfaenger = empfaenger;
+ }
+
+ public String getAbsender() {
+ return absender;
+ }
+
+ public void setAbsender(String absender) {
+ this.absender = absender;
+ }
+
+ public String getFachschluessel() {
+ return fachschluessel;
+ }
+
+ public void setFachschluessel(String fachschluessel) {
+ this.fachschluessel = fachschluessel;
+ }
+
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ public boolean isSynchron() {
+ return synchron;
+ }
+
+ public void setSynchron(boolean synchron) {
+ this.synchron = synchron;
+ }
+
+ public boolean isMtom() {
+ return mtom;
+ }
+
+ public void setMtom(boolean mtom) {
+ this.mtom = mtom;
+ }
+
+ public DataObjektBean getDataObjekt() {
+ return dataObjekt;
+ }
+
+ public void setDataObjekt(DataObjektBean dataObjekt) {
+ this.dataObjekt = dataObjekt;
+ }
+
+ public String getProfile() {
+ return profile;
+ }
+
+ public void setProfile(String profile) {
+ this.profile = profile;
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/ResponseExtraBean.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,78 @@
+/*
+ * 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.extra.extraClientLight.model;
+
+import de.extra.extraClientLight.model.enums.ReportLevelEnum;
+
+public class ResponseExtraBean {
+
+ private int returnCode;
+ private String requestId;
+ private byte[] data;
+ private String responseId;
+ private ReportLevelEnum reportLevel;
+ private String reportCode;
+ private String reportText;
+ public int getReturnCode() {
+ return returnCode;
+ }
+ public void setReturnCode(int returnCode) {
+ this.returnCode = returnCode;
+ }
+ public String getRequestId() {
+ return requestId;
+ }
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+ public byte[] getData() {
+ return data;
+ }
+ public void setData(byte[] data) {
+ this.data = data;
+ }
+ public String getResponseId() {
+ return responseId;
+ }
+ public void setResponseId(String responseId) {
+ this.responseId = responseId;
+ }
+ public ReportLevelEnum getReportLevel() {
+ return reportLevel;
+ }
+ public void setReportLevel(ReportLevelEnum reportLevel) {
+ this.reportLevel = reportLevel;
+ }
+ public String getReportCode() {
+ return reportCode;
+ }
+ public void setReportCode(String reportCode) {
+ this.reportCode = reportCode;
+ }
+ public String getReportText() {
+ return reportText;
+ }
+ public void setReportText(String reportText) {
+ this.reportText = reportText;
+ }
+
+
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/model/enums/ReportLevelEnum.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,39 @@
+/*
+ * 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.extra.extraClientLight.model.enums;
+
+public enum ReportLevelEnum {
+
+ INFO("
http://www.extra-standard.de/weight/INFO"), WARN(
+ "
http://www.extra-standard.de/weight/WARN"), ERROR(
+ "
http://www.extra-standard.de/weight/ERROR");
+
+ private String wert;
+
+ private ReportLevelEnum(String wert) {
+ this.wert = wert;
+
+ }
+
+ public String getWert() {
+ return wert;
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/util/ClientConstants.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,28 @@
+/*
+ * 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.extra.extraClientLight.util;
+
+public class ClientConstants {
+
+ public static final String EXTRA_VERSION = "1.3";
+ public static final String DETAILS_REQUEST_RESPONSE
= "
http://www.extra-standard.de/scenario/request-with-response";
+ public static final String DETAILS_ACKNOWLEDGEMENT
= "
http://www.extra-standard.de/scenario/request-with-acknowledgement";
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/java/de/extra/extraClientLight/util/SendWebService.java
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,77 @@
+/*
+ * 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.extra.extraClientLight.util;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPFault;
+import javax.xml.ws.Binding;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.soap.SOAPBinding;
+import javax.xml.ws.soap.SOAPFaultException;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import de.extra.extraClientLight.helper.ExtraErrorHelper;
+import de.extra_standard.namespace.request._1.TransportRequestType;
+import de.extra_standard.namespace.response._1.TransportResponseType;
+import de.extra_standard.namespace.webservice.Extra;
+import de.extra_standard.namespace.webservice.ExtraFault;
+import de.extra_standard.namespace.webservice.Extra_Service;
+
+public class SendWebService {
+ private Logger LOGGER = LoggerFactory.getLogger(SendWebService.class);
+
+ private static final QName SERVICE_NAME = new QName(
+ "
https://www.eservicet-drv.de/SPoC", "ExtraService");
+
+ public TransportResponseType sendRequest(TransportRequestType
extraRequest,
+ String url, boolean mtomActive) {
+ TransportResponseType response = new TransportResponseType();
+
+ Extra_Service extraService = new Extra_Service(null, SERVICE_NAME);
+
+ Extra extraPort = extraService.getPort(Extra.class);
+ BindingProvider bp = (BindingProvider) extraPort;
+ bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+ url);
+ Binding binding = ((BindingProvider) extraPort).getBinding();
+ if (LOGGER.isDebugEnabled()) {
+ LOGGER.debug("MTOM: " + mtomActive);
+ }
+ ((SOAPBinding) binding).setMTOMEnabled(mtomActive);
+
+ try {
+
+ response = extraPort.execute(extraRequest);
+ } catch (SOAPFaultException e) {
+ SOAPFault soapFault = e.getFault();
+
+ LOGGER.error(soapFault.getTextContent());
+
+ } catch (ExtraFault e) {
+ ExtraErrorHelper.printExtraError(e);
+ }
+
+ return response;
+
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-error.xjb
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,22 @@
+<jxb:bindings
+ xmlns:jxb="
http://java.sun.com/xml/ns/jaxb"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:annox="
http://annox.dev.java.net"
+ xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
+ jxb:extensionBindingPrefixes="xjc annox"
+ version="2.1">
+
+ <jxb:bindings schemaLocation="../wsdl/eXTra-error-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="de.drv.dsrv.extrastandard.namespace.error"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../wsdl/eXTra-error-1.xsd"
node="//xs:complexType[@name='ExtraErrorType']">
+ <jxb:class name="Error"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"/>
+ </annox:annotate>
+ </jxb:bindings>
+</jxb:bindings>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-message.xjb
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,126 @@
+<jxb:bindings
+ xmlns:jxb="
http://java.sun.com/xml/ns/jaxb"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:annox="
http://annox.dev.java.net"
+ xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
+ jxb:extensionBindingPrefixes="xjc annox"
+ version="2.1">
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.messages"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ListOfConfirmationOfReceiptType']">
+ <jxb:class name="ListOfConfirmationOfReceipt"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"
name="ListOfConfirmationOfReceipt"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ConfirmationOfReceiptType']">
+ <jxb:class name="ConfirmationOfReceipt"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"
name="ConfirmationOfReceipt"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ListOfDataRequestType']">
+ <jxb:class name="ListOfDataRequest"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='DataRequestType']">
+ <jxb:class name="DataRequest"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement" name="DataRequest"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <!-- xs:group name="DataRequestModel" -->
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='DataRequestQueryType']">
+ <jxb:class name="DataRequestQuery"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='DataRequestArgumentType']">
+ <jxb:class name="DataRequestArgument"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='StatusRequestType']">
+ <jxb:class name="StatusRequest"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='StatusRequestQueryType']">
+ <jxb:class name="StatusRequestQuery"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='StatusRequestArgumentType']">
+ <jxb:class name="StatusRequestArgument"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='StatusResponseType']">
+ <jxb:class name="StatusResponse"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='StatusResponsePropertyType']">
+ <jxb:class name="StatusResponseProperty"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='TraceType']">
+ <jxb:class name="Trace"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='CheckpointType']">
+ <jxb:class name="Checkpoint"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ReportType']">
+ <jxb:class name="Report"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='FlagType']">
+ <jxb:class name="Flag"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='FlagCodeType']">
+ <jxb:class name="FlagCode"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='TextType']">
+ <jxb:class name="Text"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ListOfStatusResponseType']">
+ <jxb:class name="ListOfStatusResponse"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='AbstractArgumentType']">
+ <jxb:class name="AbstractArgument"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='OperandSetType']">
+ <jxb:class name="OperandSet"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='OperandType']">
+ <jxb:class name="Operand"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='PropertyType']">
+ <jxb:class name="Property"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='PropertySetType']">
+ <jxb:class name="PropertySet"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ValueType']">
+ <jxb:class name="Value"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-messages-1.xsd"
node="//xs:complexType[@name='ControlType']">
+ <jxb:class name="Control"/>
+ </jxb:bindings>
+</jxb:bindings>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-plugin.xjb
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,42 @@
+<jxb:bindings
+ xmlns:jxb="
http://java.sun.com/xml/ns/jaxb"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:annox="
http://annox.dev.java.net"
+ xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
+ jxb:extensionBindingPrefixes="xjc annox"
+ version="2.1">
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-plugins-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.plugins"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-plugins-1.xsd"
node="//xs:complexType[@name='DataTransformsType']">
+ <jxb:class name="DataTransforms"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-plugins-1.xsd"
node="//xs:complexType[@name='DataSourceType']">
+ <jxb:class name="DataSource"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement" name="DataSource"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-plugins-1.xsd"
node="//xs:complexType[@name='ContactType']">
+ <jxb:class name="ContactType"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement" name="ContactType"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-codelists-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.codelists"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+</jxb:bindings>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-request.xjb
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,81 @@
+<jxb:bindings
+ xmlns:jxb="
http://java.sun.com/xml/ns/jaxb"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:annox="
http://annox.dev.java.net"
+ xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
+ jxb:extensionBindingPrefixes="xjc annox"
+ version="2.1">
+
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.request"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+ <!--
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='TransportRequestType']">
+ <jxb:class name="XMLTransport"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"/>
+ </annox:annotate>
+ </jxb:bindings>
+ -->
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='TransportRequestType']">
+ <jxb:class name="RequestTransport"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement" name="Transport"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='TransportRequestHeaderType']">
+ <jxb:class name="RequestTransportHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='TransportRequestBodyType']">
+ <jxb:class name="RequestTransportBody"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='PackageRequestType']">
+ <jxb:class name="RequestPackage"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='PackageRequestHeaderType']">
+ <jxb:class name="RequestPackageHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='PackageRequestBodyType']">
+ <jxb:class name="RequestPackageBody"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='MessageRequestType']">
+ <jxb:class name="RequestMessage"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='MessageRequestHeaderType']">
+ <jxb:class name="RequestMessageHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-request-1.xsd"
node="//xs:complexType[@name='MessageRequestBodyType']">
+ <jxb:class name="RequestMessageBody"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-components-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.components"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-logging-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.logging"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/xenc-schema.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.xmlenc"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+ <jxb:bindings
schemaLocation="../resources/xsd/xmldsig-core-schema.xsd" node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.xmldsig"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+</jxb:bindings>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/binding-response.xjb
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,62 @@
+<jxb:bindings
+ xmlns:jxb="
http://java.sun.com/xml/ns/jaxb"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:annox="
http://annox.dev.java.net"
+ xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
+ jxb:extensionBindingPrefixes="xjc annox"
+ version="2.1">
+
+ <jxb:globalBindings>
+ <jxb:javaType name="java.util.Calendar" xmlType="xs:dateTime"
+ parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime"
+ printMethod="javax.xml.bind.DatatypeConverter.printDateTime" />
+ <jxb:javaType name="java.util.Calendar" xmlType="xs:date"
+ parseMethod="javax.xml.bind.DatatypeConverter.parseDate"
+ printMethod="javax.xml.bind.DatatypeConverter.printDate" />
+ <jxb:javaType name="java.util.Calendar" xmlType="xs:time"
+ parseMethod="javax.xml.bind.DatatypeConverter.parseTime"
+ printMethod="javax.xml.bind.DatatypeConverter.printTime" />
+ </jxb:globalBindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="/xs:schema">
+ <jxb:schemaBindings>
+ <jxb:package
name="de.drv.dsrv.extrastandard.namespace.response"/>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='TransportResponseType']">
+ <jxb:class name="ResponseTransport"/>
+ <annox:annotate>
+ <annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement" name
= "ResponseTransport"/>
+ </annox:annotate>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='TransportResponseHeaderType']">
+ <jxb:class name="ResponseTransportHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='TransportResponseBodyType']">
+ <jxb:class name="ResponseTransportBody"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='PackageResponseType']">
+ <jxb:class name="ResponsePackage"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='PackageResponseHeaderType']">
+ <jxb:class name="ResponsePackageHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='PackageResponseBodyType']">
+ <jxb:class name="ResponsePackageBody"/>
+ </jxb:bindings>
+
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='MessageResponseType']">
+ <jxb:class name="ResponseMessage"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='MessageResponseHeaderType']">
+ <jxb:class name="ResponseMessageHeader"/>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="../resources/xsd/eXTra-response-1.xsd"
node="//xs:complexType[@name='MessageResponseBodyType']">
+ <jxb:class name="ResponseMessageBody"/>
+ </jxb:bindings>
+</jxb:bindings>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-codelists-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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
+ xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns="
http://www.extra-standard.de/namespace/codelists/1"
+ targetNamespace="
http://www.extra-standard.de/namespace/codelists/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0">
+
+ <!--
+ @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>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-components-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,368 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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"
+ 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"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0">
+
+ <!-- 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>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-error-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Schema module describing eXTra service extension messages
+
+ @file eXTra-error-1.xsd
+ @author [MS] Michael Schäfer, Statistisches Bundesamt
+ @version 1.0.0
+ @state RELEASE
+ @date 2011-10-21
+
+ @changed 2010-07-04 1.0 MS / Set version to '1.0'
+ @changed 2010-07-12 1.0 MS - Removed unused import of
ns '../codelists/1'
+ @changed 2010-10-21 1.0 MS - Changed @state to RELEASE
+
+-->
+<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xcpt="
http://www.extra-standard.de/namespace/components/1"
+ xmlns:xsrv="
http://www.extra-standard.de/namespace/service/1"
+ xmlns="
http://www.extra-standard.de/namespace/service/1"
+ targetNamespace="
http://www.extra-standard.de/namespace/service/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.0.0">
+
+ <!-- Import shared element declarations and type declarations -->
+
+ <xs:import
namespace="
http://www.extra-standard.de/namespace/components/1"
schemaLocation="eXTra-components-1.xsd"/>
+
+ <!-- Complex content types -->
+
+ <!-- A message to be returned if a request could not be processed
properly for whatever reason.
+ @since 1.0 MS
+ -->
+ <xs:complexType name="ExtraErrorType">
+ <xs:sequence>
+ <xs:element name="Reason" type="ExtraErrorReasonType"/>
+ <xs:element ref="xcpt:RequestID" minOccurs="0"/>
+ <xs:element ref="xcpt:ResponseID" minOccurs="0"/>
+ <xs:element ref="xcpt:TimeStamp"/>
+ <xs:element ref="xcpt:Application" minOccurs="0"/>
+ <xs:element ref="xcpt:Report"/>
+ </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:complexType>
+
+ <!-- Simple content types -->
+
+ <!-- @since 1.0 MS -->
+ <xs:simpleType name="ExtraErrorReasonType">
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration
value="
http://www.extra-standard.de/reason/SERVICE_TEMPORARILY_UNAVAILABLE"/>
+ <xs:enumeration
value="
http://www.extra-standard.de/reason/SERVICE_PERMANENTLY_UNAVAILABLE"/>
+ <xs:enumeration
value="
http://www.extra-standard.de/reason/SERVICE_FAILURE"/>
+ <xs:enumeration
value="
http://www.extra-standard.de/reason/INVALID_REQUEST"/>
+ <xs:enumeration
value="
http://www.extra-standard.de/reason/UNSPECIFIED"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- Messages -->
+
+ <!-- @since 1.0 MS -->
+ <xs:element name="ExtraError" type="ExtraErrorType"/>
+
+</xs:schema>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-logging-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Schema module describing the eXTra logging component
+
+ @file eXTra-logging-1.xsd
+ @author 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 2009-07-17 1.2 MS / Updated version identifier
+ @changed 2011-09-12 1.3 MS / Set schema version to 1.3
+
+-->
+<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"
+ xmlns:xcpt="
http://www.extra-standard.de/namespace/components/1"
+ xmlns:xcode="
http://www.extra-standard.de/namespace/codelists/1"
+ xmlns="
http://www.extra-standard.de/namespace/logging/1"
+ targetNamespace="
http://www.extra-standard.de/namespace/logging/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0">
+
+ <!-- Import eXTra code lists -->
+
+ <xs:import
namespace="
http://www.extra-standard.de/namespace/codelists/1"
schemaLocation="eXTra-codelists-1.xsd"/>
+
+ <!-- Import shared element declarations and type declarations -->
+
+ <xs:import
namespace="
http://www.extra-standard.de/namespace/components/1"
schemaLocation="eXTra-components-1.xsd"/>
+
+ <!-- Simple content types -->
+
+ <xs:complexType name="ParameterType">
+ <xs:simpleContent>
+ <xs:extension base="xcpt:ClassifiableStringType">
+ <xs:attribute name="name" type="xcpt:SimpleNameType"
use="optional"/>
+ <xs:attribute name="description"
type="xcpt:SimpleStringType" use="optional"/>
+ <xs:attribute name="usage" type="xcode:UsageCodeType"
use="optional"/>
+ <xs:attribute name="type"
type="xcode:XSDPrefixedTypeCodes" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="ObjectType">
+ <xs:simpleContent>
+ <xs:extension base="xcpt:ClassifiableStringType">
+ <xs:attribute name="id" type="xcpt:SimpleIDType"
use="optional"/>
+ <xs:attribute name="name" type="xcpt:SimpleNameType"
use="optional"/>
+ <xs:attribute name="description"
type="xcpt:SimpleStringType" use="optional"/>
+ <xs:attribute name="type" type="xcpt:SimpleTypeType"
use="optional"/>
+ <xs:attribute name="usage" type="xcode:UsageCodeType"
use="optional"/>
+ <xs:attribute name="location" type="xs:string"
use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- Complex content types -->
+
+ <xs:complexType name="EventType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="0" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:element ref="Message" minOccurs="0" maxOccurs="unbounded"
/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xcpt:SimpleIDType" use="required"/>
+ <xs:attribute name="name" type="xcpt:SimpleNameType"
use="optional"/>
+ <xs:attribute name="description" type="xcpt:SimpleStringType"
use="optional"/>
+ </xs:complexType>
+
+ <xs:complexType name="ExceptionType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="Message" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="StackTrace" minOccurs="1" maxOccurs="1" />
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OperationType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="0" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="Event" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Exception" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Message" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Parameter" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Object" minOccurs="1" maxOccurs="1" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="id" type="xcpt:SimpleIDType" use="required"/>
+ <xs:attribute name="name" type="xcpt:SimpleNameType"
use="optional"/>
+ <xs:attribute name="description" type="xcpt:SimpleStringType"
use="optional"/>
+ <xs:attribute name="successful" type="xs:boolean" use="optional"/>
+ <xs:attribute name="completionCode" type="xs:string"
use="optional"/>
+ </xs:complexType>
+
+ <xs:complexType name="MessageType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:element ref="xcpt:Text" minOccurs="1" maxOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="StackTraceType">
+ <xs:sequence>
+ <xs:element ref="xcpt:AnyXML" minOccurs="0"
maxOccurs="unbounded" />
+ <xs:element ref="xcpt:Text" minOccurs="0"
maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="LogTraceType">
+ <xs:sequence>
+ <xs:element ref="LogID" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="PreviousLogID" minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="StateType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="1" maxOccurs="1" />
+ <xs:choice>
+ <xs:element ref="xcpt:Property" minOccurs="1"
maxOccurs="1" />
+ <xs:element ref="xcpt:XMLFragment" minOccurs="1"
maxOccurs="1" />
+ </xs:choice>
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="LogSequenceType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:element ref="xcpt:ProcessID" minOccurs="0" maxOccurs="1" />
+ <xs:element ref="LogTrace" minOccurs="0" maxOccurs="1"/>
+ <xs:choice minOccurs="1" maxOccurs="unbounded">
+ <xs:element ref="LogSequence" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="LogStream" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="Event" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Exception" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Message" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="Operation" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="State" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="LogStreamType">
+ <xs:sequence>
+ <xs:element ref="xcpt:TimeStamp" minOccurs="1" maxOccurs="1" />
+ <xs:element ref="xcpt:ComponentID" minOccurs="0" maxOccurs="1"
/>
+ <xs:element ref="xcpt:ProcessID" minOccurs="0" maxOccurs="1" />
+ <xs:element ref="LogTrace" minOccurs="0" maxOccurs="1"/>
+ <xs:element ref="xcpt:AnyXML" minOccurs="1"
maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="LoggingType">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="LogSequence" minOccurs="1" maxOccurs="1"/>
+ <xs:element ref="LogStream" minOccurs="1" maxOccurs="1"/>
+ </xs:choice>
+ <!-- @changed 2007-07-17 1.1 MS / Added type attribute -->
+ <xs:attribute name="version" type="LoggingVersionType"
use="required"/>
+ </xs:complexType>
+
+ <!--
+ @created 2007-07-17 1.1 MS
+ @changed 2010-07-04 1.2 MS / Now derived from @{link
xcpt:AbstractVersionType}
+ -->
+ <xs:simpleType name="LoggingVersionType">
+ <xs:restriction base="xcpt:AbstractVersionType">
+ <xs:enumeration value="1.0"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- Element declarations -->
+
+ <xs:element name="Event" type="EventType"/>
+ <xs:element name="Exception" type="ExceptionType"/>
+ <xs:element name="Message" type="MessageType"/>
+ <xs:element name="State" type="StateType"/>
+ <xs:element name="StackTrace" type="StackTraceType"/>
+ <xs:element name="Operation" type="OperationType"/>
+ <xs:element name="Object" type="ObjectType"/>
+ <xs:element name="Parameter" type="ParameterType"/>
+
+ <xs:element name="Logging" type="LoggingType"/>
+ <xs:element name="LogSequence" type="LogSequenceType"/>
+ <xs:element name="LogStream" type="LogStreamType"/>
+ <xs:element name="LogTrace" type="LogTraceType"/>
+
+ <xs:element name="LogID" type="xcpt:ClassifiableIDType"/>
+ <xs:element name="PreviousLogID" type="xcpt:ClassifiableIDType"/>
+
+ <!-- Attribute declarations -->
+
+</xs:schema>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-messages-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,745 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Schema module describing eXTra standard messages
+
+ @file eXTra-messages-1.xsd
+ @author [MS] Michael Schäfer, Statistisches Bundesamt
+ @version 1.3.0
+ @state RELEASE
+ @date 2011-10-18
+
+ @changed 2009-10-30 1.1 MS + Added aribute 'event' to
AbstractArgumentType,
+ + Added version identifier '1.1'
+ @changed 2009-11-02 1.1 MS + Added attribute 'event' to PropertyType,
+ / Set attribute 'abstract' on
AbstractArgumentType
+ + Added version identifier '1.2'
+ @changed 2010-05-20 1.2 MS + Added
type 'ListOfConfirmationOfReceiptType',
+ + Added
element 'ListOfConfirmationOfReceipt',
+ + Added group 'ConfirmationOfReceiptModel',
+ + Added Type 'ListOfDataRequestType',
+ + Added element 'ListOfDataRequest',
+ + Added group 'DataRequestModel'
+ @changed 2010-05-20 1.2 MS + Added
type 'ListOfConfirmationOfReceiptType',
+ - Removed 'AbstractMessageType'
+ @changed 2011-05-08 1.3 MS + Added type 'StatusRequestType',
+ + Added type 'StatusRequestArgumentType',
+ + Added type 'StatusRequestQueryType',
+ + Added type 'StatusResponseType',
+ + Added type 'ListOfStatusResponseType',
+ / Added Request* values to PropertyNamesType
+ / Renamed 'QueryType'
to 'DataRequestQueryType'
+ / Set schema version to '1.3.0'
+ @changed 2011-06-17 1.3 MS / Added Layer value to PropertyNamesType
+ @changed 2011-08-04 1.3 MS + Added Layer value to
DataRequestPropertyNamesType
+ + Added Layer value to
StatusRequestPropertyNamesType
+ / DataRequestType: Changed version
identifier to '1.2'
+ @changed 2011-10-18 1.3 MS / ListOfStatusResponseType: Corrected name
of child element
+ to be 'StatusResponse'
+ / DataRequestArgumentType:
Element 'Argument' is optional
+ / StatusRequestArgumentType:
Element 'Argument' is optional
+ / Extended version attributes to allow
older versions.
+
+-->
+<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xmsg="
http://www.extra-standard.de/namespace/message/1"
+ xmlns="
http://www.extra-standard.de/namespace/message/1"
+ targetNamespace="
http://www.extra-standard.de/namespace/message/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0"
+ >
+
+ <!-- Abstract base types -->
+
+ <!-- AbstractMessageType
+ The abstract base type of any type that represents a message
+
+ @changed 2009-10-30 1.1 MS + Added version identifier '1.1'
+ @changed 2010-02-21 1.2 MS + Added version identifier '1.2'
+ @deleted 2010-07-04 1.2 MS -
+ @{code %
+ <xs:complexType name="AbstractMessageType" abstract="true">
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0"/>
+ <xs:enumeration value="1.1"/>
+ <xs:enumeration value="1.2"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ %}
+ -->
+
+ <!-- ListOfConfirmationOfReceiptType
+ Represents a list of messages for confirming that data has been
received succesfully
+ @created 2010-05-20 1.0 MS
+ @changed 2011-10-05 1.1 MS Set version identifier to '1.1'
+ -->
+ <xs:complexType name="ListOfConfirmationOfReceiptType">
+ <xs:sequence>
+ <xs:element name="ConfirmationOfReceipt" minOccurs="1"
maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="ConfirmationOfReceiptModel" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ <xs:enumeration value="1.1" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!-- ==============================
+ Message: ConfirmationOfReceipt
+ ==============================
+ -->
+
+ <!-- ConfirmationOfReceiptType
+ Represents a message for confirming that data has been received
succesfully
+ @changed 2009-05-05 1.0 MS + Added element 'PropertySet'
+ @changed 2011-10-05 1.1 MS Set version identifier to '1.3'
+
+ -->
+ <xs:complexType name="ConfirmationOfReceiptType">
+ <xs:sequence>
+ <xs:group ref="ConfirmationOfReceiptModel" />
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <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:attribute>
+ </xs:complexType>
+
+ <!-- @created 2010-05-20 1.2 MS
+ @changed 2010-07-01 1.2 MS / Cardinality of Property changed to
optional
+ -->
+ <xs:group name="ConfirmationOfReceiptModel">
+ <xs:sequence>
+ <xs:element name="Property" type="PropertyType" minOccurs="0"
maxOccurs="unbounded" />
+ <xs:element name="PropertySet" type="PropertySetType"
minOccurs="0" />
+ </xs:sequence>
+ </xs:group>
+
+ <!-- ==========================
+ Message: ListOfDataRequest
+ ==========================
+ -->
+
+ <!-- ListOfDataRequestType
+ Represents a list of data request messages
+ @since 2010-05-20 1.0 MS
+ @changed 2011-08-04 1.1 MS / Changed version identifier to '1.1'
+
+ -->
+ <xs:complexType name="ListOfDataRequestType">
+ <xs:sequence>
+ <xs:element name="DataRequest" minOccurs="1"
maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:group ref="DataRequestModel" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ <xs:enumeration value="1.1" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!-- ====================
+ Message: DataRequest
+ ====================
+ -->
+ <!-- DataRequestType
+ Represents a message for requesting the result of some business
+ process that was triggered by a previous message
+
+ @changed 2011-08-05 1.1 MS / Set version identifier to '1.2'
+
+ -->
+ <xs:complexType name="DataRequestType">
+ <xs:sequence>
+ <xs:group ref="DataRequestModel" />
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ <xs:enumeration value="1.1" />
+ <xs:enumeration value="1.2" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!-- @created 2010-05-20 1.2 MS -->
+ <xs:group name="DataRequestModel">
+ <xs:sequence>
+ <xs:element name="Query" type="DataRequestQueryType" />
+ <xs:element name="Control" type="ControlType" minOccurs="0" />
+ </xs:sequence>
+ </xs:group>
+
+ <!-- DataRequestQueryType
+ Represents a data request query that selects requested objects by
certain
+ criteria specified by argument elements.
+
+ @changed 2011-10-18 1.3 MS / Element Argument is optional
+ -->
+ <xs:complexType name="DataRequestQueryType">
+ <xs:sequence>
+ <xs:element name="Argument" type="DataRequestArgumentType"
+ minOccurs="0" maxOccurs="unbounded"
+ />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- DataRequestArgumentType
+ Defines a concrete type for arguments of a data request query,
restricting
+ argument names to those enumerated in xs:string
+ -->
+ <xs:complexType name="DataRequestArgumentType">
+ <xs:complexContent>
+ <xs:extension base="AbstractArgumentType">
+ <xs:attribute name="property"
type="DataRequestPropertyNamesType" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <!-- DataRequestPropertyNamesType
+ The names of the properties that may appear in a data request
query.
+ The names must consitute a subset (in XSD terms: a restriction) of
the
+ names defined in the type PropertyNamesType.
+
+ @changed 2011-08-04 1.3 MS / Added Layer value to
DataRequestPropertyNamesType
+
+ -->
+ <xs:simpleType name="DataRequestPropertyNamesType">
+ <xs:restriction base="PropertyNamesType">
+ <xs:pattern
value="
http://www.extra-standard.de/property/(SenderID|ReceiverID|Procedure|
DataType|ResponseID|ResponseCreationTimeStamp|ResponseFileName|Layer)"/>
+ <xs:pattern value=".+"/>
+ <!--
+ @deleted 2010-07-04 1.2 MS -
+ @{code %
+ <xs:enumeration
value="
http://www.extra-standard.de/property/SenderID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ReceiverID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Procedure" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/DataType" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseCreationTimeStamp" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseFileName" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Layer"/>
+ -->
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- ======================
+ Message: StatusRequest
+ ======================
+ -->
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:complexType name="StatusRequestType">
+ <xs:sequence>
+ <xs:element name="Query" type="StatusRequestQueryType" />
+ <xs:element name="Control" type="ControlType" minOccurs="0" />
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!--
+ Represents a status request query that selects requested objects
by certain
+ criteria specified by argument elements.
+ @created 2011-10-18 1.3 MS
+ -->
+ <xs:complexType name="StatusRequestQueryType">
+ <xs:sequence>
+ <xs:element name="Argument" type="StatusRequestArgumentType"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!--
+ Defines a concrete type for arguments of a data request query,
restricting
+ argument names to those enumerated in xs:string
+ @created 2011-05-08 1.3 MS
+ -->
+ <xs:complexType name="StatusRequestArgumentType">
+ <xs:complexContent>
+ <xs:extension base="AbstractArgumentType">
+ <xs:attribute name="property"
type="StatusRequestPropertyNamesType" use="required"
+ />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <!-- @created 2011-05-08 1.3 MS
+ The names of the properties that may appear in a data request
query.
+ The names must consitute a subset (in XSD terms: a restriction) of
the
+ names defined in the type PropertyNamesType.
+
+ @changed 2011-078-22 1.3.0 MS Allowed specification of abritrary
URIs
+ -->
+ <xs:simpleType name="StatusRequestPropertyNamesType">
+ <xs:restriction base="PropertyNamesType">
+ <xs:pattern
value="
http://www.extra-standard.de/property/(SenderID|ReceiverID|Procedure|
DataType|RequestID|RequestCreationTimeStamp|RequestFileName|ResponseID|
ResponseCreationTimeStamp|ResponseFileName|Layer)"/>
+ <xs:pattern value=".+"/>
+ <!--
+ @deleted 2010-07-04 1.2 MS -
+ @{code %
+ <xs:enumeration
value="
http://www.extra-standard.de/property/SenderID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ReceiverID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Procedure" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/DataType" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestCreationTimeStamp" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestFileName" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseCreationTimeStamp" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseFileName" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Layer"/>
+ %}
+ -->
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- =======================
+ Message: StatusResponse
+ =======================
+ -->
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:complexType name="StatusResponseType">
+ <xs:sequence>
+ <xs:element name="Property" type="StatusResponsePropertyType"
maxOccurs="unbounded" />
+ <xs:element name="Trace" type="TraceType" />
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:complexType name="StatusResponsePropertyType">
+ <xs:sequence>
+ <xs:element name="Value" type="ValueType" />
+ </xs:sequence>
+ <xs:attribute name="name" type="StatusRequestPropertyNamesType"
use="required" />
+ <xs:attribute name="type" type="XSDPrefixedTypeCodes"
default="xs:string" />
+ <xs:attribute name="event" type="EventNamesType"
+ default="
http://www.extra-standard.de/event/Default" />
+ </xs:complexType>
+
+ <!--
+ @changed 2011-08-25 1.3.0 MS Removed element Result
+ -->
+ <xs:complexType name="TraceType">
+ <xs:sequence>
+ <xs:element name="Checkpoint" type="CheckpointType"
maxOccurs="unbounded"/>
+ <!-- @code { %
+ <xs:element name="Result" type="ResultType"/>
+ % } -->
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- @created 2011-05-08 1.3 MS
+ @changed 2011-08-22 1.3.0 MS Replaced attributes with elements
+ -->
+ <xs:complexType name="CheckpointType">
+ <xs:sequence>
+ <xs:element name="Layer" type="ExtraLayerNamesType"/>
+ <xs:element name="Status" type="StatusNamesType"/>
+ <xs:element name="Timestamp" type="xs:dateTime"/>
+ <xs:element name="Report" type="ReportType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- @created 2011-08-22 1.3.0 MS
+ @deleted 2011-08-25 1.3.0 MS
+ <xs:complexType name="ResultType">
+ <xs:sequence>
+ <xs:element name="Flag" type="FlagType"/>
+ </xs:sequence>
+ </xs:complexType>
+ -->
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:simpleType name="ExtraLayerNamesType">
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration
value="
http://www.extra-standard.de/layer/Transport" />
+ <xs:enumeration
value="
http://www.extra-standard.de/layer/Package" />
+ <xs:enumeration
value="
http://www.extra-standard.de/layer/Message" />
+ <xs:enumeration
value="
http://www.extra-standard.de/layer/Application" />
+ <xs:enumeration
value="
http://www.extra-standard.de/layer/Delivery" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- @created 2011-05-08 1.3 MS
+ @changed 2011-08-25 1.3.0 MS Changed FINISHED to COMPLETED
+ -->
+ <xs:simpleType name="StatusNamesType">
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration
value="
http://www.extra-standard.de/status/ACCEPTED" />
+ <xs:enumeration
value="
http://www.extra-standard.de/status/PROCESSING" />
+ <xs:enumeration
value="
http://www.extra-standard.de/status/COMPLETED" />
+ <xs:enumeration
value="
http://www.extra-standard.de/status/CONFIRMED" />
+ <xs:enumeration
value="
http://www.extra-standard.de/status/FAILED" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- @created 2011-08-25 1.3.0 MS
+ -->
+ <xs:complexType name="ReportType">
+ <xs:sequence>
+ <xs:element name="Flag" type="FlagType" minOccurs="0"
maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="highestWeight" type="WeightCodeType"
use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="FlagType">
+ <xs:sequence>
+ <xs:element name="Code" type="FlagCodeType" minOccurs="1"
maxOccurs="1" />
+ <xs:element name="Text" type="TextType" minOccurs="1"
maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="weight" type="WeightCodeType" use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="FlagCodeType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string" />
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="TextType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string" />
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <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>
+
+ <!-- ============================
+ Message: ListOfStatusResponse
+ =============================
+ -->
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:complexType name="ListOfStatusResponseType">
+ <xs:sequence>
+ <xs:element name="StatusResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Property"
type="StatusResponsePropertyType" />
+ <xs:element name="Trace" type="TraceType" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="version" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="1.0" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+
+ <!-- ============
+ Common types
+ ============
+ -->
+ <!-- AbstractArgumentType
+ Defines an abstract base type for defining arguments of a query.
An argument
+ is bound to a named property by a property attribute which must be
supplied
+ by concrete types through extension. The name of the property
takes the form
+ of a URI. The property's type can be specified through a type
attribute whose
+ value references one of the XML Schema atomic types and defaults
to xs:string.
+
+ @changed 2009-10-30 1.1 MS + Added attribute 'event'
+ @changed 2009-11-02 1.1 MS + Set attribute 'abstract' to 'true'
+ @changed 2011-06-21 1.3 MS + Added element 'IN'
+ -->
+ <xs:complexType name="AbstractArgumentType" abstract="true">
+ <xs:choice>
+ <xs:element name="EQ" type="OperandType" />
+ <xs:element name="LE" type="OperandType" />
+ <xs:element name="LT" type="OperandType" />
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="GE" type="OperandType" />
+ <xs:element name="GT" type="OperandType" />
+ </xs:choice>
+ <xs:choice minOccurs="0">
+ <xs:element name="LE" type="OperandType" />
+ <xs:element name="LT" type="OperandType" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:element name="IN" type="OperandSetType"/>
+ </xs:choice>
+ <xs:attribute name="type" type="XSDPrefixedTypeCodes"
default="xs:string" />
+ <xs:attribute name="event" type="EventNamesType"
+ default="
http://www.extra-standard.de/event/Default" />
+ </xs:complexType>
+
+ <!-- OperandSetType
+
+ @created 2011-06-21 1.3 MS
+ -->
+ <xs:complexType name="OperandSetType">
+ <xs:sequence>
+ <xs:element name="EQ" type="OperandType" maxOccurs="unbounded"
/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OperandType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string" />
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- PropertyType
+ @changed 2009-11-02 1.1 MS + Added attribute 'event'
+ -->
+ <xs:complexType name="PropertyType">
+ <xs:sequence>
+ <xs:element name="Value" type="ValueType" />
+ </xs:sequence>
+ <xs:attribute name="name" type="PropertyNamesType" use="required"
/>
+ <xs:attribute name="type" type="XSDPrefixedTypeCodes"
default="xs:string" />
+ <xs:attribute name="event" type="EventNamesType"
+ default="
http://www.extra-standard.de/event/Default" />
+ </xs:complexType>
+
+ <!--
+ @created 2009-05-05 1.0 MS
+ @changed 2010-05-20 1.2 MS + Addrd attribute 'event'
+ -->
+ <xs:complexType name="PropertySetType">
+ <xs:sequence>
+ <xs:element name="Value" type="ValueType" minOccurs="1"
maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="PropertyNamesType" use="required"
/>
+ <xs:attribute name="type" type="XSDPrefixedTypeCodes"
default="xs:string" />
+ <xs:attribute name="event" type="EventNamesType" />
+ </xs:complexType>
+
+
+ <!--
+ @changed 2011-06-17 1.2 MS + Added value 'Layer'
+ -->
+ <xs:simpleType name="PropertyNamesType">
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern
value="
http://www.extra-standard.de/property/(SenderID|ReceiverID|Procedure|
DataType|RequestID|RequestCreationTimeStamp|RequestFileName|ResponseID|
ResponseCreationTimeStamp|ResponseFileName|Layer)"/>
+ <xs:pattern value=".+"/>
+ <!--
+ @deleted 2010-07-04 1.2 MS -
+ @{code %
+ <xs:enumeration
value="
http://www.extra-standard.de/property/SenderID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ReceiverID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Procedure" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/DataType" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestCreationTimeStamp" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/RequestFileName" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseID" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseCreationTimeStamp" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/ResponseFileName" />
+ <xs:enumeration
value="
http://www.extra-standard.de/property/Layer" />
+ -->
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!--
+ @created 2009-10-30 1.1 MS The set of predefined event names
+ -->
+ <xs:simpleType name="EventNamesType">
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration
value="
http://www.extra-standard.de/event/Default" />
+ <xs:enumeration
value="
http://www.extra-standard.de/event/SendData" />
+ <xs:enumeration
value="
http://www.extra-standard.de/event/RequestData" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:complexType name="ValueType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string" />
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!--
+ @removed 2009-07-17 MS Unused
+
+ <xs:complexType name="AttributeType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:NCName" use="required"/>
+ <xs:attribute name="type" type="XSDPrefixedTypeCodes"
default="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ -->
+
+ <!--
+ @changed 2009-07-15 MS + Added element 'MaximumSize'
+ -->
+ <xs:complexType name="ControlType">
+ <xs:sequence>
+ <xs:element name="MaximumPackages" type="xs:positiveInteger"
minOccurs="0" />
+ <xs:element name="MaximumMessages" type="xs:positiveInteger"
minOccurs="0" />
+ <xs:element name="MaximumResults" type="xs:positiveInteger"
minOccurs="0" />
+ <xs:element name="MaximumSize" type="SpaceSizeType"
minOccurs="0" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!--
+ Defines a type for specifiying (disk or memory) space size. A size
specification
+ consists of an integer part immediately followed by a unit
identifier. The integer
+ part MUST evaluate to an value > 0. The unit is identified by one
of the following
+ upper-case letters: B (bytes), K (kilobytes), M (megabytes) and G
(gigabytes).
+
+ Examples: 4096B, 512K, 16M, 2G.
+
+ @created 2009-07-15 MS
+ -->
+ <xs:simpleType name="SpaceSizeType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]*[1-9][0-9]*[BKMG]" />
+ </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" />
+
+ <!-- Undefined -->
+
+ <xs:enumeration value="xmsg:UNDEFINED" />
+
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- Messages -->
+
+ <xs:element name="ConfirmationOfReceipt"
type="ConfirmationOfReceiptType" />
+
+ <!-- @created 2010-05-20 1.2 MS -->
+ <xs:element name="ListOfConfirmationOfReceipt"
type="ListOfConfirmationOfReceiptType" />
+
+ <xs:element name="DataRequest" type="DataRequestType" />
+
+ <!-- @created 2010-05-20 1.2 MS -->
+ <xs:element name="ListOfDataRequest" type="ListOfDataRequestType" />
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:element name="StatusRequest" type="StatusRequestType" />
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:element name="StatusResponse" type="StatusResponseType" />
+
+ <!-- @created 2011-05-08 1.3 MS -->
+ <xs:element name="ListOfStatusResponse"
type="ListOfStatusResponseType" />
+
+
+</xs:schema>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-plugins-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,419 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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
+ 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"
+ targetNamespace="
http://www.extra-standard.de/namespace/plugins/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.2.0">
+
+ <!-- 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"/>
+ <xs:attribute name="url" type="xs:anyURI" use="optional"/>
+ <xs:attribute name="version" type="xs:string" use="optional"/>
+ </xs:complexType>
+
+ <xs:complexType name="DataType">
+ <xs:attribute name="bytes" type="xs:nonNegativeInteger"
use="required"/>
+ </xs:complexType>
+
+ <!--
+ @created 2010-05-20 MS
+ -->
+ <xs:simpleType name="UsageHintType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+
+ <!-- PlugIn root elements -->
+
+ <!-- DataTransforms -->
+ <xs:element name="DataTransforms" type="DataTransformsType"/>
+
+ <!-- DataSource -->
+ <xs:element name="DataSource" type="DataSourceType"/>
+
+ <!-- Certificates -->
+ <xs:element name="Certificates" type="CertificatesType"/>
+
+ <!-- Contacts
+ @created 2010-06-29 MS
+ -->
+ <xs:element name="Contacts" type="ContactsType"/>
+
+ <!-- ===================== -->
+ <!-- Deprecated components -->
+ <!-- ===================== -->
+
+ <!-- CommunicationType
+ @deprecated 1.1 MS
+ @deleted 1.2 MS
+ @{code %
+ <xs:complexType name="CommunicationType">
+ <xs:complexContent>
+ <xs:extension base="AbstractPlugInType">
+ <xs:sequence>
+ <xs:element name="X509ReplyCertificate"
type="X509ReplyCertificateType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ %}
+ -->
+
+ <!-- X509ReplyCertificateType
+ @deprecated 1.1 MS
+ @deleted 1.2 MS
+ @{code %
+ <xs:complexType name="X509ReplyCertificateType">
+ <xs:sequence>
+ <xs:element name="Value" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ %}
+ -->
+
+ <!-- Communication
+ @deprecated 1.1 MS
+ @deleted 1.2 MS
+ @{code %
+ <xs:element name="Communication" type="CommunicationType"/>
+ %}
+ -->
+
+</xs:schema>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-request-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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 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"
+ targetNamespace="
http://www.extra-standard.de/namespace/request/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0"
+ >
+
+ <!-- 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>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-response-1.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Schema module describing eXTra response documents
+
+ @file eXTra-response-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 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 xmlns:xs="
http://www.w3.org/2001/XMLSchema"
+ xmlns:xcpt="
http://www.extra-standard.de/namespace/components/1"
+ xmlns:xres="
http://www.extra-standard.de/namespace/response/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/response/1"
+ targetNamespace="
http://www.extra-standard.de/namespace/response/1"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ version="1.3.0"
+ >
+
+ <!-- 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="TransportResponseType">
+ <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="TransportResponseHeaderType">
+ <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:element ref="xcpt:ResponseDetails" minOccurs="1"
maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <!-- TransportResponseBodyType
+ @changed 2009-05-05 MS + Added TransformedData to choice group
+ -->
+ <xs:complexType name="TransportResponseBodyType">
+ <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="PackageResponseType">
+ <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="PackageResponseHeaderType">
+ <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:element ref="xcpt:ResponseDetails" minOccurs="1"
maxOccurs="1"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <!-- PackageResponseBodyType
+ @changed 2009-05-05 MS + Added TransformedData to choice group
+ -->
+ <xs:complexType name="PackageResponseBodyType">
+ <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="MessageResponseType">
+ <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="MessageResponseHeaderType">
+ <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:element ref="xcpt:ResponseDetails" 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="MessageResponseBodyType">
+ <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="TransportResponseType"/>
+ <!-- @deprecated 2011-06-21 1.3 MS -->
+ <xs:element name="XMLTransport" type="TransportResponseType"/>
+ <xs:element name="TransportHeader" type="TransportResponseHeaderType"/>
+ <xs:element name="TransportPlugIns"
type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="TransportBody" type="TransportResponseBodyType"/>
+
+ <!-- Package layer -->
+
+ <xs:element name="Package" type="PackageResponseType"/>
+ <xs:element name="PackageHeader" type="PackageResponseHeaderType"/>
+ <xs:element name="PackagePlugIns" type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="PackageBody" type="PackageResponseBodyType"/>
+
+ <!-- Message layer -->
+
+ <xs:element name="Message" type="MessageResponseType"/>
+ <xs:element name="MessageHeader" type="MessageResponseHeaderType"/>
+ <xs:element name="MessagePlugIns" type="xcpt:AnyPlugInContainerType"/>
+ <xs:element name="MessageBody" type="MessageResponseBodyType"/>
+
+</xs:schema>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/eXTra-vorlage-grahik.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Schema module describing demo elements for notational purposes
+
+ @file eXTra-vorlage-graphik.xsd
+ @author Michael Schäfer, Statistisches Bundesamt
+ @version -
+ @state FINAL
+ @date 2009-09-09
+
+-->
+<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="Sequenz">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ErforderlichesElement" type="xs:string"/>
+ <xs:element name="OptionalesElement" minOccurs="0"
type="xs:string"/>
+ <xs:element name="ElementMit1Bis5Instanzen" minOccurs="1"
maxOccurs="5" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="MehrfachSequenz">
+ <xs:complexType>
+ <xs:sequence maxOccurs="3">
+ <xs:element name="ErforderlichesElement" type="xs:string"/>
+ <xs:element name="OptionalesElement" minOccurs="0"
type="xs:string"/>
+ <xs:element name="ElementMit1Bis5Instanzen" minOccurs="1"
maxOccurs="5" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="Auswahl">
+ <xs:complexType>
+ <xs:choice>
+ <xs:element name="AlternativesElement1" type="xs:string"/>
+ <xs:element name="AlternativesElement2" type="xs:string"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="OptionaleAuswahl">
+ <xs:complexType>
+ <xs:choice minOccurs="0">
+ <xs:element name="AlternativesElement1" type="xs:string"/>
+ <xs:element name="AlternativesElement2" type="xs:string"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="ElementMitAttributen">
+ <xs:complexType>
+ <xs:attribute name="ErforderlichesAttribut" use="required"
type="xs:string"/>
+ <xs:attribute name="OptionalesAttribut" use="optional"
type="xs:string"/>
+ <xs:attribute name="VerbotenesAttribut" use="prohibited"
type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="MitKindelementEigenerNR">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##targetNamespace"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="MitKindelementAndererNR">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##other"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
=======================================
--- /dev/null
+++ /trunk/java/apps/extraClientLight/src/main/resources/wsdl/extra.wsdl
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/extra_mtom.wsdl
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="extra"
+ targetNamespace="
http://www.extra-standard.de/namespace/webservice"
+ xmlns:xws="
http://www.extra-standard.de/namespace/webservice"
+ xmlns:xreq="
http://www.extra-standard.de/namespace/request/1"
+ xmlns:xres="
http://www.extra-standard.de/namespace/response/1"
+ xmlns:xsrv="
http://www.extra-standard.de/namespace/service/1"
+ xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"
+ xmlns:wsp="
http://www.w3.org/ns/ws-policy"
+
xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+
xmlns:wsoma="
http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization">
+
+ <wsp:Policy wsu:Id="eXTraMTOMPolicy">
+ <wsoma:OptimizedMimeSerialization />
+ </wsp:Policy>
+
+ <wsdl:types>
+ <xsd:schema xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
+ <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="TransportRequest">
+ <wsdl:part element="xreq:Transport" name="TransportRequest" />
+ </wsdl:message>
+ <wsdl:message name="TransportResponse">
+ <wsdl:part element="xres:Transport" name="TransportResponse" />
+ </wsdl:message>
+ <wsdl:message name="ExtraError">
+ <wsdl:part element="xsrv:ExtraError" name="ExtraError" />
+ </wsdl:message>
+
+ <wsdl:portType name="Extra">
+ <wsdl:operation name="execute">
+ <wsdl:input message="xws:TransportRequest" />
+ <wsdl:output message="xws:TransportResponse" />
+ <wsdl:fault message="xws:ExtraError" name="ExtraError" />
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="ExtraBinding" type="xws:Extra">
+
+ <wsp:PolicyReference URI="#eXTraMTOMPolicy"
+ wsdl:required="true" />
+
+ <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="ExtraError">
+ <soap:fault name="ExtraError" use="literal" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="ExtraService">
+ <wsdl:port binding="xws:ExtraBinding" name="extraSOAP">
+ <soap:address location="
http://localhost/SPoC/ExtraService" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
=======================================
--- /dev/null
+++
/trunk/java/apps/extraClientLight/src/main/resources/wsdl/xenc-schema.xsd
Fri Oct 17 06:38:41 2014 UTC
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Commented out because some tools might try to access the DTD
+<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
+ "
http://www.w3.org/2001/XMLSchema.dtd"
+ [
+ <!ATTLIST schema
+ xmlns:xenc CDATA #FIXED '
http://www.w3.org/2001/04/xmlenc#'
+ xmlns:ds CDATA #FIXED '
http://www.w3.org/2000/09/xmldsig#'>
+ <!ENTITY xenc '
http://www.w3.org/2001/04/xmlenc#'>
+ <!ENTITY % p ''>
+ <!ENTITY % s ''>
+ ]>
+ -->
+
+<schema xmlns='
http://www.w3.org/2001/XMLSchema' version='1.0'
+ xmlns:xenc='
http://www.w3.org/2001/04/xmlenc#'
+ xmlns:ds='
http://www.w3.org/2000/09/xmldsig#'
+ targetNamespace='
http://www.w3.org/2001/04/xmlenc#'
+ elementFormDefault='qualified'>
+
+ <!-- Original import commented out and replaced
+ <import namespace='
http://www.w3.org/2000/09/xmldsig#'
+
schemaLocation='
http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd'/>
+ -->
+ <!-- Importing XMLSignatur from local schema module -->
+ <import namespace='
http://www.w3.org/2000/09/xmldsig#'
schemaLocation='xmldsig-core-schema.xsd'/>
+
+ <complexType name='EncryptedType' abstract='true'>
+ <sequence>
+ <element name='EncryptionMethod' type='xenc:EncryptionMethodType'
+ minOccurs='0'/>
+ <element ref='ds:KeyInfo' minOccurs='0'/>
+ <element ref='xenc:CipherData'/>
+ <element ref='xenc:EncryptionProperties' minOccurs='0'/>
+ </sequence>
+ <attribute name='Id' type='ID' use='optional'/>
+ <attribute name='Type' type='anyURI' use='optional'/>
+ <attribute name='MimeType' type='string' use='optional'/>
+ <attribute name='Encoding' type='anyURI' use='optional'/>
+ </complexType>
+
+ <complexType name='EncryptionMethodType' mixed='true'>
+ <sequence>
+ <element name='KeySize' minOccurs='0' type='xenc:KeySizeType'/>
+ <element name='OAEPparams' minOccurs='0' type='base64Binary'/>
+ <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
+ </sequence>
+ <attribute name='Algorithm' type='anyURI' use='required'/>
+ </complexType>
+
+ <simpleType name='KeySizeType'>
+ <restriction base="integer"/>
+ </simpleType>
+
+ <element name='CipherData' type='xenc:CipherDataType'/>
+ <complexType name='CipherDataType'>
+ <choice>
+ <element name='CipherValue' type='base64Binary'/>
+ <element ref='xenc:CipherReference'/>
+ </choice>
+ </complexType>
+
+ <element name='CipherReference' type='xenc:CipherReferenceType'/>
+ <complexType name='CipherReferenceType'>
+ <choice>
+ <element name='Transforms' type='xenc:TransformsType'
minOccurs='0'/>
+ </choice>
+ <attribute name='URI' type='anyURI' use='required'/>
+ </complexType>
+
+ <complexType name='TransformsType'>
+ <sequence>
+ <element ref='ds:Transform' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+
+
+ <element name='EncryptedData' type='xenc:EncryptedDataType'/>
+ <complexType name='EncryptedDataType'>
+ <complexContent>
+ <extension base='xenc:EncryptedType'>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- Children of ds:KeyInfo -->
+
+ <element name='EncryptedKey' type='xenc:EncryptedKeyType'/>
+ <complexType name='EncryptedKeyType'>
+ <complexContent>
+ <extension base='xenc:EncryptedType'>
+ <sequence>
+ <element ref='xenc:ReferenceList' minOccurs='0'/>
+ <element name='CarriedKeyName' type='string' minOccurs='0'/>
+ </sequence>
+ <attribute name='Recipient' type='string'
+ use='optional'/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="AgreementMethod" type="xenc:AgreementMethodType"/>
+ <complexType name="AgreementMethodType" mixed="true">
+ <sequence>
+ <element name="KA-Nonce" minOccurs="0" type="base64Binary"/>
+ <!-- <element ref="ds:DigestMethod" minOccurs="0"/> -->
+ <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
+ <element name="OriginatorKeyInfo" minOccurs="0"
type="ds:KeyInfoType"/>
+ <element name="RecipientKeyInfo" minOccurs="0"
type="ds:KeyInfoType"/>
+ </sequence>
+ <attribute name="Algorithm" type="anyURI" use="required"/>
+ </complexType>
+
+ <!-- End Children of ds:KeyInfo -->
+
+ <element name='ReferenceList'>
+ <complexType>
+ <choice minOccurs='1' maxOccurs='unbounded'>
+ <element name='DataReference' type='xenc:ReferenceType'/>
+ <element name='KeyReference' type='xenc:ReferenceType'/>
+ </choice>
+ </complexType>
+ </element>
+
+ <complexType name='ReferenceType'>
+ <sequence>
+ <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
+ </sequence>
+ <attribute name='URI' type='anyURI' use='required'/>
+ </complexType>
+
+
+ <element name='EncryptionProperties'
type='xenc:EncryptionPropertiesType'/>
+ <complexType name='EncryptionPropertiesType'>
+ <sequence>
+ <element ref='xenc:EncryptionProperty' maxOccurs='unbounded'/>
+ </sequence>
+ <attribute name='Id' type='ID' use='optional'/>
+ </complexType>
+
+ <element name='EncryptionProperty' type='xenc:EncryptionPropertyType'/>
+ <complexType name='EncryptionPropertyType' mixed='true'>
+ <choice maxOccurs='unbounded'>
+ <any namespace='##other' processContents='lax'/>
+ </choice>
+ <attribute name='Target' type='anyURI' use='optional'/>
+ <attribute name='Id' type='ID' use='optional'/>
+ <anyAttribute namespace="
http://www.w3.org/XML/1998/namespace"/>
+ </complexType>
+
+</schema>
+
=======================================
***Additional files exist in this changeset.***