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,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>