Skip to content

Instantly share code, notes, and snippets.

@5HT
Created April 15, 2024 12:10
Show Gist options
  • Save 5HT/50c5e8266b1333746a43893bbaee2d18 to your computer and use it in GitHub Desktop.
Save 5HT/50c5e8266b1333746a43893bbaee2d18 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:plink="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap11env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" xmlns:soap12env="http://www.w3.org/2003/05/soap-envelope" xmlns:tns="NotificationDistributionStatus" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:wsdlsoap11="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdlsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xroad="http://x-road.eu/xsd/xroad.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Application" targetNamespace="NotificationDistributionStatus">
<wsdl:types>
<xs:schema elementFormDefault="qualified" targetNamespace="NotificationDistributionStatus">
<xs:complexType name="DistributionStatus">
<xs:sequence>
<xs:element name="partnerId" nillable="true" type="xs:string"/>
<xs:element name="distributionId" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DistributionStatusResponse">
<xs:sequence>
<xs:element minOccurs="0" name="status" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="error" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="DistributionStatus" type="tns:DistributionStatus"/>
<xs:element name="DistributionStatusResponse" type="tns:DistributionStatusResponse"/>
</xs:schema>
<xs:schema xmlns="http://x-road.eu/xsd/identifiers" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" elementFormDefault="qualified" jxb:version="2.1" targetNamespace="http://x-road.eu/xsd/identifiers">
<xs:complexType name="XRoadIdentifierType">
<xs:annotation>
<xs:documentation>Globally unique identifier in the XROAD system. Identifier consists of object type specifier and list of hierarchical codes (starting with code that identifiers the XROAD instance).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="xRoadInstance"/>
<xs:element minOccurs="0" ref="memberClass"/>
<xs:element minOccurs="0" ref="memberCode"/>
<xs:element minOccurs="0" ref="subsystemCode"/>
<xs:element minOccurs="0" ref="serviceCode"/>
<xs:element minOccurs="0" ref="serviceVersion"/>
</xs:sequence>
<xs:attribute ref="objectType" use="required"/>
</xs:complexType>
<xs:simpleType name="XRoadObjectType">
<xs:annotation>
<xs:documentation>Enumeration for XROAD identifier types.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="MEMBER"/>
<xs:enumeration value="SUBSYSTEM"/>
<xs:enumeration value="SERVICE"/>
<xs:enumeration value="CENTRALSERVICE"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="xRoadInstance" type="xs:string">
<xs:annotation>
<xs:documentation>Identifies the XROAD instance. This field is applicable to all identifier types.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="memberClass" type="xs:string">
<xs:annotation>
<xs:documentation>Type of the member (company, government institution, private person, etc.)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="memberCode" type="xs:string">
<xs:annotation>
<xs:documentation>Code that uniquely identifies a member of given member type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subsystemCode" type="xs:string">
<xs:annotation>
<xs:documentation>Code that uniquely identifies a subsystem of given XROAD member.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="serviceCode" type="xs:string">
<xs:annotation>
<xs:documentation>Code that uniquely identifies a service offered by given XROAD member or subsystem.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="serviceVersion" type="xs:string">
<xs:annotation>
<xs:documentation>Version of the service.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:attribute name="objectType" type="XRoadObjectType"/>
<xs:complexType name="XRoadClientIdentifierType">
<xs:complexContent>
<xs:restriction base="XRoadIdentifierType">
<xs:sequence>
<xs:element ref="xRoadInstance"/>
<xs:element ref="memberClass"/>
<xs:element ref="memberCode"/>
<xs:element minOccurs="0" ref="subsystemCode"/>
</xs:sequence>
<xs:attribute ref="objectType" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="XRoadServiceIdentifierType">
<xs:complexContent>
<xs:restriction base="XRoadIdentifierType">
<xs:sequence>
<xs:element ref="xRoadInstance"/>
<xs:element ref="memberClass"/>
<xs:element ref="memberCode"/>
<xs:element minOccurs="0" ref="subsystemCode"/>
<xs:element ref="serviceCode"/>
<xs:element minOccurs="0" ref="serviceVersion"/>
</xs:sequence>
<xs:attribute fixed="SERVICE" ref="objectType" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<xs:schema xmlns="http://x-road.eu/xsd/xroad.xsd" xmlns:id="http://x-road.eu/xsd/identifiers" elementFormDefault="qualified" targetNamespace="http://x-road.eu/xsd/xroad.xsd">
<xs:import namespace="http://x-road.eu/xsd/identifiers"/>
<xs:element name="version" type="xs:string"/>
<xs:element name="client" type="id:XRoadClientIdentifierType"/>
<xs:element name="service" type="id:XRoadServiceIdentifierType"/>
<xs:element name="userId" type="xs:string"/>
<xs:element fixed="4.0" name="protocolVersion" type="xs:string"/>
<xs:element name="id" type="xs:string"/>
<xs:element name="title">
<xs:annotation>
<xs:documentation>Title</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="notes">
<xs:annotation>
<xs:documentation>Notes for user</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="requestheader">
<wsdl:part element="xroad:protocolVersion" name="protocolVersion"/>
<wsdl:part element="xroad:id" name="id"/>
<wsdl:part element="xroad:userId" name="userId"/>
<wsdl:part element="xroad:service" name="service"/>
<wsdl:part element="xroad:client" name="client"/>
</wsdl:message>
<wsdl:message name="DistributionStatus">
<wsdl:part element="tns:DistributionStatus" name="DistributionStatus"/>
</wsdl:message>
<wsdl:message name="DistributionStatusResponse">
<wsdl:part element="tns:DistributionStatusResponse" name="DistributionStatusResponse"/>
</wsdl:message>
<wsdl:service name="Soap">
<wsdl:port binding="tns:Application" name="Application">
<wsdlsoap11:address location="http://195.189.240.40:80/"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="Application">
<wsdl:operation name="DistributionStatus" parameterOrder="DistributionStatus">
<wsdl:input message="tns:DistributionStatus" name="DistributionStatus"/>
<wsdl:output message="tns:DistributionStatusResponse" name="DistributionStatusResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Application" type="tns:Application">
<wsdlsoap11:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="DistributionStatus">
<wsdlsoap11:operation soapAction="DistributionStatus" style="document"/>
<wsdl:input name="DistributionStatus">
<wsdlsoap11:body use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="protocolVersion" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="id" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="userId" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="service" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="client" use="literal"/>
</wsdl:input>
<wsdl:output name="DistributionStatusResponse">
<wsdlsoap11:body use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="protocolVersion" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="id" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="userId" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="service" use="literal"/>
<wsdlsoap11:header message="tns:requestheader" part="client" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment