Jump to content
xt:Commerce Community Forum
Sign in to follow this  
Crafter

xt_api soap Verbindung nicht möglich

Recommended Posts

Hallo zusammen,

leider ist es mir nicht möglich einer Verbindung über die Soap Schnittstelle in PHP herzustellen.

...

$API_URL_WSDL = "$SHOP_URL/index.php?page=xt_api&wsdl";

try {
    $soap = new SoapClient($API_URL_WSDL);
}
catch(Exception $e) {
    die($e->getMessage());
}

Dabei kommt immer die Fehlermeldung:

SOAP-ERROR: Parsing WSDL: No element with name 'Commerce APIBinding'

Rufe ich die Url zur WSDL Datei manuell auf finden sich folgende Zeilen (an unterschiedlichen Stellen) mit "Commerce APIBinding":

<binding name="xt:Commerce APIBinding" type="tns:xt:Commerce APIPortType">
...
<service name="xt:Commerce API">
<port name="xt:Commerce APIPort" binding="tns:xt:Commerce APIBinding">
<soap:address location="http://testshop.***.de/de/xt_soap"/>
</port>
</service>

Woran kann das liegen?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...