Build a rest PHP client for a MarketPlace. Orders and Stock synchronisation. Examples for XSD Files are there, Small project. 4-6 hours!
$30-250 USD
Ολοκληρώθηκε
Αναρτήθηκε πάνω από 9 χρόνια πριν
$30-250 USD
Πληρωμή κατά την παράδοση
Hello, we need a PHP Connector for a Marketplace / MeinPaket.
The connector class i need in Yii and must take our stocks from items from a MySql DB to this marketplace -> new orders must send to another MySql DB table.
The MySql site I can do, but I need the construct of the working connector.
Here is under XML a documentation about the controller, please translate by google translate.
[login to view URL]
[login to view URL]
This is a very small project unter one day, I think maximum 4-6 hours, when you know how php is working.
I have from my customer the XSD files. With this files you can build classes!
XSD2PHP [login to view URL]
All what I need is a short script like this here!
class SOAP extends CComponent
{
public function getSoapClient()
{
ini_set('max_execution_time', 3600);
$soapHeader = AppValues::Get("soap_import_header", "UNSET");
$lastToken = AppValues::GetInt("soap_import_last_token", 0);
date_default_timezone_set("CET");
// $soapClient = new SoapClient("http://l", array('trace' => 1));
if($soapHeader == "UNSET" || date("z", $lastToken) != date("z", time())) {
$authentification = $soapClient->GetAuthentificationToken( array('Username' => 'user', 'Userpass' => 'pass'));
if(isset($authentification->Token))
{
$headerbody = new stdClass();
$headerbody->UserID = $authentification->UserID;
$headerbody->Token = $authentification->Token;
$headerbody->Username = "goodsflow";
$serializedHeader = serialize($headerbody);
AppValues::Set("soap_import_header", $serializedHeader);
AppValues::Set("soap_import_last_token", time());
}
}
$soapHeader = AppValues::Get("soap_import_header", "UNSET");
$headerbody = unserialize($soapHeader);
$header = new SOAPHeader('Authentification', 'verifyingToken', $headerbody, false);
$soapClient->__setSoapHeaders($header);
return $soapClient;
}
}
Hello Dear,
many many greeting of the day!
we have gone through your project description and Ready to start right way!
We assure to you that will deliver to you a quality work with satisfaction.
So kindly open the PMB for detail discussion.
With Thanks & Regards,
Raj