An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _RetrieveValueSetRequest_QNAME = new QName("urn:ihe:iti:svs:2008", "RetrieveValueSetRequest");
+ private final static QName _ValueSetRequest_QNAME = new QName("urn:ihe:iti:svs:2008", "ValueSetRequest");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openehealth.ipf.commons.ihe.svs.core.requests
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link RetrieveValueSetRequest }
+ *
+ */
+ public RetrieveValueSetRequest createRetrieveValueSetRequest() {
+ return new RetrieveValueSetRequest();
+ }
+
+ /**
+ * Create an instance of {@link ValueSetRequest }
+ *
+ */
+ public ValueSetRequest createValueSetRequest() {
+ return new ValueSetRequest();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link RetrieveValueSetRequest }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:ihe:iti:svs:2008", name = "downloadRequest")
+ public JAXBElement An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Concept_QNAME = new QName("urn:ihe:iti:svs:2008", "Concept");
+ private final static QName _ConceptList_QNAME = new QName("urn:ihe:iti:svs:2008", "ConceptList");
+ private final static QName _RetrieveValueSetResponse_QNAME = new QName("urn:ihe:iti:svs:2008", "RetrieveValueSetResponse");
+ private final static QName _ValueSetResponse_QNAME = new QName("urn:ihe:iti:svs:2008", "ValueSetResponse");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openehealth.ipf.commons.ihe.svs.core.responses
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Concept }
+ *
+ */
+ public Concept createConcept() {
+ return new Concept();
+ }
+
+ /**
+ * Create an instance of {@link ConceptList }
+ *
+ */
+ public ConceptList createConceptList() {
+ return new ConceptList();
+ }
+
+ /**
+ * Create an instance of {@link RetrieveValueSetResponse }
+ *
+ */
+ public RetrieveValueSetResponse createRetrieveValueSetResponse() {
+ return new RetrieveValueSetResponse();
+ }
+
+ /**
+ * Create an instance of {@link ValueSetResponse }
+ *
+ */
+ public ValueSetResponse createValueSetResponse() {
+ return new ValueSetResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Concept }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:ihe:iti:svs:2008", name = "Concept")
+ public JAXBElement
+ This schema document describes the XML namespace, in a form
+ suitable for import by other schema documents.
+
+ See
+ http://www.w3.org/XML/1998/namespace.html and
+
+ http://www.w3.org/TR/REC-xml for information
+ about this namespace.
+
+ Note that local names in this namespace are intended to be
+ defined only by the World Wide Web Consortium or its subgroups.
+ The names currently defined in this namespace are listed below.
+ They should not be used with conflicting semantics by any Working
+ Group, specification, or document instance.
+
+ See further below in this document for more information about how to refer to this schema document from your own
+ XSD schema documents and about the
+ namespace-versioning policy governing this schema document.
+
+ denotes an attribute whose value
+ is a language code for the natural language of the content of
+ any element; its value is inherited. This name is reserved
+ by virtue of its definition in the XML specification.
+ Attempting to install the relevant ISO 2- and 3-letter
+ codes as the enumerated possible values is probably never
+ going to be a realistic possibility.
+
+ See BCP 47 at
+ http://www.rfc-editor.org/rfc/bcp/bcp47.txt
+ and the IANA language subtag registry at
+
+ http://www.iana.org/assignments/language-subtag-registry
+ for further information.
+
+ The union allows for the 'un-declaration' of xml:lang with
+ the empty string.
+
+ denotes an attribute whose
+ value is a keyword indicating what whitespace processing
+ discipline is intended for the content of the element; its
+ value is inherited. This name is reserved by virtue of its
+ definition in the XML specification.
+ denotes an attribute whose value
+ provides a URI to be used as the base for interpreting any
+ relative URIs in the scope of the element on which it
+ appears; its value is inherited. This name is reserved
+ by virtue of its definition in the XML Base specification.
+ See http://www.w3.org/TR/xmlbase/
+ for information about this attribute.
+
+ denotes an attribute whose value
+ should be interpreted as if declared to be of type ID.
+ This name is reserved by virtue of its definition in the
+ xml:id specification.
+ See http://www.w3.org/TR/xml-id/
+ for information about this attribute.
+
+ denotes Jon Bosak, the chair of
+ the original XML Working Group. This name is reserved by
+ the following decision of the W3C XML Plenary and
+ XML Coordination groups:
+
+ In appreciation for his vision, leadership and
+ dedication the W3C XML Plenary on this 10th day of
+ February, 2000, reserves for Jon Bosak in perpetuity
+ the XML name "xml:Father".
+
+ This schema defines attributes and an attribute group suitable
+ for use by schemas wishing to allow
+ To enable this, such a schema must import this schema for
+ the XML namespace, e.g. as follows:
+
+ or
+
+ Subsequently, qualified reference to any of the attributes or the
+ group defined below will have the desired effect, e.g.
+
+ will define a type which will schema-validate an instance element
+ with any of those attributes.
+
+ In keeping with the XML Schema WG's standard versioning
+ policy, this schema document will persist at
+
+ http://www.w3.org/2009/01/xml.xsd.
+
+ At the date of issue it can also be found at
+
+ http://www.w3.org/2001/xml.xsd.
+
+ The schema document at that URI may however change in the future,
+ in order to remain compatible with the latest version of XML
+ Schema itself, or with the XML namespace itself. In other words,
+ if the XML Schema or XML namespaces change, the version of this
+ document at
+ http://www.w3.org/2001/xml.xsd
+
+ will change accordingly; the version at
+
+ http://www.w3.org/2009/01/xml.xsd
+
+ will not change.
+
+ Previous dated (and unchanging) versions of this schema
+ document are at:
+
+ * This implementation delegates to a Camel consumer by creating an exchange.
+ *
+ * @author Quentin Ligier
+ */
+@Slf4j
+public class Iti48Service extends AbstractWebService implements Iti48PortType {
+
+ @Override
+ public RetrieveValueSetResponse valueSetRepositoryRetrieveValueSet(final RetrieveValueSetRequest body) {
+ final Exchange result = this.process(body);
+ var exception = Exchanges.extractException(result);
+ if (exception != null) {
+ log.debug("Iti-48 service failed", exception);
+ if (exception instanceof SoapFault) {
+ // Pass it through
+ throw (SoapFault) exception;
+ } else if (exception instanceof SvsException) {
+ // Most probably thrown from the validator
+ throw new SoapFault(exception.getMessage(), Soap12.getInstance().getSender());
+ } else {
+ // Wrap it in a SoapFault
+ throw new SoapFault("An error occurred", Soap12.getInstance().getSender());
+ }
+ }
+ return result.getMessage().getBody(RetrieveValueSetResponse.class);
+ }
+}
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/ChUnknownLanguageException.java b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/ChUnknownLanguageException.java
new file mode 100644
index 0000000000..41a06d350d
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/ChUnknownLanguageException.java
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2025 the original author or authors.
+ *
+ * Licensed 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 org.openehealth.ipf.platform.camel.ihe.svs.iti48.exceptions;
+
+import org.apache.cxf.binding.soap.Soap12;
+import org.apache.cxf.binding.soap.SoapFault;
+
+import javax.xml.namespace.QName;
+
+/**
+ * A SOAP exception for an unknown value set language. Defined in the Swiss "EPR – Central Services Interface
+ * Documentation" document.
+ *
+ * @author Quentin Ligier
+ */
+public class ChUnknownLanguageException extends SoapFault {
+
+ public ChUnknownLanguageException(final String language) {
+ super(
+ String.format("Language '%s' not supported", language),
+ Soap12.getInstance().getSender()
+ );
+ this.setSubCode(new QName(null, "LANGUNK"));
+ }
+}
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownValueSetException.java b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownValueSetException.java
new file mode 100644
index 0000000000..267475a860
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownValueSetException.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2025 the original author or authors.
+ *
+ * Licensed 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 org.openehealth.ipf.platform.camel.ihe.svs.iti48.exceptions;
+
+import org.apache.cxf.binding.soap.Soap12;
+import org.apache.cxf.binding.soap.SoapFault;
+
+import javax.xml.namespace.QName;
+
+/**
+ * A SOAP exception for an unknown value set identifier. Defined by IHE.
+ *
+ * @author Quentin Ligier
+ */
+public class UnknownValueSetException extends SoapFault {
+
+ public UnknownValueSetException() {
+ super("Unknown value set", Soap12.getInstance().getSender());
+ this.setSubCode(new QName(null, "NAV"));
+ }
+}
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownVersionException.java b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownVersionException.java
new file mode 100644
index 0000000000..d1a7e5c540
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/java/org/openehealth/ipf/platform/camel/ihe/svs/iti48/exceptions/UnknownVersionException.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2025 the original author or authors.
+ *
+ * Licensed 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 org.openehealth.ipf.platform.camel.ihe.svs.iti48.exceptions;
+
+import org.apache.cxf.binding.soap.Soap12;
+import org.apache.cxf.binding.soap.SoapFault;
+
+import javax.xml.namespace.QName;
+
+/**
+ * A SOAP exception for an unknown value set version. Defined by IHE.
+ *
+ * @author Quentin Ligier
+ */
+public class UnknownVersionException extends SoapFault {
+
+ public UnknownVersionException() {
+ super("Version unknown", Soap12.getInstance().getSender());
+ this.setSubCode(new QName(null, "VERUNK"));
+ }
+}
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/main/resources/META-INF/LICENSE.txt b/platform-camel/ihe/svs/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
diff --git a/platform-camel/ihe/svs/src/main/resources/META-INF/NOTICE.txt b/platform-camel/ihe/svs/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/TypeConverterLoader b/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/TypeConverterLoader
new file mode 100644
index 0000000000..be002eb2ab
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/TypeConverterLoader
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+org.openehealth.ipf.platform.camel.ihe.svs.core.converters.SvsConvertersLoader
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/component/svs-iti48 b/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/component/svs-iti48
new file mode 100644
index 0000000000..613da47d09
--- /dev/null
+++ b/platform-camel/ihe/svs/src/main/resources/META-INF/services/org/apache/camel/component/svs-iti48
@@ -0,0 +1,12 @@
+# Copyright 2025 the original author or authors. Licensed 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.
+
+# Camel registration for the svs-iti48 component
+
+class=org.openehealth.ipf.platform.camel.ihe.svs.iti48.Iti48Component
\ No newline at end of file
diff --git a/platform-camel/ihe/svs/src/test/groovy/org/openehealth/ipf/platform/camel/ihe/svs/iti48/TestIti48.groovy b/platform-camel/ihe/svs/src/test/groovy/org/openehealth/ipf/platform/camel/ihe/svs/iti48/TestIti48.groovy
new file mode 100644
index 0000000000..59d23a2eec
--- /dev/null
+++ b/platform-camel/ihe/svs/src/test/groovy/org/openehealth/ipf/platform/camel/ihe/svs/iti48/TestIti48.groovy
@@ -0,0 +1,83 @@
+package org.openehealth.ipf.platform.camel.ihe.svs.iti48
+
+import org.apache.cxf.binding.soap.SoapFault
+import org.apache.cxf.transport.servlet.CXFServlet
+import org.junit.jupiter.api.BeforeAll
+import org.junit.jupiter.api.Test
+import org.openehealth.ipf.commons.ihe.svs.core.requests.RetrieveValueSetRequest
+import org.openehealth.ipf.commons.ihe.svs.core.requests.ValueSetRequest
+import org.openehealth.ipf.commons.ihe.svs.core.responses.RetrieveValueSetResponse
+import org.openehealth.ipf.platform.camel.ihe.svs.core.converters.SvsConverters
+import org.openehealth.ipf.platform.camel.ihe.ws.StandardTestContainer
+
+import static org.junit.jupiter.api.Assertions.*
+
+/**
+ * @author Quentin Ligier
+ * */
+class TestIti48 extends StandardTestContainer {
+
+ static final String CONTEXT_DESCRIPTOR = 'iti-48.xml'
+
+ final String SERVICE1 = "svs-iti48://localhost:${port}/service1-ok"
+ final String SERVICE2 = "svs-iti48://localhost:${port}/service2-exception"
+
+ static void main(args) {
+ startServer(new CXFServlet(), CONTEXT_DESCRIPTOR, false, DEMO_APP_PORT)
+ }
+
+ @BeforeAll
+ static void classSetUp() {
+ startServer(new CXFServlet(), CONTEXT_DESCRIPTOR)
+ }
+
+ @Test
+ void testIti48() {
+ assert auditSender.messages.size() == 0
+
+ def request = SvsConverters.xmlToSvsQuery("""
+ true
when this strategy is a server-side one;
+ * false
otherwise.
+ */
+ public Iti48AuditStrategy(final boolean serverSide) {
+ super(serverSide);
+ }
+
+ /**
+ * Creates a new audit dataset instance.
+ */
+ @Override
+ public SvsAuditDataset createAuditDataset() {
+ return new SvsAuditDataset(this.isServerSide());
+ }
+
+ /**
+ * Enriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.
+ *
+ * @param auditDataset audit dataset to be enriched.
+ * @param request {@link Object} representing the request.
+ * @param parameters additional parameters
+ */
+ @Override
+ public SvsAuditDataset enrichAuditDatasetFromRequest(final SvsAuditDataset auditDataset,
+ final Object request,
+ final MapAbout the XML namespace
+
+ lang (as an attribute name)
+ Notes
+ space (as an attribute name)
+ base (as an attribute name)
+ id (as an attribute name)
+ Father (in any context at all)
+
+
+
+ About this schema document
+
+ xml:base
,
+ xml:lang
, xml:space
or
+ xml:id
attributes on elements they define.
+
+ <schema . . .>
+ . . .
+ <import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+
+ <import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
+
+
+ <type . . .>
+ . . .
+ <attributeGroup ref="xml:specialAttrs"/>
+
+ Versioning policy for this schema document
+