diff options
Diffstat (limited to 'id/server/idserverlib/src/main/resources')
3 files changed, 172 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/stork.xsd b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/stork.xsd new file mode 100644 index 000000000..251ef3e1a --- /dev/null +++ b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/stork.xsd @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:stork="urn:eu:stork:names:tc:PEPS:1.0:assertion" targetNamespace="urn:eu:stork:names:tc:PEPS:1.0:assertion" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:complexType name="representationPerson"> + <xs:choice> + <xs:sequence> + <xs:element name="naturalPerson" type="stork:natPerson" minOccurs="1" maxOccurs="1"/> + </xs:sequence> + <xs:sequence> + <xs:element name="legalPerson" type="stork:jurPerson" minOccurs="1" maxOccurs="1"/> + </xs:sequence> + </xs:choice> + </xs:complexType> + <xs:complexType name="natPerson"> + <xs:sequence> + <xs:element name="eIdentifier" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="givenName" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="surname" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="dateOfBirth" type="xs:date" minOccurs="1" maxOccurs="1"/> + <xs:element name="fiscalNumber" type="xs:string" minOccurs="0" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="jurPerson"> + <xs:sequence> + <xs:element name="eLPIdentifier" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="legalName" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="canonicalRegisteredAddress" type="stork:canonicalAddressType" minOccurs="1" maxOccurs="1"/> + <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1"/> + <xs:element name="translatableType" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="LPfiscalNumber" type="xs:string" minOccurs="0" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="mandateContent"> + <xs:sequence> + <xs:element name="validFrom" type="xs:date" minOccurs="0" maxOccurs="1"/> + <xs:element name="validTo" type="xs:date" minOccurs="0" maxOccurs="1"/> + <xs:element name="isJoint" type="xs:integer" minOccurs="0" maxOccurs="1"/> + <xs:element name="isChained" type="xs:boolean" minOccurs="0" maxOccurs="1"/> + <xs:element name="typePower" type="xs:integer" minOccurs="1" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="canonicalAddressType"> + <xs:sequence> + <xs:element ref="stork:countryCodeAddress"/> + <xs:element name="state" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="municipalityCode" type="xs:string" minOccurs="0"/> + <xs:element name="town" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="postalCode" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="streetName" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="streetNumber" type="xs:string" minOccurs="0"/> + <xs:element name="apartmentNumber" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + <xs:element name="countryCodeAddress"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:maxLength value="2"/> + <xs:minLength value="2"/> + </xs:restriction> + </xs:simpleType> + </xs:element> +</xs:schema> diff --git a/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szr-gw-0.0.3.xsd b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szr-gw-0.0.3.xsd new file mode 100644 index 000000000..d3f148356 --- /dev/null +++ b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szr-gw-0.0.3.xsd @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sgw="http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:stork="urn:eu:stork:names:tc:PEPS:1.0:assertion" xmlns:mis="http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd" targetNamespace="http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.0.1"> + <xs:import namespace="urn:oasis:names:tc:SAML:1.0:assertion" schemaLocation="../cs-sstc-schema-assertion-01.xsd"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#" schemaLocation="../PersonData_20_en_moaWID.xsd"/> + <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../W3C-XMLDSig.xsd"/> + <xs:import namespace="urn:eu:stork:names:tc:PEPS:1.0:assertion" schemaLocation="stork.xsd"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd" schemaLocation="../mis/mis-1.0.3.xsd"/> + <xs:element name="CreateIdentityLinkRequest"> + <xs:complexType> + <xs:sequence> + <xs:element name="PEPSData" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:sequence> + <xs:element name="Identifier" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="Firstname" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="Familyname" type="xs:string" minOccurs="1" maxOccurs="1"/> + <xs:element name="DateOfBirth" type="sgw:DateOfBirthType" minOccurs="1" maxOccurs="1"/> + <xs:element name="Representative" type="stork:representationPerson" minOccurs="0" maxOccurs="1"/> + <xs:element name="Represented" type="stork:representationPerson" minOccurs="0" maxOccurs="1"/> + <xs:element name="MandateContent" type="stork:mandateContent" minOccurs="0" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Signature" type="xs:base64Binary" minOccurs="1" maxOccurs="1"/> + <xs:element name="MIS" type="sgw:MISType" minOccurs="0" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:complexType name="MISType"> + <xs:sequence> + <xs:element name="Filters" minOccurs="1" maxOccurs="1"> + <xs:complexType> + <xs:sequence> + <xs:element ref="mis:MandateIdentifiers" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element ref="mis:Target" minOccurs="0" maxOccurs="1"/> + <xs:element name="OAFriendlyName" type="xs:string" minOccurs="1" maxOccurs="1"/> + </xs:sequence> + </xs:complexType> + <xs:element name="CreateIdentityLinkResponse"> + <xs:annotation> + <xs:documentation>Antwort auf Personenbindung-Request</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:choice> + <xs:sequence> + <xs:element name="IdentityLink" type="xs:base64Binary" minOccurs="1" maxOccurs="1"/> + <xs:element name="Mandate" type="xs:base64Binary" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:sequence> + <xs:element name="ErrorResponse" type="sgw:ErrorResponseType"/> + </xs:sequence> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:simpleType name="DateOfBirthType"> + <xs:annotation> + <xs:documentation>simple type for dates (union), which may omit day and/or month</xs:documentation> + </xs:annotation> + <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/> + </xs:simpleType> + <xs:complexType name="ErrorResponseType"> + <xs:annotation> + <xs:documentation>Allgemeiner Typ fuer ErrorResponse</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="ErrorCode"/> + <xs:element name="Info"/> + </xs:sequence> + </xs:complexType> +</xs:schema> diff --git a/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szrgw.wsdl b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szrgw.wsdl new file mode 100644 index 000000000..2a240d922 --- /dev/null +++ b/id/server/idserverlib/src/main/resources/resources/wsdl/szrgw/szrgw.wsdl @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:szrgw="http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd" xmlns:tns="http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns="http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd" xmlns:ns1="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="urn:eu:stork:names:tc:PEPS:1.0:assertion" xmlns:ns4="urn:oasis:names:tc:SAML:1.0:assertion" name="szrgw" targetNamespace="http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl"> + <wsdl:types> + <xs:schema> + <xs:import namespace="http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd" schemaLocation="szr-gw-0.0.3.xsd"/> + </xs:schema> + </wsdl:types> + <wsdl:message name="CreateIdentityLinkRequest"> + <wsdl:part name="CreateIdentityLinkRequest" element="szrgw:CreateIdentityLinkRequest"/> + </wsdl:message> + <wsdl:message name="CreateIdentityLinkResponse"> + <wsdl:part name="CreateIdentityLinkResponse" element="szrgw:CreateIdentityLinkResponse"/> + </wsdl:message> + <wsdl:portType name="SZRGWType"> + <wsdl:operation name="SZRGWOperation"> + <wsdl:input message="tns:CreateIdentityLinkRequest"/> + <wsdl:output message="tns:CreateIdentityLinkResponse"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="SZRGWBinding" type="tns:SZRGWType"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="SZRGWOperation"> + <soap:operation soapAction="szrgw:SZRGWType#SZRGWOperation" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="SZRGWService"> + <wsdl:port name="SZRGWPort" binding="tns:SZRGWBinding"> + <soap:address location="http://localhost:8000/szr-gateway/IdentityLinkCreation"/> + </wsdl:port> + </wsdl:service> + +</wsdl:definitions> |