MNP_RU_638 - Middleware Modernization 2024 (Lotto 5): implement ESITRICMVNO

This commit is contained in:
manuelstefanile
2024-06-10 14:52:38 +02:00
parent 3818aa2732
commit 3a11cbd3e8
17 changed files with 588 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5">
<display-name>esitoRicMvno</display-name>
<module>
<web>
<web-uri>esitoRicMvno.war</web-uri>
<context-root>wso2cesitricmvno</context-root>
</web>
</module>
</application>

View File

@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.3/weblogic-application.xsd"></weblogic-application>

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:h="http://telecomitalia.it/SOA/SOAP/SOAPHeader/2024-06-05" targetNamespace="http://telecomitalia.it/SOA/SOAP/SOAPHeader/2024-06-05" elementFormDefault="qualified" version="1.1">
<!-- Start Types Definition -->
<xs:complexType name="HeaderType">
<xs:sequence>
<xs:element name="sourceSystem" type="h:sourceSystemType"/>
<xs:element name="channel" type="h:channelType"/>
<xs:element name="interactionDate" type="h:interactionDateType"/>
<xs:element name="sessionID" type="h:sessionIDType"/>
<xs:element name="businessID" type="h:businessIDType"/>
<xs:element name="transactionID" type="h:transactionIDType"/>
<xs:element name="messageID" type="h:messageIDType" minOccurs="0"/>
<xs:element name="eventType" type="h:eventType"/>
<xs:element name="destinationSystem" type="h:destinationSystemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="dateType">
<xs:restriction base="xs:string">
<xs:pattern value="\d{4}-\d{2}-\d{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="timeType">
<xs:restriction base="xs:string">
<xs:pattern value="\d{2}:\d{2}:\d{2}((Z)|(\.\d{1,}Z?)|((\+|-)\d{2}:\d{2}))?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="sessionIDType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="24"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="businessIDType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="24"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="messageIDType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="24"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="sourceSystemType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="channelType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="transactionIDType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="24"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="eventType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="destinationSystemType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="interactionDateType">
<xs:sequence>
<xs:element name="Date" type="h:dateType"/>
<xs:element name="Time" type="h:timeType"/>
</xs:sequence>
</xs:complexType>
<!-- End Types Definition -->
<xs:element name="Header" type="h:HeaderType"/>
</xs:schema>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:nsSchema="http://dbcmnp/SOA/EsitoRicMvno/2024-06-05" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:head="http://telecomitalia.it/SOA/SOAP/SOAPHeader/2024-06-05" xmlns:tns="http://dbcmnp/SOA/EsitoRicMvno" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://dbcmnp/SOA/EsitoRicMvno">
<wsdl:types>
<xsd:schema targetNamespace="http://dbcmnp/SOA/EsitoRicMvno">
<xsd:import namespace="http://dbcmnp/SOA/EsitoRicMvno/2024-06-05" schemaLocation="esitoRicMvno.xsd"/>
<xsd:import namespace="http://telecomitalia.it/SOA/SOAP/SOAPHeader/2024-06-05" schemaLocation="SOAPHeader_v1.1.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="esitoRicMvnoRequest">
<wsdl:part name="Header" element="head:Header"/>
<wsdl:part name="body" element="nsSchema:esitoRicMvnoRequest"/>
</wsdl:message>
<wsdl:message name="esitoRicMvnoResponse">
<wsdl:part name="Header" element="head:Header"/>
<wsdl:part name="body" element="nsSchema:esitoRicMvnoResponse"/>
</wsdl:message>
<wsdl:portType name="EsitoRicMvnoPortType">
<wsdl:operation name="esitoRicMvno">
<wsdl:input message="tns:esitoRicMvnoRequest"/>
<wsdl:output message="tns:esitoRicMvnoResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="EsitoRicMvnoBinding" type="tns:EsitoRicMvnoPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="esitoRicMvno">
<soap:operation soapAction="esitoRicMvno" style="document"/>
<wsdl:input>
<soap:body parts="body" use="literal"/>
<soap:header message="tns:esitoRicMvnoRequest" part="Header" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body parts="body" use="literal"/>
<soap:header message="tns:esitoRicMvnoResponse" part="Header" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EsitoRicMvno">
<wsdl:port name="EsitoRicMvno" binding="tns:EsitoRicMvnoBinding">
<soap:address location="https://localhost:7502/wso2cesitricmvno/EsitoRicMvno"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sm="http://dbcmnp/SOA/EsitoRicMvno/2024-06-05" targetNamespace="http://dbcmnp/SOA/EsitoRicMvno/2024-06-05" elementFormDefault="qualified" version="1.0">
<xs:element name="esitoRicMvnoRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="NOME_RICHIESTA" type="sm:typeNOME_RICHIESTA"/>
<xs:element name="CAS" type="sm:typeCAS"/>
<xs:element name="DETTAGLIO_ESITO" type="sm:typeDETTAGLIO_ESITO" minOccurs="0"/>
<xs:element name="DESCRIZIONE_ESITO" type="sm:typeDESCRIZIONE_ESITO"/>
<xs:element name="DATA_ESPLETAMENTO" type="sm:dateTimeType" minOccurs="0"/>
<xs:element name="CODICE_RIPROPOSIZIONE" type="sm:strLn23"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="esitoRicMvnoResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="CODICE_ACK" type="sm:tipoAckTYPE"/>
<xs:element name="DESCRIZIONE_ACK" type="sm:string255TYPE" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="typeNOME_RICHIESTA">
<xs:restriction base="xs:string">
<xs:pattern value="DBC_DISATMNPG|DBC_ATTIVGSM|DBC_DISATMNPG_PP|DBC_DISATMNPG_CO|DBC_DISATMNPG_BU"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="typeCAS">
<xs:restriction base="xs:string">
<xs:pattern value="001|002|003"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="typeDETTAGLIO_ESITO">
<xs:restriction base="xs:string">
<xs:length value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="typeDESCRIZIONE_ESITO">
<xs:restriction base="xs:string">
<xs:maxLength value="48"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="dateTimeType">
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="strLn23">
<xs:restriction base="xs:string">
<xs:maxLength value="23"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string255TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoAckTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="OK|KO"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>