-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mikhael Sokolov
committed
Apr 17, 2022
1 parent
e28ab6b
commit ea5b0af
Showing
8 changed files
with
200 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/kotlin/ru/sokomishalov/jackson/dataformat/soap/SoapMultipleHeaders.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Copyright (c) 2021-present Mikhael Sokolov | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package ru.sokomishalov.jackson.dataformat.soap | ||
|
||
/** | ||
* @author sokomishalov | ||
*/ | ||
data class SoapMultipleHeaders<H : Any>(val headers: Iterable<H>) : Iterable<H> by headers { | ||
constructor(vararg headers: H) : this(headers.toList()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wsdl:definitions | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:tns="http://www.addmore.de/GroupList/GroupList-001.wsdl" | ||
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" | ||
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" | ||
targetNamespace="http://www.addmore.de/GroupList/GroupList-001.wsdl"> | ||
<wsdl:types> | ||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.addmore.de/GroupList/GroupList-001.wsdl"> | ||
<xs:element name="GetGroupListRequest"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="rowCount" type="integer"/> | ||
<xs:element name="banList"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="ban" type="integer" maxOccurs="10"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="GetGroupListResponse"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="rowCount" type="integer"/> | ||
<xs:element name="vpnGroup" type="string" minOccurs="0" maxOccurs="600"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="appMonDetailsStrict"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<element name="bpId" type="string"/> | ||
<element name="bpName" type="string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="controllObject"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<element name="timeout" type="unsignedInt"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="functionalException"></xs:element> | ||
<xs:element name="technicalException"></xs:element> | ||
</schema> | ||
</wsdl:types> | ||
<wsdl:message name="appMonDetailsStrictHeader"> | ||
<wsdl:part name="AppMonDetailsStrict" element="tns:appMonDetailsStrict"/> | ||
</wsdl:message> | ||
<wsdl:message name="controllObject"> | ||
<wsdl:part name="ControllObject" element="tns:controllObject"/> | ||
</wsdl:message> | ||
<wsdl:message name="functionalException"> | ||
<wsdl:part name="FunctionalException" element="tns:functionalException"/> | ||
</wsdl:message> | ||
<wsdl:message name="technicalException"> | ||
<wsdl:part name="TechnicalException" element="tns:technicalException"/> | ||
</wsdl:message> | ||
<wsdl:message name="GetGroupListRequest"> | ||
<wsdl:part element="tns:GetGroupListRequest" name="GetGroupListRequest"/> | ||
</wsdl:message> | ||
<wsdl:message name="GetGroupListResponse"> | ||
<wsdl:part element="tns:GetGroupListResponse" name="GetGroupListResponse"/> | ||
</wsdl:message> | ||
<wsdl:portType name="GroupListPortType"> | ||
<wsdl:operation name="GetGroupList"> | ||
<wsdl:input message="tns:GetGroupListRequest" name="GetGroupListRequest"/> | ||
<wsdl:output message="tns:GetGroupListResponse" name="GetGroupListResponse"/> | ||
<wsdl:fault message="tns:functionalException" name="functionalException"/> | ||
<wsdl:fault message="tns:technicalException" name="technicalException"/> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="GroupListEndpointBinding" type="tns:GroupListPortType"> | ||
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="GetGroupList"> | ||
<soap12:operation soapAction="/GroupList-001/GetGroupList" soapActionRequired="true"/> | ||
<wsdl:input> | ||
<soap12:body parts="GetGroupListRequest" use="literal"/> | ||
<soap12:header message="tns:appMonDetailsStrictHeader" part="AppMonDetailsStrict" use="literal" | ||
wsdl:required="true"/> | ||
<soap12:header message="tns:controllObject" part="ControllObject" use="literal"/> | ||
</wsdl:input> | ||
<wsdl:output> | ||
<soap12:body parts="GetGroupListResponse" use="literal"/> | ||
</wsdl:output> | ||
<wsdl:fault name="functionalException"> | ||
<soap12:fault name="functionalException" use="literal"/> | ||
</wsdl:fault> | ||
<wsdl:fault name="technicalException"> | ||
<soap12:fault name="technicalException" use="literal"/> | ||
</wsdl:fault> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
<wsdl:service name="GroupList"> | ||
<wsdl:port binding="tns:GroupListEndpointBinding" name="GroupListEndpoint"> | ||
<soap12:address location="http://www.addmore.de/"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |