Find Jobs
Hire Freelancers

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

Completed
Posted over 9 years ago

$30-250 USD

Paid on delivery
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; } }
Project ID: 6849587

About the project

2 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
A proposal has not yet been provided
$222 USD in 1 day
5.0 (2 reviews)
4.2
4.2
2 freelancers are bidding on average $427 USD for this job
User Avatar
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
$631 USD in 12 days
5.0 (20 reviews)
5.1
5.1

About the client

Flag of GERMANY
Sottrum, Germany
5.0
4
Payment method verified
Member since Nov 18, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.