AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Anbindung Magento2

Ein Thema von Ovida · begonnen am 16. Okt 2018 · letzter Beitrag vom 22. Okt 2018
Antwort Antwort
Ovida

Registriert seit: 16. Okt 2018
Ort: Niedersachsen
3 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#1

Anbindung Magento2

  Alt 16. Okt 2018, 16:00
Hallo zusammen,

ich habe eine Schnittstelle zu Magento 1.9, die über die SOAP API V2 von Magento kommuniziert.
Schön ist dabei, dass ich alle vorhandenen Variablen aus Magento auch zur Designzeit sichtbar habe, weil ich die WSDL-Datei mit eingebunden habe.
Soweit so gut.

Beispielcode:
Im Moment melde ich mich zum Beispiel so an der API von Magento an, wobei unter Magento 1.9 einfach ein API-Benutzer mit Passwort notwendig ist:

Code:
function magelogin(username, apiKey: string): loginResponseParam;
var
  myLoginParam: LoginParam;
begin
  myLoginParam := loginParam.Create;
  myLoginParam.username := username;
  myLoginParam.apiKey := apiKey;
  result := mage.login(myLoginParam);
  FreeAndNil(myLoginParam);//.Free;
  mysession_id := result.result;
  FreeAndNil(result);//.Free;
end;
Aufruf:

Code:
mage := GetMage_Api_Model_Server_Wsi_HandlerPortType(True, API_Path, API_ServiceName, API_PortName);
magelogin(API_User, API_Key);


Als Rückgabe erhalte ich dann eine Session-ID, die ich dann bei Calls mitgeben kann.

Jetzt muss ich mich mit Magento 2 auseinander setzen.

Hat jemand ein Working Example, wie ich mit Delphi (10.2) eine Verbindung zu Magento 2.2 hinbekomme ? Am Liebsten auch über SOAP und nicht über REST, weil ich sonst alles umprogrammieren muss.
Ich habe die Credentials im Admin von Magento schon eingetragen, habe allerdings überhaupt keinen Schimmer von Oauth etc. und ob ich das überhaupt brauche und stehe hier völlig auf dem Schlauch.

Am Liebsten hätte ich wirklich ein Working example, mit dem ich dann die Logik nachvollziehen kann.
Kann mir wer helfen ? Ich bin auch bereit, Geld dafür auszugeben, damit ich eine Idee bekomme.

Gruß
Holger
  Mit Zitat antworten Zitat
Benutzerbild von MyRealName
MyRealName

Registriert seit: 19. Okt 2003
Ort: Heilbronn
675 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: Anbindung Magento2

  Alt 16. Okt 2018, 18:38
Hast du denn die WSDL URL nicht ? Dakannst die doch auch wieder in Delphi importieren und los geht's
  Mit Zitat antworten Zitat
Ovida

Registriert seit: 16. Okt 2018
Ort: Niedersachsen
3 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#3

AW: Anbindung Magento2

  Alt 17. Okt 2018, 06:27
Zitat:
Hast du denn die WSDL URL nicht ? Dakannst die doch auch wieder in Delphi importieren und los geht's
Leider nein, denn ab Magento2 braucht es Authentifizierung, um die WSDL aufzurufen.
Das war in Version 1 noch anders und genau das ist auch mein Problem.

Was ich bekomme, ist eine Liste der Endpunkte, die ich aufrufen kann. Aber für die tatsächliche Funktion muss ich mich dann authentifizieren.
Aufruf wäre z.B. dann der hier:

http://localhost/magento2/index.php/...lt?wsdl_list=1

Geändert von Ovida (17. Okt 2018 um 07:05 Uhr)
  Mit Zitat antworten Zitat
TiGü

Registriert seit: 6. Apr 2011
Ort: Berlin
3.070 Beiträge
 
Delphi 10.4 Sydney
 
#4

AW: Anbindung Magento2

  Alt 17. Okt 2018, 13:03
Wenn das bei dir auf dem localhost läuft, dann wird sich doch die Datei mit der Endung .wsdl per Explorer im Installationsverzeichnis des Magneto Dingsbums finden lassen.
  Mit Zitat antworten Zitat
Ovida

Registriert seit: 16. Okt 2018
Ort: Niedersachsen
3 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#5

AW: Anbindung Magento2

  Alt 21. Okt 2018, 17:38
Wenn das bei dir auf dem localhost läuft, dann wird sich doch die Datei mit der Endung .wsdl per Explorer im Installationsverzeichnis des Magneto Dingsbums finden lassen.
Nein... so funktioniert das mit WSDL nicht
  Mit Zitat antworten Zitat
TiGü

Registriert seit: 6. Apr 2011
Ort: Berlin
3.070 Beiträge
 
Delphi 10.4 Sydney
 
#6

AW: Anbindung Magento2

  Alt 22. Okt 2018, 09:19
Wenn das bei dir auf dem localhost läuft, dann wird sich doch die Datei mit der Endung .wsdl per Explorer im Installationsverzeichnis des Magneto Dingsbums finden lassen.
Nein... so funktioniert das mit WSDL nicht
Die meisten WebServices, die ich in in der Hand hatte, haben die WSDL-Datei fix & fertig als Datei rumzuliegen für den interessierten Entwickler.
Wenn das bei Magneto 2.2 immer on-the-fly neu generiert und ausgeliefert wird, wegen der Authentifizierung, dann sei es so.

Das hast du schon selber gefunden?
https://magento.stackexchange.com/qu...-xml-structure
  Mit Zitat antworten Zitat
Schokohase
(Gast)

n/a Beiträge
 
#7

AW: Anbindung Magento2

  Alt 22. Okt 2018, 11: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
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:24 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz