Einzelnen Beitrag anzeigen

Schokohase
(Gast)

n/a Beiträge
 
#7

AW: Anbindung Magento2

  Alt 22. Okt 2018, 10:09
Also, mit curl kann man sich die Daten holen.
  1. Authorization-Token
    Code:
    curl -X POST "http://localhost/magento2/rest/all/V1/integration/admin/token" -H "accept: application/json" -H "Content-Type: application/json" -d "{  \"username\": \"my_username\", \"password\": \"my_password\"}"
    Als Ergebnis erhält man das Token (als JSON-String). Beispiel:
    Code:
    "yi0cvfpuh5erxunn2ixc6shm5jxj73k7"
  2. WSDL
    Code:
    curl "http://localhost/magento2/soap/default?wsdl&services=storeStoreRepositoryV1" -H "Authorization: Bearer <access-token>"
    Also mit dem obigen Beispiel-Token
    Code:
    curl "http://localhost/magento2/soap/default?wsdl&services=storeStoreRepositoryV1" -H "Authorization: Bearer yi0cvfpuh5erxunn2ixc6shm5jxj73k7"
    sollte dann statt
    XML-Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:m="http%3A%2F%2Flocalhost%2Fmagento2%2Fsoap%2Fdefault%3Fservices%3DstoreStoreRepositoryV1%26wsdl%3D1">
       <env:Body>
          <env:Fault>
             <env:Code>
                <env:Value>env:Sender</env:Value>
             </env:Code>
             <env:Reason>
                <env:Text xml:lang="de">Consumer is not authorized to access %resources</env:Text>
             </env:Reason>
             <env:Detail><m:GenericFault><m:Parameters><m:GenericFaultParameter><m:key>resources</m:key><m:value>storeStoreRepositoryV1</m:value></m:GenericFaultParameter></m:Parameters></m:GenericFault></env:Detail>
          </env:Fault>
       </env:Body>
    </env:Envelope>
    so etwas erscheinen
    XML-Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:tns="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MagentoWSDL" targetNamespace="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
        <types>
            <xsd:schema targetNamespace="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                <xsd:element name="GenericFault" type="tns:GenericFault"/>
                <xsd:complexType name="GenericFaultParameter">
                    <xsd:sequence>
                        <xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ArrayOfGenericFaultParameter">
                    <xsd:annotation>
                        <xsd:documentation>An array of GenericFaultParameter items.</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:GenericFaultParameter">
                            <xsd:annotation>
                                <xsd:documentation>An item of ArrayOfGenericFaultParameter.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="WrappedError">
                    <xsd:sequence>
                        <xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>Message parameters.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:natureOfType>array</inf:natureOfType>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ArrayOfWrappedError">
                    <xsd:annotation>
                        <xsd:documentation>An array of WrappedError items.</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:WrappedError">
                            <xsd:annotation>
                                <xsd:documentation>An item of ArrayOfWrappedError.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="GenericFault">
                    <xsd:sequence>
                        <xsd:element name="Trace" minOccurs="0" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Exception calls stack trace.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="Parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>Additional exception parameters.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:natureOfType>array</inf:natureOfType>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="WrappedErrors" type="tns:ArrayOfWrappedError" minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>Additional wrapped errors.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:natureOfType>array</inf:natureOfType>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="FrameworkDataImageContentInterface">
                    <xsd:annotation>
                        <xsd:documentation>Image Content data interface</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="base64EncodedData" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Media data (base64 encoded content)</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="type" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>MIME type</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Image name</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ArrayOfString">
                    <xsd:annotation>
                        <xsd:documentation>An array of string items.</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>An item of ArrayOfString.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="FrameworkDataVideoContentInterface">
                    <xsd:annotation>
                        <xsd:documentation>Video Content data interface</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="mediaType" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>MIME type</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="videoProvider" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Provider</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="videoUrl" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Video URL</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="videoTitle" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Title</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="videoDescription" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Video Description</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="videoMetadata" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Metadata</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="CatalogDataProductAttributeMediaGalleryEntryExtensionInterface">
                    <xsd:annotation>
                        <xsd:documentation>ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="videoContent" minOccurs="0" maxOccurs="1" type="tns:FrameworkDataVideoContentInterface">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="CatalogDataProductAttributeMediaGalleryEntryInterface">
                    <xsd:annotation>
                        <xsd:documentation></xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="id" minOccurs="0" maxOccurs="1" type="xsd:int">
                            <xsd:annotation>
                                <xsd:documentation>Gallery entry ID</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:min/>
                                    <inf:max/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="mediaType" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Media type</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="label" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Gallery entry alternative text</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="position" minOccurs="1" maxOccurs="1" type="xsd:int">
                            <xsd:annotation>
                                <xsd:documentation>Gallery entry position (sort order)</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:min/>
                                    <inf:max/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="disabled" minOccurs="1" maxOccurs="1" type="xsd:boolean">
                            <xsd:annotation>
                                <xsd:documentation>If gallery entry is hidden from product page</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:default>false</inf:default>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="types" type="tns:ArrayOfString">
                            <xsd:annotation>
                                <xsd:documentation>Gallery entry image types (thumbnail, image, small_image etc)</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:natureOfType>array</inf:natureOfType>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="file" minOccurs="0" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>File path</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="content" minOccurs="0" maxOccurs="1" type="tns:FrameworkDataImageContentInterface">
                            <xsd:annotation>
                                <xsd:documentation>Media gallery content</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CatalogDataProductAttributeMediaGalleryEntryExtensionInterface">
                            <xsd:annotation>
                                <xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:element name="storeStoreRepositoryV1GetListRequest" type="tns:StoreStoreRepositoryV1GetListRequest" nillable="true"/>
                <xsd:complexType name="StoreStoreRepositoryV1GetListRequest">
                    <xsd:annotation>
                        <xsd:documentation>Retrieve list of all stores</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence/>
                </xsd:complexType>
                <xsd:element name="storeStoreRepositoryV1GetListResponse" type="tns:StoreStoreRepositoryV1GetListResponse"/>
                <xsd:complexType name="StoreDataStoreExtensionInterface">
                    <xsd:annotation>
                        <xsd:documentation>ExtensionInterface class for @see \Magento\Store\Api\Data\StoreInterface</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                </xsd:complexType>
                <xsd:complexType name="StoreDataStoreInterface">
                    <xsd:annotation>
                        <xsd:documentation>Store interface</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="id" minOccurs="1" maxOccurs="1" type="xsd:int">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:min/>
                                    <inf:max/>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="code" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>Store name</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:maxLength/>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="websiteId" minOccurs="1" maxOccurs="1" type="xsd:int">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:min/>
                                    <inf:max/>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="storeGroupId" minOccurs="1" maxOccurs="1" type="xsd:int">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:min/>
                                    <inf:max/>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:StoreDataStoreExtensionInterface">
                            <xsd:annotation>
                                <xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Conditionally</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ArrayOfStoreDataStoreInterface">
                    <xsd:annotation>
                        <xsd:documentation>An array of StoreDataStoreInterface items.</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:StoreDataStoreInterface">
                            <xsd:annotation>
                                <xsd:documentation>An item of ArrayOfStoreDataStoreInterface.</xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Conditionally</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="StoreStoreRepositoryV1GetListResponse">
                    <xsd:annotation>
                        <xsd:documentation>Response container for the storeStoreRepositoryV1GetList call.</xsd:documentation>
                        <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
                    </xsd:annotation>
                    <xsd:sequence>
                        <xsd:element name="result" type="tns:ArrayOfStoreDataStoreInterface">
                            <xsd:annotation>
                                <xsd:documentation></xsd:documentation>
                                <xsd:appinfo xmlns:inf="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1">
                                    <inf:natureOfType>array</inf:natureOfType>
                                    <inf:callInfo>
                                        <inf:callName>storeStoreRepositoryV1GetList</inf:callName>
                                        <inf:returned>Always</inf:returned>
                                    </inf:callInfo>
                                </xsd:appinfo>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:schema>
        </types>
        <message name="GenericFault">
            <part name="messageParameters" element="tns:GenericFault"/>
        </message>
        <portType name="storeStoreRepositoryV1PortType">
            <operation name="storeStoreRepositoryV1GetList">
                <input message="tns:storeStoreRepositoryV1GetListRequest"/>
                <output message="tns:storeStoreRepositoryV1GetListResponse"/>
                <fault name="GenericFault" message="tns:GenericFault"/>
            </operation>
        </portType>
        <binding name="storeStoreRepositoryV1Binding" type="tns:storeStoreRepositoryV1PortType">
            <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="storeStoreRepositoryV1GetList">
                <soap12:operation soapAction="storeStoreRepositoryV1GetList"/>
                <input>
                    <soap12:body use="literal"/>
                </input>
                <output>
                    <soap12:body use="literal"/>
                </output>
                <fault name="GenericFault"/>
            </operation>
        </binding>
        <service name="storeStoreRepositoryV1Service">
            <port name="storeStoreRepositoryV1Port" binding="tns:storeStoreRepositoryV1Binding">
                <soap12:address location="http://localhost/magento2/soap/default?services=storeStoreRepositoryV1"/>
            </port>
        </service>
        <message name="storeStoreRepositoryV1GetListRequest">
            <part name="messageParameters" element="tns:storeStoreRepositoryV1GetListRequest"/>
        </message>
        <message name="storeStoreRepositoryV1GetListResponse">
            <part name="messageParameters" element="tns:storeStoreRepositoryV1GetListResponse"/>
        </message>
    </definitions>
  Mit Zitat antworten Zitat