Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incomplete sympa.wsdl #1549

Merged
merged 1 commit into from
Dec 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions default/sympa.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,31 @@
<element name="isEditor" minOccurs="0" type="boolean"/>
</all>
</complexType>

<complexType name="customType">
<all>
<element name="key" minOccurs="1" type="string"/>
<element name="value" minOccurs="0" type="string"/>
</all>
</complexType>

<complexType name="ArrayOfCustom">
<complexContent>
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:customType[]"/>
</restriction>
</complexContent>
</complexType>

<complexType name="detailsType">
<all>
<element name="gecos" minOccurs="0" type="string"/>
<element name="reception" minOccurs="0" type="string"/>
<element name="subscribeDate" minOccurs="0" type="string"/>
<element name="updateDate" minOccurs="0" type="string"/>
<element name="custom" minOccurs="0" type="ArrayOfCustom"/>
</all>
</complexType>
</schema>
</types>

Expand Down Expand Up @@ -263,6 +288,35 @@
<part name="email" type="xsd:string"/>
</message>

<message name="getDetailsRequest">
<part name="list" type="xsd:string"/>
</message>

<message name="getDetailsResponse">
<part name="return" type="xsd:detailsType"/>
</message>

<message name="setDetailsRequest">
<part name="list" type="xsd:string"/>
<part name="gecos" type="xsd:string"/>
<part name="reception" type="xsd:string" xsd:minOccurs="0"/>
<part name="custom" type="xsd:ArrayOfCustom" xsd:minOccurs="0"/>
</message>

<message name="setDetailsResponse">
<part name="return" type="xsd:boolean"/>
</message>

<message name="setCustom">
<part name="list" type="xsd:string"/>
<part name="key" type="xsd:string"/>
<part name="value" type="xsd:string" xsd:minOccurs="0"/>
</message>

<message name="setCustom">
<part name="return" type="xsd:boolean"/>
</message>

<!-- portType part -->

<portType name="SympaPort">
Expand Down Expand Up @@ -346,6 +400,18 @@
<input message="tns:checkCookieRequest" />
<output message="tns:checkCookieResponse" />
</operation>
<operation name="getDetails">
<input message="tns:getDetailsRequest" />
<output message="tns:getDetailsResponse" />
</operation>
<operation name="setDetails">
<input message="tns:setDetailsRequest" />
<output message="tns:setDetailsResponse" />
</operation>
<operation name="setCustom">
<input message="tns:setCustomRequest" />
<output message="tns:setCustomResponse" />
</operation>
</portType>

<!-- Binding part -->
Expand Down Expand Up @@ -612,6 +678,45 @@
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="getDetails">
<soap:operation soapAction="urn:sympasoap#getDetails"/>
<input>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="setDetails">
<soap:operation soapAction="urn:sympasoap#setDetails"/>
<input>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="setCustom">
<soap:operation soapAction="urn:sympasoap#setCustom"/>
<input>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:sympasoap"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>

<!-- service part -->
Expand Down