Jump to content
xt:Commerce Community Forum

Soap Beispiel Verbindung


Recommended Posts

Hallo,

habe gerade versucht über die Soap Schnittstelle die Bestellungen zu erhalten.

Im Soap Handbuch wird folgender Beispiel Coder verwendet:


$call = array('user'=>'admin','pass'=>'password','filter'=>array('payment=xt_invoice','status=16'));

$endpoint = 'http://www.your-shop.com/index.php?page=xt_soap';

$client = new nusoap_client($endpoint);

$client->call('getOrders',$call);
[/PHP]

Also gut, den Code schnell angepasst:

[PHP]
<?php

ini_set('display_errors', 1);

//require_once '../plugins/xt_soap/classes/???????.class.php';

$call = array('user'=>'###','pass'=>'###','filter'=>array('payment=xt_invoice','status=16'));

$endpoint = 'http://###/index.php?page=xt_soap';

$client = new nusoap_client($endpoint);

$client->call('getOrders',$call);


?>
[/PHP]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...