Skip to content

Commit

Permalink
added missing wsdl and xsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Darvas committed Oct 31, 2023
1 parent 76a68f0 commit 2ec6d62
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 0 deletions.
77 changes: 77 additions & 0 deletions src/main/resources/wsdl/Ack.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Version: 1.5
Change history:
0.1 (01.05.2017): Initial draft
1.0 (23.06.2017): Extension to support IAP and Toll Charger BAG
1.1 (27.07.2017): dateOfReception field added
1.2 (02.02.2018): Added minOccurs="0" to the messageOriginator
1.3 (02.03.2018): relatedMessageNumber added
1.4 (12.11.2020): AduReasonCode: FCA values (10101 - 11102) added
1.5 (19.07.2021): AduReasonCode: EGH values (20001 - 20109) added
-->
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ack="http://tsystems.com/etccm/iso12855/ack"
targetNamespace="http://tsystems.com/etccm/iso12855/ack"
elementFormDefault="qualified">

<xsd:element name="InfoExchangeAck">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="messageOriginator" minOccurs="0" type="ack:Provider" />
<xsd:element name="informationSenderId" minOccurs="0" type="ack:Provider" />
<xsd:element name="informationRecipientId" minOccurs="0" type="ack:Provider" />
<xsd:element name="ackADU" type="ack:AckADU" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>

<xsd:complexType name="AckADU">
<xsd:sequence>
<xsd:element name="apduAckCode" type="ack:ApduReasonCode" />
</xsd:sequence>
</xsd:complexType>

<xsd:simpleType name="ApduReasonCode">
<xsd:restriction base="xsd:unsignedByte">
<xsd:minInclusive value="1" />
<xsd:maxInclusive value="10" />
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="Provider">
<xsd:sequence>
<xsd:element name="countryCode" type="ack:CountryCode" />
<xsd:element name="providerIdentifier" type="ack:IssuerIdentifier" />
</xsd:sequence>
</xsd:complexType>

<!-- Value assignment is done in accordance with ISO 3166-1-Alpha-2 and by using the ITA2 alphabet. -->
<xsd:simpleType name="CountryCode">
<xsd:restriction base="ack:BitString">
<xsd:pattern value="(11000|10011|01110|10010|10000|10110|01011|00101|01100|11010|11110|01001|00111|00110|00011|01101|11101|01010|10100|00001|11100|01111|11001|10111|10101|10001){2}" />
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="BitString">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[0-1]{0,}" />
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="IssuerIdentifier">
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="999999" />
</xsd:restriction>
</xsd:simpleType>

<xsd:element name="response">
<xsd:simpleType>
<xsd:restriction base="xsd:token">
<xsd:length value="0" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

</xsd:schema>
56 changes: 56 additions & 0 deletions src/main/resources/wsdl/AckService.wsdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Version: 1.1
Change history:
0.1 (17.05.2017): Initial draft
1.0 (23.06.2017): Namespaces updated
1.1 (05.07.2017): SoapAction corrected
-->
<wsdl:definitions
name="AckService"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://tsystems.com/etccm/iso12855/ack"
targetNamespace="http://tsystems.com/etccm/iso12855/ack">

<wsdl:types>
<xsd:schema targetNamespace="http://tsystems.com/etccm/iso12855/ack">
<xsd:include schemaLocation="Ack.xsd" />
</xsd:schema>
</wsdl:types>

<wsdl:message name="ackRequest">
<wsdl:part name="request" element="tns:InfoExchangeAck" />
</wsdl:message>

<wsdl:message name="ackResponse">
<wsdl:part name="response" element="tns:response" />
</wsdl:message>

<wsdl:portType name="AckServicePT">
<wsdl:operation name="sendAck">
<wsdl:input message="tns:ackRequest" />
<wsdl:output message="tns:ackResponse" />
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="AckServiceBinding" type="tns:AckServicePT">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="sendAck">
<soap:operation soapAction="http://tsystems.com/etccm/iso12855/AckService/sendAck" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="AckService">
<wsdl:port name="AckServicePort" binding="tns:AckServiceBinding">
<soap:address location="http://localhost/AckService" />
</wsdl:port>
</wsdl:service>

</wsdl:definitions>

0 comments on commit 2ec6d62

Please sign in to comment.