Skip to content

Instantly share code, notes, and snippets.

@fangel
Created May 3, 2009 11:02
Show Gist options
  • Save fangel/105947 to your computer and use it in GitHub Desktop.
Save fangel/105947 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://kvikbase.kvik.com:44343/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="https://kvikbase.kvik.com:44343/">
<types><xsd:schema targetNamespace="https://kvikbase.kvik.com:44343/"
>
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
<xsd:complexType name="Store">
<xsd:all>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="storeName" type="xsd:string"/>
<xsd:element name="storeAddress" type="xsd:string"/>
<xsd:element name="storePhone" type="xsd:string"/>
<xsd:element name="storePhoneText" type="xsd:string"/>
<xsd:element name="storeFax" type="xsd:string"/>
<xsd:element name="storeFaxText" type="xsd:string"/>
<xsd:element name="storeMail" type="xsd:string"/>
<xsd:element name="storeMailText" type="xsd:string"/>
<xsd:element name="openingText" type="xsd:string"/>
<xsd:element name="monday" type="xsd:string"/>
<xsd:element name="tuesday" type="xsd:string"/>
<xsd:element name="wednesday" type="xsd:string"/>
<xsd:element name="thursday" type="xsd:string"/>
<xsd:element name="friday" type="xsd:string"/>
<xsd:element name="saturday" type="xsd:string"/>
<xsd:element name="sunday" type="xsd:string"/>
<xsd:element name="firstsaturday" type="xsd:string"/>
<xsd:element name="mondaytext" type="xsd:string"/>
<xsd:element name="tuesdaytext" type="xsd:string"/>
<xsd:element name="wednesdaytext" type="xsd:string"/>
<xsd:element name="thursdaytext" type="xsd:string"/>
<xsd:element name="fridaytext" type="xsd:string"/>
<xsd:element name="saturdaytext" type="xsd:string"/>
<xsd:element name="sundaytext" type="xsd:string"/>
<xsd:element name="firstsaturdaytext" type="xsd:string"/>
<xsd:element name="specialOpenings" type="xsd:string"/>
<xsd:element name="specialOpeningsText" type="xsd:string"/>
<xsd:element name="message" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="Stores">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Store[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Country">
<xsd:all>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="country" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="Countries">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Country[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Language">
<xsd:all>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="language" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="Languages">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Language[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Employee">
<xsd:all>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="email" type="xsd:string"/>
<xsd:element name="picture" type="xsd:binary"/>
<xsd:element name="pictureheight" type="xsd:int"/>
<xsd:element name="picturewidth" type="xsd:int"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="Employees">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Employee[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</types>
<message name="get_all_countriesRequest"></message>
<message name="get_all_countriesResponse"><part name="return" type="tns:Countries" /></message>
<message name="get_all_languagesRequest"></message>
<message name="get_all_languagesResponse"><part name="return" type="tns:Languages" /></message>
<message name="get_employees_by_storeRequest"><part name="storeid" type="xsd:int" /><part name="languageid" type="xsd:int" /></message>
<message name="get_employees_by_storeResponse"><part name="return" type="tns:Employees" /></message>
<message name="get_store_by_idRequest"><part name="storeid" type="xsd:int" /><part name="languageid" type="xsd:int" /></message>
<message name="get_store_by_idResponse"><part name="return" type="tns:Store" /></message>
<portType name="KvikBase Store InformationPortType">
<operation name="get_all_countries">
<documentation>Returns data of all countries.</documentation>
<input message="tns:get_all_countriesRequest"/>
<output message="tns:get_all_countriesResponse"/>
</operation>
<operation name="get_all_languages">
<documentation>Returns data of all languages.</documentation>
<input message="tns:get_all_languagesRequest"/>
<output message="tns:get_all_languagesResponse"/>
</operation
<operation name="get_employees_by_store">
<documentation>Returns data for employees in the given language of the given store.</documentation>
<input message="tns:get_employees_by_storeRequest"/>
<output message="tns:get_employees_by_storeResponse"/>
</operation>
<operation name="get_store_by_id">
<documentation>Returns data in the given language of the given store.</documentation>
<input message="tns:get_store_by_idRequest"/>
<output message="tns:get_store_by_idResponse"/>
</operation>
</portType>
<binding name="KvikBase Store InformationBinding" type="tns:KvikBase Store InformationPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="get_all_countries">
<soap:operation soapAction="https://kvikbase.kvik.com:44343/#get_all_countries" style="rpc"/>
<input>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="get_all_languages">
<soap:operation soapAction="https://kvikbase.kvik.com:44343/#get_all_languages" style="rpc"/>
<input>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="get_employees_by_store">
<soap:operation soapAction="https://kvikbase.kvik.com:44343/#get_employees_by_store" style="rpc"/>
<input>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="get_store_by_id">
<soap:operation soapAction="https://kvikbase.kvik.com:44343/#get_store_by_id" style="rpc"/>
<input>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="https://kvikbase.kvik.com:44343/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="KvikBase Store Information">
<port name="KvikBase Store InformationPort" binding="tns:KvikBase Store InformationBinding">
<soap:address location="https://kvikbase.kvik.com:443/webservices/KvikStores.php"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment