diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/wsdl/custom-bindings/mms-schemas.xml | 2 | ||||
-rw-r--r-- | src/main/resources/wsdl/mms/mms-1.1.xsd | 47 | ||||
-rw-r--r-- | src/main/resources/wsdl/mms/mms.wsdl | 20 |
3 files changed, 55 insertions, 14 deletions
diff --git a/src/main/resources/wsdl/custom-bindings/mms-schemas.xml b/src/main/resources/wsdl/custom-bindings/mms-schemas.xml index d9e72b2..3f4e01b 100644 --- a/src/main/resources/wsdl/custom-bindings/mms-schemas.xml +++ b/src/main/resources/wsdl/custom-bindings/mms-schemas.xml @@ -3,7 +3,7 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"> - <bindings schemaLocation="../mms/mms-1.0.xsd"> + <bindings schemaLocation="../mms/mms-1.1.xsd"> <bindings node="/xsd:schema"> <schemaBindings> <package name="at.gv.util.xsd.mms" /> diff --git a/src/main/resources/wsdl/mms/mms-1.1.xsd b/src/main/resources/wsdl/mms/mms-1.1.xsd new file mode 100644 index 0000000..0f5e6c7 --- /dev/null +++ b/src/main/resources/wsdl/mms/mms-1.1.xsd @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/xsd" targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/xsd" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:element name="GetMandatesRequest"> + <xs:complexType> + <xs:sequence> + <xs:element name="bPK" type="xs:string"/> + <xs:element name="bPKType" type="xs:string"/> + <xs:element name="MandateIdentifiers" minOccurs="0"> + <xs:complexType> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="MandateIdentifier" type="xs:string"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="transactionId" use="required" /> + </xs:complexType> + </xs:element> + + <xs:element name="GetMandatesResponse"> + <xs:complexType> + <xs:choice> + <xs:sequence> + <xs:element name="bPK" type="xs:string"/> + <xs:element name="bPKType" type="xs:string"/> + <xs:element name="Mandates"> + <xs:complexType> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="Mandate" type="xs:base64Binary"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:sequence> + <xs:element name="ErrorResponse"> + <xs:complexType> + <xs:sequence> + <xs:element name="Code" type="xs:positiveInteger"/> + <xs:element name="Info" type="xs:string"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:choice> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/src/main/resources/wsdl/mms/mms.wsdl b/src/main/resources/wsdl/mms/mms.wsdl index 70dcf96..606b33b 100644 --- a/src/main/resources/wsdl/mms/mms.wsdl +++ b/src/main/resources/wsdl/mms/mms.wsdl @@ -1,16 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> -<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:tns="http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:mms="http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd" - name="mms" - targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl"> - - <xsd:schema targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl"> - <xsd:import namespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd" schemaLocation="mms-1.0.xsd"/> - </xsd:schema> - +<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mms="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/xsd" name="mms" targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/wsdl"> + <types> + <xsd:schema targetNamespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/wsdl"> + <xsd:import namespace="http://reference.e-government.gv.at/namespace/mandates/mms/1.1/xsd" schemaLocation="mms-1.1.xsd"/> + </xsd:schema> + </types> <message name="GetMandatesRequest"> <part name="GetMandatesRequest" element="mms:GetMandatesRequest"/> </message> @@ -38,6 +32,6 @@ <service name="GetMandatesService"> <port name="GetMandatesPort" binding="tns:GetMandatesBinding"> <soap:address location="http://localhost:8000/mms/GetMandates"/> - </port> + </port> </service> </definitions> |