initial public commit

This commit is contained in:
2021-09-06 17:46:59 +03:00
commit b744b08829
824 changed files with 91593 additions and 0 deletions

View File

@ -0,0 +1,201 @@
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.

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>schema</artifactId>
<groupId>ru.entaxy.esb.system.registry.schema</groupId>
<version>1.8.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>schema-soap</artifactId>
<packaging>bundle</packaging>
<name>SYSTEM :: ENTAXY :: REGISTRY :: SCHEMA :: SOAP</name>
<description>SYSTEM :: ENTAXY :: REGISTRY :: SCHEMA :: SOAP</description>
<properties>
<bundle.osgi.import.pkg>
!com.sun.org.apache.xml.internal.dtm.ref,
!org.mapstruct.*,
javax.jws.*;version="[2.0.0,3.0.0)",
javax.jws.soap.*;version="[2.0.0,3.0.0)",
javax.xml.ws.*;version="[2.2.0,3.0.0)",
org.apache.commons.logging,
org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
*
</bundle.osgi.import.pkg>
</properties>
<dependencies>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>ru.entaxy.esb.system.registry.schema</groupId>
<artifactId>schema-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ru.entaxy.esb.system.registry.schema</groupId>
<artifactId>schema-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>src/main/java</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/wsdl/registry-schema-service.wsdl</wsdl>
<extraargs>
<extraarg>-p</extraarg>
<extraarg>ru.entaxy.esb.system.registry.schema.soap.cxf</extraarg>
<extraarg>-bareMethods</extraarg>
</extraargs>
<extendedSoapHeaders>true</extendedSoapHeaders>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -0,0 +1,165 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap;
import ru.entaxy.esb.system.registry.schema.api.ResourceService;
import ru.entaxy.esb.system.registry.schema.api.entity.Resource;
import ru.entaxy.esb.system.registry.schema.api.entity.ResourceInfo;
import ru.entaxy.esb.system.registry.schema.soap.cxf.*;
import ru.entaxy.esb.system.registry.schema.soap.mapper.ResourceMapper;
import java.util.Optional;
public class RegistrySchemaServiceImpl implements RegistrySchemaService {
private ResourceService resourceService;
private ResourceMapper resourceMapper;
@Override
public String loadResource(LoadResourceType request, String header) {
try {
Resource resource = resourceMapper.toResource(request);
resource.setCreatedBy(header);
return String.valueOf(resourceService.loadResource(resource));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public String reloadResource(ResourceType request, String header) {
try {
Resource resource = resourceMapper.toEditedResource(request);
resource.setEditedBy(header);
return String.valueOf(resourceService.reloadResource(resource));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public String removeResource(long request) {
try {
resourceService.removeResource(request);
return String.valueOf(request);
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public FullResourceType getResource(long id) {
try {
Optional<Resource> resource = resourceService.getResource(id);
return resource.map(value -> resourceMapper.toFullResourceType(value)).orElse(null);
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public String loadResourceInfo(ResourceInfoType request, String header) {
try {
ResourceInfo resourceInfo = resourceMapper.toResourceInfo(request);
resourceInfo.setCreatedBy(header);
return String.valueOf(resourceService.loadResourceInfo(resourceInfo));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public String editResourceInfo(EditedResourceInfoFullType request, String header) {
try {
ResourceInfo resourceInfo = resourceMapper.editedResourceInfoFullTypeResourceInfo(request);
resourceInfo.setEditedBy(header);
return String.valueOf(resourceService.editResourceInfo(resourceInfo));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public String removeResourceInfo(String request) {
try {
resourceService.removeResourceInfo(Long.valueOf(request));
return request;
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public ResourceInfoFullType getResourceInfo(String id) {
try {
Optional<ResourceInfo> resource = resourceService.getResourceInfo(Long.valueOf(id));
return resource.map(value -> resourceMapper.toResourceInfoFullType(value)).orElse(null);
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public GetResourceInfoList getResourceInfoList(GetResourceInfoListRequest request) {
try {
GetResourceInfoList list = new GetResourceInfoList();
for (ResourceInfo resourceInfo : resourceService.getListResourceInfo()) {
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
}
return list;
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public GetResourceInfoList getResourceInfoListByName(GetResourceInfoListByNameRequest request) {
try {
GetResourceInfoList list = new GetResourceInfoList();
for (ResourceInfo resourceInfo : resourceService.getListResourceInfoByName(request.getName())) {
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
}
return list;
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
@Override
public GetResourceInfoList getResourceInfoListByNamespace(GetResourceInfoListByNamespaceRequest request) {
try {
GetResourceInfoList list = new GetResourceInfoList();
for (ResourceInfo resourceInfo : resourceService.getListResourceInfoByNamespace(request.getNamespace())) {
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
}
return list;
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
public void setResourceService(ResourceService resourceService) {
this.resourceService = resourceService;
}
public void setResourceMapper(ResourceMapper resourceMapper) {
this.resourceMapper = resourceMapper;
}
}

View File

@ -0,0 +1,241 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for EditedResourceInfoFullType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="EditedResourceInfoFullType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="convertor" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
* &lt;element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="namespaceOut" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EditedResourceInfoFullType", propOrder = {
"id",
"idResource",
"name",
"version",
"description",
"convertor",
"namespace",
"namespaceOut"
})
public class EditedResourceInfoFullType {
protected long id;
protected long idResource;
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected String version;
@XmlElement(required = true)
protected String description;
protected boolean convertor;
@XmlElement(required = true)
protected String namespace;
protected boolean namespaceOut;
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
/**
* Gets the value of the idResource property.
*
*/
public long getIdResource() {
return idResource;
}
/**
* Sets the value of the idResource property.
*
*/
public void setIdResource(long value) {
this.idResource = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the convertor property.
*
*/
public boolean isConvertor() {
return convertor;
}
/**
* Sets the value of the convertor property.
*
*/
public void setConvertor(boolean value) {
this.convertor = value;
}
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
/**
* Gets the value of the namespaceOut property.
*
*/
public boolean isNamespaceOut() {
return namespaceOut;
}
/**
* Sets the value of the namespaceOut property.
*
*/
public void setNamespaceOut(boolean value) {
this.namespaceOut = value;
}
}

View File

@ -0,0 +1,210 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for FullResourceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="FullResourceType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="createdBy" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="editedBy" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="editedDate" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="resourceValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FullResourceType", propOrder = {
"id",
"createdBy",
"createdDate",
"editedBy",
"editedDate",
"resourceValue"
})
public class FullResourceType {
protected long id;
@XmlElement(required = true)
protected String createdBy;
@XmlElement(required = true)
protected String createdDate;
@XmlElement(required = true)
protected String editedBy;
@XmlElement(required = true)
protected String editedDate;
@XmlElement(required = true)
protected byte[] resourceValue;
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedBy(String value) {
this.createdBy = value;
}
/**
* Gets the value of the createdDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedDate() {
return createdDate;
}
/**
* Sets the value of the createdDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedDate(String value) {
this.createdDate = value;
}
/**
* Gets the value of the editedBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditedBy() {
return editedBy;
}
/**
* Sets the value of the editedBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditedBy(String value) {
this.editedBy = value;
}
/**
* Gets the value of the editedDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditedDate() {
return editedDate;
}
/**
* Sets the value of the editedDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditedDate(String value) {
this.editedDate = value;
}
/**
* Gets the value of the resourceValue property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getResourceValue() {
return resourceValue;
}
/**
* Sets the value of the resourceValue property.
*
* @param value
* allowed object is
* byte[]
*/
public void setResourceValue(byte[] value) {
this.resourceValue = value;
}
}

View File

@ -0,0 +1,88 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getResourceInfoList complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="getResourceInfoList"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ResourceInfoFullType" type="{http://www.entaxy.ru/registry-schema-service/}ResourceInfoFullType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "getResourceInfoList", propOrder = {
"resourceInfoFullType"
})
public class GetResourceInfoList {
@XmlElement(name = "ResourceInfoFullType")
protected List<ResourceInfoFullType> resourceInfoFullType;
/**
* Gets the value of the resourceInfoFullType property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the resourceInfoFullType property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getResourceInfoFullType().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ResourceInfoFullType }
*
*
*/
public List<ResourceInfoFullType> getResourceInfoFullType() {
if (resourceInfoFullType == null) {
resourceInfoFullType = new ArrayList<ResourceInfoFullType>();
}
return this.resourceInfoFullType;
}
}

View File

@ -0,0 +1,83 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name"
})
@XmlRootElement(name = "getResourceInfoListByNameRequest")
public class GetResourceInfoListByNameRequest {
@XmlElement(required = true)
protected String name;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}

View File

@ -0,0 +1,83 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"namespace"
})
@XmlRootElement(name = "getResourceInfoListByNamespaceRequest")
public class GetResourceInfoListByNamespaceRequest {
@XmlElement(required = true)
protected String namespace;
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
}

View File

@ -0,0 +1,53 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "getResourceInfoListRequest")
public class GetResourceInfoListRequest {
}

View File

@ -0,0 +1,79 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LoadResourceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="LoadResourceType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="resourceValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoadResourceType", propOrder = {
"resourceValue"
})
public class LoadResourceType {
@XmlElement(required = true)
protected byte[] resourceValue;
/**
* Gets the value of the resourceValue property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getResourceValue() {
return resourceValue;
}
/**
* Sets the value of the resourceValue property.
*
* @param value
* allowed object is
* byte[]
*/
public void setResourceValue(byte[] value) {
this.resourceValue = value;
}
}

View File

@ -0,0 +1,316 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the ru.entaxy.esb.system.registry.schema.soap.cxf package.
* <p>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 _LoadResourceRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "loadResourceRequest");
private final static QName _ResourceType_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "ResourceType");
private final static QName _FullResourceType_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "FullResourceType");
private final static QName _RemoveResourceRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "removeResourceRequest");
private final static QName _GetResourceRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "getResourceRequest");
private final static QName _LoadResourceInfoRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "loadResourceInfoRequest");
private final static QName _EditResourceInfoRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "editResourceInfoRequest");
private final static QName _RemoveResourceInfoRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "removeResourceInfoRequest");
private final static QName _GetResourceInfoRequest_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "getResourceInfoRequest");
private final static QName _GetResourceInfoResponse_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "getResourceInfoResponse");
private final static QName _GetResourceInfoListResponse_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "getResourceInfoListResponse");
private final static QName _CreatedBy_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "createdBy");
private final static QName _Response_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "response");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.entaxy.esb.system.registry.schema.soap.cxf
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link LoadResourceType }
*
*/
public LoadResourceType createLoadResourceType() {
return new LoadResourceType();
}
/**
* Create an instance of {@link ResourceType }
*
*/
public ResourceType createResourceType() {
return new ResourceType();
}
/**
* Create an instance of {@link FullResourceType }
*
*/
public FullResourceType createFullResourceType() {
return new FullResourceType();
}
/**
* Create an instance of {@link ResourceInfoType }
*
*/
public ResourceInfoType createResourceInfoType() {
return new ResourceInfoType();
}
/**
* Create an instance of {@link EditedResourceInfoFullType }
*
*/
public EditedResourceInfoFullType createEditedResourceInfoFullType() {
return new EditedResourceInfoFullType();
}
/**
* Create an instance of {@link ResourceInfoFullType }
*
*/
public ResourceInfoFullType createResourceInfoFullType() {
return new ResourceInfoFullType();
}
/**
* Create an instance of {@link GetResourceInfoListRequest }
*
*/
public GetResourceInfoListRequest createGetResourceInfoListRequest() {
return new GetResourceInfoListRequest();
}
/**
* Create an instance of {@link GetResourceInfoListByNameRequest }
*
*/
public GetResourceInfoListByNameRequest createGetResourceInfoListByNameRequest() {
return new GetResourceInfoListByNameRequest();
}
/**
* Create an instance of {@link GetResourceInfoListByNamespaceRequest }
*
*/
public GetResourceInfoListByNamespaceRequest createGetResourceInfoListByNamespaceRequest() {
return new GetResourceInfoListByNamespaceRequest();
}
/**
* Create an instance of {@link GetResourceInfoList }
*
*/
public GetResourceInfoList createGetResourceInfoList() {
return new GetResourceInfoList();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link LoadResourceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link LoadResourceType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "loadResourceRequest")
public JAXBElement<LoadResourceType> createLoadResourceRequest(LoadResourceType value) {
return new JAXBElement<LoadResourceType>(_LoadResourceRequest_QNAME, LoadResourceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResourceType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "ResourceType")
public JAXBElement<ResourceType> createResourceType(ResourceType value) {
return new JAXBElement<ResourceType>(_ResourceType_QNAME, ResourceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FullResourceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link FullResourceType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "FullResourceType")
public JAXBElement<FullResourceType> createFullResourceType(FullResourceType value) {
return new JAXBElement<FullResourceType>(_FullResourceType_QNAME, FullResourceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Long }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "removeResourceRequest")
public JAXBElement<Long> createRemoveResourceRequest(Long value) {
return new JAXBElement<Long>(_RemoveResourceRequest_QNAME, Long.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Long }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "getResourceRequest")
public JAXBElement<Long> createGetResourceRequest(Long value) {
return new JAXBElement<Long>(_GetResourceRequest_QNAME, Long.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceInfoType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResourceInfoType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "loadResourceInfoRequest")
public JAXBElement<ResourceInfoType> createLoadResourceInfoRequest(ResourceInfoType value) {
return new JAXBElement<ResourceInfoType>(_LoadResourceInfoRequest_QNAME, ResourceInfoType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EditedResourceInfoFullType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link EditedResourceInfoFullType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "editResourceInfoRequest")
public JAXBElement<EditedResourceInfoFullType> createEditResourceInfoRequest(EditedResourceInfoFullType value) {
return new JAXBElement<EditedResourceInfoFullType>(_EditResourceInfoRequest_QNAME, EditedResourceInfoFullType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "removeResourceInfoRequest")
public JAXBElement<String> createRemoveResourceInfoRequest(String value) {
return new JAXBElement<String>(_RemoveResourceInfoRequest_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "getResourceInfoRequest")
public JAXBElement<String> createGetResourceInfoRequest(String value) {
return new JAXBElement<String>(_GetResourceInfoRequest_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceInfoFullType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResourceInfoFullType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "getResourceInfoResponse")
public JAXBElement<ResourceInfoFullType> createGetResourceInfoResponse(ResourceInfoFullType value) {
return new JAXBElement<ResourceInfoFullType>(_GetResourceInfoResponse_QNAME, ResourceInfoFullType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GetResourceInfoList }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link GetResourceInfoList }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "getResourceInfoListResponse")
public JAXBElement<GetResourceInfoList> createGetResourceInfoListResponse(GetResourceInfoList value) {
return new JAXBElement<GetResourceInfoList>(_GetResourceInfoListResponse_QNAME, GetResourceInfoList.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "createdBy")
public JAXBElement<String> createCreatedBy(String value) {
return new JAXBElement<String>(_CreatedBy_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://www.entaxy.ru/registry-schema-service/", name = "response")
public JAXBElement<String> createResponse(String value) {
return new JAXBElement<String>(_Response_QNAME, String.class, null, value);
}
}

View File

@ -0,0 +1,135 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.6
* 2021-02-03T15:56:39.006+07:00
* Generated source version: 3.3.6
*
*/
@WebService(targetNamespace = "http://www.entaxy.ru/registry-schema-service/", name = "registry-schema-service")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface RegistrySchemaService {
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-namespace")
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public GetResourceInfoList getResourceInfoListByNamespace(
@WebParam(partName = "request", name = "getResourceInfoListByNamespaceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
GetResourceInfoListByNamespaceRequest request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/remove-resourceInfo")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String removeResource(
@WebParam(partName = "request", name = "removeResourceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
long request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list")
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public GetResourceInfoList getResourceInfoList(
@WebParam(partName = "request", name = "getResourceInfoListRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
GetResourceInfoListRequest request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/reload-resourceInfo")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String reloadResource(
@WebParam(partName = "request", name = "ResourceType", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
ResourceType request,
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
java.lang.String header
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo")
@WebResult(name = "FullResourceType", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public FullResourceType getResource(
@WebParam(partName = "request", name = "getResourceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
long request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/load-resourceInfo-info")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String loadResourceInfo(
@WebParam(partName = "request", name = "loadResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
ResourceInfoType request,
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
java.lang.String header
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/edit-resourceInfo-info")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String editResourceInfo(
@WebParam(partName = "request", name = "editResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
EditedResourceInfoFullType request,
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
java.lang.String header
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/remove-resourceInfo-info")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String removeResourceInfo(
@WebParam(partName = "request", name = "removeResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
java.lang.String request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/load-resourceInfo")
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public java.lang.String loadResource(
@WebParam(partName = "request", name = "loadResourceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
LoadResourceType request,
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
java.lang.String header
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-name")
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public GetResourceInfoList getResourceInfoListByName(
@WebParam(partName = "request", name = "getResourceInfoListByNameRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
GetResourceInfoListByNameRequest request
);
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info")
@WebResult(name = "getResourceInfoResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
public ResourceInfoFullType getResourceInfo(
@WebParam(partName = "request", name = "getResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
java.lang.String request
);
}

View File

@ -0,0 +1,106 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 3.3.6
* 2021-02-03T15:56:39.112+07:00
* Generated source version: 3.3.6
*
*/
@WebServiceClient(name = "registry-schema-service",
wsdlLocation = "file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl",
targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
public class RegistrySchemaService_Service extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://www.entaxy.ru/registry-schema-service/", "registry-schema-service");
public final static QName RegistrySchemaServiceSOAP = new QName("http://www.entaxy.ru/registry-schema-service/", "registry-schema-serviceSOAP");
static {
URL url = null;
try {
url = new URL("file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(RegistrySchemaService_Service.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl");
}
WSDL_LOCATION = url;
}
public RegistrySchemaService_Service(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public RegistrySchemaService_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public RegistrySchemaService_Service() {
super(WSDL_LOCATION, SERVICE);
}
public RegistrySchemaService_Service(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public RegistrySchemaService_Service(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public RegistrySchemaService_Service(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns RegistrySchemaService
*/
@WebEndpoint(name = "registry-schema-serviceSOAP")
public RegistrySchemaService getRegistrySchemaServiceSOAP() {
return super.getPort(RegistrySchemaServiceSOAP, RegistrySchemaService.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns RegistrySchemaService
*/
@WebEndpoint(name = "registry-schema-serviceSOAP")
public RegistrySchemaService getRegistrySchemaServiceSOAP(WebServiceFeature... features) {
return super.getPort(RegistrySchemaServiceSOAP, RegistrySchemaService.class, features);
}
}

View File

@ -0,0 +1,362 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ResourceInfoFullType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ResourceInfoFullType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="convertor" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
* &lt;element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="namespaceOut" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="createdBy" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="editedBy" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="editedDate" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResourceInfoFullType", propOrder = {
"id",
"name",
"idResource",
"version",
"description",
"convertor",
"namespace",
"namespaceOut",
"createdBy",
"createdDate",
"editedBy",
"editedDate"
})
public class ResourceInfoFullType {
protected long id;
@XmlElement(required = true)
protected String name;
protected long idResource;
@XmlElement(required = true)
protected String version;
@XmlElement(required = true)
protected String description;
protected boolean convertor;
@XmlElement(required = true)
protected String namespace;
@XmlElement(required = true)
protected String namespaceOut;
@XmlElement(required = true)
protected String createdBy;
@XmlElement(required = true)
protected String createdDate;
@XmlElement(required = true)
protected String editedBy;
@XmlElement(required = true)
protected String editedDate;
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the idResource property.
*
*/
public long getIdResource() {
return idResource;
}
/**
* Sets the value of the idResource property.
*
*/
public void setIdResource(long value) {
this.idResource = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the convertor property.
*
*/
public boolean isConvertor() {
return convertor;
}
/**
* Sets the value of the convertor property.
*
*/
public void setConvertor(boolean value) {
this.convertor = value;
}
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
/**
* Gets the value of the namespaceOut property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespaceOut() {
return namespaceOut;
}
/**
* Sets the value of the namespaceOut property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespaceOut(String value) {
this.namespaceOut = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedBy(String value) {
this.createdBy = value;
}
/**
* Gets the value of the createdDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedDate() {
return createdDate;
}
/**
* Sets the value of the createdDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedDate(String value) {
this.createdDate = value;
}
/**
* Gets the value of the editedBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditedBy() {
return editedBy;
}
/**
* Sets the value of the editedBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditedBy(String value) {
this.editedBy = value;
}
/**
* Gets the value of the editedDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditedDate() {
return editedDate;
}
/**
* Sets the value of the editedDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditedDate(String value) {
this.editedDate = value;
}
}

View File

@ -0,0 +1,231 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ResourceInfoType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ResourceInfoType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="convertor" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
* &lt;element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="namespaceOut" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResourceInfoType", propOrder = {
"name",
"idResource",
"version",
"description",
"convertor",
"namespace",
"namespaceOut"
})
public class ResourceInfoType {
@XmlElement(required = true)
protected String name;
protected long idResource;
@XmlElement(required = true)
protected String version;
@XmlElement(required = true)
protected String description;
protected boolean convertor;
@XmlElement(required = true)
protected String namespace;
@XmlElement(required = true)
protected String namespaceOut;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the idResource property.
*
*/
public long getIdResource() {
return idResource;
}
/**
* Sets the value of the idResource property.
*
*/
public void setIdResource(long value) {
this.idResource = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the convertor property.
*
*/
public boolean isConvertor() {
return convertor;
}
/**
* Sets the value of the convertor property.
*
*/
public void setConvertor(boolean value) {
this.convertor = value;
}
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
/**
* Gets the value of the namespaceOut property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespaceOut() {
return namespaceOut;
}
/**
* Sets the value of the namespaceOut property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespaceOut(String value) {
this.namespaceOut = value;
}
}

View File

@ -0,0 +1,98 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.cxf;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ResourceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ResourceType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
* &lt;element name="resourceValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResourceType", propOrder = {
"id",
"resourceValue"
})
public class ResourceType {
protected long id;
@XmlElement(required = true)
protected byte[] resourceValue;
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long value) {
this.id = value;
}
/**
* Gets the value of the resourceValue property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getResourceValue() {
return resourceValue;
}
/**
* Sets the value of the resourceValue property.
*
* @param value
* allowed object is
* byte[]
*/
public void setResourceValue(byte[] value) {
this.resourceValue = value;
}
}

View File

@ -0,0 +1,21 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.entaxy.ru/registry-schema-service/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package ru.entaxy.esb.system.registry.schema.soap.cxf;

View File

@ -0,0 +1,63 @@
/*-
* ~~~~~~licensing~~~~~~
* schema-soap
* ==========
* Copyright (C) 2020 - 2021 EmDev LLC
* ==========
* 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.
* ~~~~~~/licensing~~~~~~
*/
package ru.entaxy.esb.system.registry.schema.soap.mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import ru.entaxy.esb.system.registry.schema.api.entity.Resource;
import ru.entaxy.esb.system.registry.schema.api.entity.ResourceInfo;
import ru.entaxy.esb.system.registry.schema.soap.cxf.*;
@org.mapstruct.Mapper
public interface ResourceMapper {
@Mappings({
@Mapping(target = "createdDate", expression = "java(new java.util.Date())"),
@Mapping(target = "resourceId", source = "idResource"),
})
ResourceInfo toResourceInfo(ResourceInfoType resourceInfoType);
@Mappings({
@Mapping(source = "resourceId", target = "idResource"),
})
ResourceInfoFullType toResourceInfoFullType(ResourceInfo resourceInfo);
@Mappings({
@Mapping(target = "resourceId", source = "idResource"),
@Mapping(target = "editedDate", expression = "java(new java.util.Date())"),
})
ResourceInfo editedResourceInfoFullTypeResourceInfo(EditedResourceInfoFullType resourceInfoFullType);
@Mappings({
@Mapping(target = "createdDate", expression = "java(new java.util.Date())"),
@Mapping(target = "resourceValue", source = "resourceValue"),
})
Resource toResource(LoadResourceType request);
@Mappings({
@Mapping(target = "editedDate", expression = "java(new java.util.Date())"),
})
Resource toEditedResource(ResourceType request);
@Mappings({
@Mapping(source = "resourceValue", target = "resourceValue"),
})
FullResourceType toFullResourceType(Resource resource);
}

View File

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~~~~~~licensing~~~~~~
schema-soap
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
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.
~~~~~~/licensing~~~~~~
-->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://cxf.apache.org/blueprint/jaxws http://cxf.apache.org/schemas/blueprint/jaxws.xsd
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
">
<cm:property-placeholder persistent-id="ru.entaxy.esb.system.schema" update-strategy="reload">
<cm:default-properties>
<cm:property name="schema-management.endpoint.address" value="/schema-management"/>
</cm:default-properties>
</cm:property-placeholder>
<reference id="resourceService"
interface="ru.entaxy.esb.system.registry.schema.api.ResourceService"
timeout="30000"
availability="mandatory"/>
<reference id="serviceInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=service)"/>
<bean id="soapHeaderInterceptor" class="ru.entaxy.esb.system.common.interceptor.SoapHeaderInterceptor">
<property name="namespaceUri" value="http://www.entaxy.ru/registry-schema-service/"/>
</bean>
<bean id="resourceMapper" class="ru.entaxy.esb.system.registry.schema.soap.mapper.ResourceMapperImpl"/>
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
<jaxws:server serviceClass="ru.entaxy.esb.system.registry.schema.soap.cxf.RegistrySchemaService"
address="${schema-management.endpoint.address}">
<jaxws:serviceBean>
<ref component-id="registrySchemaService"/>
</jaxws:serviceBean>
<jaxws:inInterceptors>
<ref component-id="serviceInterceptor"/>
<ref component-id="soapHeaderInterceptor"/>
</jaxws:inInterceptors>
</jaxws:server>
<bean id="registrySchemaService" class="ru.entaxy.esb.system.registry.schema.soap.RegistrySchemaServiceImpl">
<property name="resourceService" ref="resourceService"/>
<property name="resourceMapper" ref="resourceMapper"/>
</bean>
</blueprint>

View File

@ -0,0 +1,373 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.entaxy.ru/registry-schema-service/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="system-management-service" targetNamespace="http://www.entaxy.ru/registry-schema-service/">
<wsdl:types>
<xsd:schema targetNamespace="http://www.entaxy.ru/registry-schema-service/" elementFormDefault="qualified">
<xsd:element name="loadResourceRequest" type="tns:LoadResourceType"/>
<xsd:complexType name="LoadResourceType">
<xsd:sequence>
<xsd:element name="resourceValue" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ResourceType" type="tns:ResourceType"/>
<xsd:complexType name="ResourceType">
<xsd:sequence>
<xsd:element name="id" type="xsd:long"/>
<xsd:element name="resourceValue" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="FullResourceType" type="tns:FullResourceType"/>
<xsd:complexType name="FullResourceType">
<xsd:sequence>
<xsd:element name="id" type="xsd:long"/>
<xsd:element name="createdBy" type="xsd:string"/>
<xsd:element name="createdDate" type="xsd:string"/>
<xsd:element name="editedBy" type="xsd:string" wsdl:required="false"/>
<xsd:element name="editedDate" type="xsd:string" wsdl:required="false"/>
<xsd:element name="resourceValue" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="removeResourceRequest" type="xsd:long"/>
<xsd:element name="getResourceRequest" type="xsd:long"/>
<xsd:element name="loadResourceInfoRequest" type="tns:ResourceInfoType"/>
<xsd:complexType name="ResourceInfoType">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="idResource" type="xsd:long"/>
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
<xsd:element name="description" type="xsd:string" wsdl:required="false"/>
<xsd:element name="convertor" type="xsd:boolean" wsdl:required="false"/>
<xsd:element name="namespace" type="xsd:string" wsdl:required="false"/>
<xsd:element name="namespaceOut" type="xsd:string" wsdl:required="false"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="editResourceInfoRequest" type="tns:EditedResourceInfoFullType"/>
<xsd:complexType name="EditedResourceInfoFullType">
<xsd:sequence>
<xsd:element name="id" type="xsd:long"/>
<xsd:element name="idResource" type="xsd:long"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
<xsd:element name="description" type="xsd:string" wsdl:required="false"/>
<xsd:element name="convertor" type="xsd:boolean" wsdl:required="false"/>
<xsd:element name="namespace" type="xsd:string" wsdl:required="false"/>
<xsd:element name="namespaceOut" type="xsd:boolean" wsdl:required="false"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="removeResourceInfoRequest" type="xsd:string"/>
<xsd:element name="getResourceInfoRequest" type="xsd:string"/>
<xsd:element name="getResourceInfoResponse" type="tns:ResourceInfoFullType"/>
<xsd:complexType name="ResourceInfoFullType">
<xsd:sequence>
<xsd:element name="id" type="xsd:long"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="idResource" type="xsd:long"/>
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
<xsd:element name="description" type="xsd:string" wsdl:required="false"/>
<xsd:element name="convertor" type="xsd:boolean" wsdl:required="false"/>
<xsd:element name="namespace" type="xsd:string" wsdl:required="false"/>
<xsd:element name="namespaceOut" type="xsd:string" wsdl:required="false"/>
<xsd:element name="createdBy" type="xsd:string"/>
<xsd:element name="createdDate" type="xsd:string"/>
<xsd:element name="editedBy" type="xsd:string" wsdl:required="false"/>
<xsd:element name="editedDate" type="xsd:string" wsdl:required="false"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getResourceInfoListRequest">
<xsd:complexType>
<xsd:sequence/>
</xsd:complexType>
</xsd:element>
<xsd:element name="getResourceInfoListByNameRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getResourceInfoListByNamespaceRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="namespace" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getResourceInfoListResponse" type="tns:getResourceInfoList"/>
<xsd:complexType name="getResourceInfoList">
<xsd:sequence>
<xsd:element name="ResourceInfoFullType" type="tns:ResourceInfoFullType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="createdBy" type="xsd:string"/>
<xsd:element name="response" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="loadResourceRequest">
<wsdl:part name="request" element="tns:loadResourceRequest"/>
</wsdl:message>
<wsdl:message name="loadResourceResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="reloadResourceRequest">
<wsdl:part name="request" element="tns:ResourceType"/>
</wsdl:message>
<wsdl:message name="reloadResourceResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="removeResourceRequest">
<wsdl:part name="request" element="tns:removeResourceRequest"/>
</wsdl:message>
<wsdl:message name="removeResourceResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="getResourceRequest">
<wsdl:part name="request" element="tns:getResourceRequest"/>
</wsdl:message>
<wsdl:message name="getResourceResponse">
<wsdl:part name="response" element="tns:FullResourceType"/>
</wsdl:message>
<wsdl:message name="loadResourceInfoRequest">
<wsdl:part name="request" element="tns:loadResourceInfoRequest"/>
</wsdl:message>
<wsdl:message name="loadResourceInfoResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="editResourceInfoRequest">
<wsdl:part name="request" element="tns:editResourceInfoRequest"/>
</wsdl:message>
<wsdl:message name="editResourceInfoResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="removeResourceInfoRequest">
<wsdl:part name="request" element="tns:removeResourceInfoRequest"/>
</wsdl:message>
<wsdl:message name="removeResourceInfoResponse">
<wsdl:part name="response" element="tns:response"/>
</wsdl:message>
<wsdl:message name="getResourceInfoRequest">
<wsdl:part name="request" element="tns:getResourceInfoRequest"/>
</wsdl:message>
<wsdl:message name="getResourceInfoResponse">
<wsdl:part name="response" element="tns:getResourceInfoResponse"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListRequest">
<wsdl:part name="request" element="tns:getResourceInfoListRequest"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListResponse">
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListByNameRequest">
<wsdl:part name="request" element="tns:getResourceInfoListByNameRequest"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListByNameResponse">
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListByNamespaceRequest">
<wsdl:part name="request" element="tns:getResourceInfoListByNamespaceRequest"/>
</wsdl:message>
<wsdl:message name="getResourceInfoListByNamespaceResponse">
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
</wsdl:message>
<wsdl:message name="createdBy">
<wsdl:part name="header" element="tns:createdBy"/>
</wsdl:message>
<wsdl:binding name="registry-schema-serviceSOAP" type="tns:registry-schema-service">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="loadResource">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/load-resourceInfo"/>
<wsdl:input>
<soap:header message="tns:createdBy" part="header" use="literal"/>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="reloadResource">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/reload-resourceInfo"/>
<wsdl:input>
<soap:header message="tns:createdBy" part="header" use="literal"/>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="removeResource">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/remove-resourceInfo"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getResource">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/get-resourceInfo"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="loadResourceInfo">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/load-resourceInfo-info"/>
<wsdl:input>
<soap:header message="tns:createdBy" part="header" use="literal"/>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="editResourceInfo">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/edit-resourceInfo-info"/>
<wsdl:input>
<soap:header message="tns:createdBy" part="header" use="literal"/>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="removeResourceInfo">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/remove-resourceInfo-info"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getResourceInfo">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getResourceInfoList">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getResourceInfoListByName">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-name"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getResourceInfoListByNamespace">
<soap:operation soapAction="http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-namespace"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="registry-schema-service">
<wsdl:port name="registry-schema-serviceSOAP" binding="tns:registry-schema-serviceSOAP">
<soap:address location="http://dev.esbHost.ru/"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="registry-schema-service">
<!--Resource-->
<wsdl:operation name="loadResource">
<wsdl:input message="tns:loadResourceRequest"/>
<wsdl:output message="tns:loadResourceResponse"/>
</wsdl:operation>
<wsdl:operation name="reloadResource">
<wsdl:input message="tns:reloadResourceRequest"/>
<wsdl:output message="tns:reloadResourceResponse"/>
</wsdl:operation>
<wsdl:operation name="removeResource">
<wsdl:input message="tns:removeResourceRequest"/>
<wsdl:output message="tns:removeResourceResponse"/>
</wsdl:operation>
<wsdl:operation name="getResource">
<wsdl:input message="tns:getResourceRequest"/>
<wsdl:output message="tns:getResourceResponse"/>
</wsdl:operation>
<!--Resource Info-->
<wsdl:operation name="loadResourceInfo">
<wsdl:input message="tns:loadResourceInfoRequest"/>
<wsdl:output message="tns:loadResourceInfoResponse"/>
</wsdl:operation>
<wsdl:operation name="editResourceInfo">
<wsdl:input message="tns:editResourceInfoRequest"/>
<wsdl:output message="tns:editResourceInfoResponse"/>
</wsdl:operation>
<wsdl:operation name="removeResourceInfo">
<wsdl:input message="tns:removeResourceInfoRequest"/>
<wsdl:output message="tns:removeResourceInfoResponse"/>
</wsdl:operation>
<wsdl:operation name="getResourceInfo">
<wsdl:input message="tns:getResourceInfoRequest"/>
<wsdl:output message="tns:getResourceInfoResponse"/>
</wsdl:operation>
<wsdl:operation name="getResourceInfoList">
<wsdl:input message="tns:getResourceInfoListRequest"/>
<wsdl:output message="tns:getResourceInfoListResponse"/>
</wsdl:operation>
<wsdl:operation name="getResourceInfoListByName">
<wsdl:input message="tns:getResourceInfoListByNameRequest"/>
<wsdl:output message="tns:getResourceInfoListByNameResponse"/>
</wsdl:operation>
<wsdl:operation name="getResourceInfoListByNamespace">
<wsdl:input message="tns:getResourceInfoListByNamespaceRequest"/>
<wsdl:output message="tns:getResourceInfoListByNamespaceResponse"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>