c0b41 / gittigidiyor Goto Github PK
View Code? Open in Web Editor NEWGittigidiyor Entegrasyonu
Gittigidiyor Entegrasyonu
$result = $soapClient->__soapCall($method,$soapParams);
satırından sonra Class devam etmiyor. Hata da vermiyor ama daha ileride gitmiyor.
Merhaba, Öncelikle paylaşım için teşekkürler. Baya zaman olmus ama
createApplication ıle yenı bır app yaratmak ıstedıgımızde su hatayı vermekte
An uncaught Exception was encountered
Type: SoapFault
Message: Invalid number of payload elements: 7
Filename: /home/hi2games/domains/****.com/public_html/appYapisi/libraries/Gittigidiyor/Gittigidiyor.php
Line Number: 1273
Gıden parametre
$gg->createApplication('****', 'GG Web Service', 'Deneme Servis', 'I', 'W')
Çıktı
http://dev.gittigidiyor.com:8080/listingapi/ws/ApplicationService?wsdlArray
(
[developerId] => ******
[name] => "GG Web Service'"
[description] => Deneme Servis
[accessType] => I
[appType] => W
[descDetail] =>
[lang] => tr
)
Çözüm..
Geçici olarak şöyle bir çözüm uygulamdım..
clientConnect fonksıyonunda
if (count($xml) > 0) {
foreach ($xml as $xmlRow) {
$value = $parameters[$xmlRow];
$soapParams[$xmlRow] = new SoapVar($value, XSD_ANYXML);
}
}
üstteki satırın altına bunu ekledim.
if ($method == 'createApplication') {
$newParam = $soapParams;
unset($soapParams);
$soapParams['applicationInfo'] = $newParam;
}
Öncelikle kodlar için teşekkürler..
Kod satırım şu şekilde ama başlıktaki hatayı alıyorum.
<?php
include "GittiGidiyor.php";
use SM\GittiGidiyor\GittiGidiyor;
$conf = [];
$conf['apikey'] = 'r34cj86AddHYsAN7ydhvRCJFe8RjsQ5N';
$conf['secret_key'] = '2W7SyfjxFPjCzupA';
$conf['auth_user'] = '****';
$conf['nick'] = '';
$conf['password'] = '';
$conf['auth_password'] = '****';
$conf['lang'] = 'tr';
$gg = new GittiGidiyor($conf);
$gg->registerDeveloper('test', 'test');
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.